Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hawley26

    string together a list

    Thank you both, mikrom and razalas, for your help. Razalas idea worked perfect!!!!
  2. hawley26

    string together a list

    I am trying to string a list of numbers together. I am able to string them together but would like to see the leading zero dropped. Any suggestions or ideas? Code snippet: 01 PV-PROGRAM-VARIABLES. 05 PV-STR-NBR-FULL PIC 9(04) VALUE ZEROS. 05 PV-MULTI-STR PIC...
  3. hawley26

    removing trailing spaces...

    I am trying to remove a trailing space from a variable. I am using the string...into and am still not getting the correct results. I have tried delimiting by size and still get the same thing. I am sure it is one small thing I am missing but I have been looking at it for so long I don't see...
  4. hawley26

    get rid of leading zeros with concatenation

    Thank you both for you help. I went with k5tm's answer and it worked. I have one more question that is pretty basic. I want to put this into to two variables and was wondering if I could do something like below instead of moving or doing another string..into. STRING PC-L-PAR...
  5. hawley26

    get rid of leading zeros with concatenation

    Tried it that way to and got the same results. 05 HDR06-SALES-01 PIC X(10) VALUE SPACES.
  6. hawley26

    get rid of leading zeros with concatenation

    Is there an easy way to concatenate three strings and ignore leading zeros in the concatenation? For example: 05 PC-L-PAR PIC X(01) VALUE '('. 05 PC-R-PAR PIC X(01) VALUE ')'. 05 PV-STR-CNT PIC S9(10) VALUE ZEROES. 05 HDR06-SALES-01 PIC 9(10) VALUE ZEROS. PV-STR-CNT =...

Part and Inventory Search

Back
Top