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 |
How can i check the object existance in RPG program without using QCMDEXC command.
i'm working on progA , in that program i want to see the userids of the users who work on this program?
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
Anybody can explain the difference between SFLCLR & SFLINZ?
Maximum how many files declare in rpgle
what is file information data structure?
can i use unique key in LF
How to call one program from another program in RPG? please help me with the code
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?