How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

Answers were Sorted based on User's Feedback



How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DS..

Answer / ajit

Hi,
I think slfsiz = sflpag in SINGLE Page, so please explore your answer...............

Is This Answer Correct ?    9 Yes 2 No

How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DS..

Answer / danny

Use PAGEUP/PAGEDOWN instead of ROLLDOWN/ROLLUP.

Is This Answer Correct ?    4 Yes 1 No

How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DS..

Answer / krisalli

making SFLSIZ at-least 1 greater than the SFLPAG.

Is This Answer Correct ?    3 Yes 15 No

Post New Answer

More RPG400 Interview Questions

1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?

3 Answers  


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 Answers  


How can we make use of SETLL operation in CL?

11 Answers  


How we will read call stack?

4 Answers  






I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


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

0 Answers   IBM,


parameters cannot be passed in which one???

4 Answers   CTS,


What is the purpose of PUTOVR keyword?

2 Answers  


what is difference between DSPFD and DSPFFD?please give me real senario with good example?

1 Answers  


Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?

1 Answers  


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

0 Answers  


Categories