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 |
wat is curser?? and its types???
what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
purpose of pannel group??/
What is file identifier where we can use?
How can we make use of SETLL operation in CL?
What is the purpose of Panel Groups?
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
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?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?