I am a new iSeries programmer. Can you give please me the code for loading a single page subfile and how to handle the page up and page down key in that program? I also need the DDS Subfile record format for the display file.
Look in the manuals. The first thing you must learn is how to read and understand the manuals. I still use them regularly after 25 years -- that, plus vast intelligence and the ability to steal good-looking code is the secret of success on the iSeries.
Don't use single-page subfiles anyway unless there is a very good reason. Use self-extending subfiles right from the start and never look back.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Dig Deeper on iSeries ILE programming
Related Q&A from John Blenkinsop
When an error occurs on an IBM command, the diagnostic messages are sent first, then an escape message, which you can monitor. On AS/400 you see the ... Continue Reading
Learn how to 'append data to the file' with the FTP DIR command, and eliminate the hassle of having to end the FTP session and restart to view ... Continue Reading
RPGIV will 'think of' incoming integer fields as binary, and then will redefine them in the program structures as PACKED. So, when you chain a record... Continue Reading