Sure. Here's an access in free-form: chain(e) Parm1 goofy ; Here's a fixed-form example:C AKey chain(E) DEMOF And here's a FETCH in free-form: exec sql fetch programs into :ProgRec ; Other examples are possible, but you didn't ask a very clear question nor did you explain what problem you are having. Tom
Wow, that came out looking almost undecipherable.
Nevertheless, you didn't explain what problem you are having. This is a site for assistance with problems. It's not a school for teaching programming.
Tom
we want to help but it's a participatory help. You share with us what you can do and we help and guide you ahead.for this question you might research the CHAIN operation.Phil
Check out the on line RPGLE reference manuals at IBM.Look under opcode READ for all the variations.http://publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0925083.pdfChapter 23 is for the op codesTodd
ok let's try it this way Chapter 23http://publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0925083.pdfDon't know why typing after the link is adding to the link itself even after carriage returns
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 8  Replies