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

by using POSDBF command

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you debug ile rpg program using isdb?

725


What is the difference between copybooks and subprocedures in as400?

794


How to declare the pull button in AS/400..

1864


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

749


How to write record if no field or the field are different in physical file in rpgle ?

471






what happens when sflsiz = sflpag? What are the advantages and disadvantages?

698


When it is desirable to describe files Internally?

1176


What is a record lock error?

1250


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

498


How to call one program from another program in RPG? please help me with the code

1245


Explain mdt?

651


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1003


which program rpg or cl is efficent to update a transaction onto a database file and why ?

727


is this a rpg channel?

665


How to select highest score of each subject or how to select highest income of every month?

1277