I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
Answer Posted / alok.yee001
Yes sarath you are right, but in that case we need two commands ovrdbf and dltovr, and if we are repeating this scenerio two or three time thenut will be complex to handle.
Youranswer is right too.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
can I touch the array during treatments?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
What is a record lock error?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
how do I declare a minor?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
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...........
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
What is difference between bind by copy and bind by reference?
how do I preserve and clean the array?
What is the difference between iter and do?
how can I tell when to replace the array?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
are there any useful c runtime apis that I can call from rpg iv?