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 |
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
Can an indexed file be accessed in arrival sequence in RPG?
what is commitment control?explain about it?
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
How I can reread the physical file in CL program once the end of file reached in same CL program.
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
How do you call procedures in ILE?
How can we call CL program to RPG? How many number of parameter we can pass
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
How do you find whether a job is a batch job or interactive?