Hi friends,
I am using a load all subfile , and currently i am in in
the third page of the subfile , from third page i have
selected a record and called some other program .on
returning, subfile is being loaded from the frist page. so
can any one kindly suggest me in retaining my third page
after returning. i.e loading from third page.

Answer Posted / guru

Hi Friend,

Use SFLRCDNBR to achieve this in load all subfile or if you
are using load on demand (SIZE > PAGE) then clear the page
every time and load the specific page you want.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1310


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1968


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

755


what is the procedure and explain about real time scenario.

1479


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1561






How can we know running job is batch or interactive?

656


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

1761


How many program bind in one module....

2121


can I touch the array during treatments?

756


how can you display specific subfile page on the screen in unequal subfile?

675


How can we override a file during runtime in rpg?

688


how do I declare a minor?

716


what is a rpg?

701


what are the key words you must use when using a subfile?

692


How to write record if no field or the field are different in physical file in rpgle ?

490