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 Mike Lewis 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. miskox

    unsintring in a loop?

    I checked all the versions you provided. I will use the first solution (PHV's solution). I see I was not far from the solution myself. Mistake I made was adding 1 to the UNSTRING POINTER. I didn't know that it gets updated automaticaly. If I remove move 2 to ws-pointer from my code it...
  2. miskox

    unsintring in a loop?

    First, thank you all. I will check all these possibilites tomorrow (because of a time difference). I will post my results tomorrow. Again, thank you all. Saso
  3. miskox

    unsintring in a loop?

    Thanks for your answer. Well, I tried UNSTRING with a POINTER. But this does not do what I want to do. I want to UNSTRING variable number of tokens from a string. $set ans85 identification division. program-id. abcd. working-storage section. 01 strtmp pic...
  4. miskox

    unsintring in a loop?

    Hi all, how can I perform an UNSTRING in a loop? For example: I have a varible WS-MY-STRING PIC X(100) value "AB/C/D/EFGH/I"- WS-TMP is my destination variable (PIC X(100)). I would like to have a loop to extract a different part of the string: 1. first time I would get "AB" into a WS-TMP...

Part and Inventory Search

Back
Top