Problem solve Get help with specific problems with your technologies, process and projects.

Working with COBOL Subfile RRN

I am developing a program to load the subfile. I'm loading a single page at a time with SFLSIZ greater than SFLPAG using COBOL. I have assigned the Page Down key and RRN as a hidden field in the subfile control record format as hidden fields with (2,0). When I use that field in the program, it is not getting compiled and gives me an error. Do you know what is going on?
I would assume that you have RRN defined in another record format such as the subfile control record. If you define your hidden field as a (4,0) and a different name, such as S1RRN, you can keep track of it and move it back into the field named RRN. That should resolve the error.


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

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.