Suppose in CL we reach at end of file and again we have to reach from 1 record
Answers were Sorted based on User's Feedback
Answer / surya
We can use POSDBF command in CL program
This command sets the record position of the database file that is opened with OPNID(XXX) to the starting position of the database file member that is currently open.
POSDBF OPNID(XXX) POSITION(*START)
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ravi kumar
Hi Frnds,
I have tried with POSDBF but i can not reach. please post 1 example if possible
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nitin
We can use OVRDBF and position file to *START
i.e. OVRDBF FILE(EMPLOYEE) POSITION(*START)
Is This Answer Correct ? | 0 Yes | 1 No |
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
how do u find whether a record is locked or not??/
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
what was the robotech rpg?
what is post opcode do
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2
can anybody help me that what is the procedure of debugging the service program?
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
IN RLU what are the record level keyword is used?