How I can reread the physical file in CL program once the
end of file reached in same CL program.

Answer Posted / sri

Hi Jim can we declare two files in a CL program?

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can I touch the array during treatments?

752


what is the use of sflnxtchg?

797


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1559


what is an online rpg?

723


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1457






what is a rpg?

696


What is the difference between copybooks and subprocedures in as400?

801


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

483


What are the types of identifiers?

566


do you use message subfiles? What are the necessary keywords required coding a message subfile?

685


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

489


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

1254


How to handle duplicate error handling in RPG?

1674


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

1959


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

496