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

I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?

2 Answers  


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)

2 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,






What are different ways to pass data between programs and which one is the efficient way?

5 Answers  


suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?

1 Answers  


I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  


what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?

3 Answers  


What is the Record Address file. How can we use it in RPG program?

4 Answers  


what is program status data structure?

1 Answers   IBM,


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


Categories