ohh i may have figured it out tell me if im wrong on this one would i used the relative record number in the chain?
READC RECRD
DOW NOT %EOF
CHAIN RRN Custfile (example)
IF %FOUND(Custfile)
EXFMT FMTwith-more-details
Ok im making a interactive program where you enter in a last name then next page has a subfile list of people that will be from that name down in ABC order. Anyways thats not important but on that subfile SFL area i have to have a option field that will be by all 10 of the names (Being the page...
I was wondering if there is a GOTO command in RPG or somthing at least like it. IM looking for a way to jump from one place to another in the code.I know of Leave and ITER but they dont help me in this case and are totally different From what i want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.