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

purpose of pannel group??/

2 Answers   CTS,


How to print output from openquery in as400 ?

1 Answers   Four soft,


How to search particular records from the database file in rpg?

2 Answers  


What is journalling and commitment control?

3 Answers   IBM,


To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...

5 Answers  


1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF

5 Answers  


How Commitment and Roll back control is used in as400, explain with real time senario ???

2 Answers   Acolite, HSBC,


How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?

4 Answers   IBM,


As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks

5 Answers   CTS,


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

0 Answers   CTS,


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


How can you delete records form a file in rpg without using "Delete" OPCODE?

7 Answers  


Categories