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

Answer Posted / shobhit

Have you tried this option..
This option will not work as once the end of file reached
in CL program can not be reseted at beginning.

The Only way is come out of the cl program and call it
again.

Is This Answer Correct ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can I tell when to replace the array?

783


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1981


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

798


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

1640


what is the necessary keyword needed to scroll subfile records?

784






What is the difference between iter and do?

795


how does the rpg element work?

815


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

1390


what is a rpg?

785


What is file identifier where we can use?

729


what do you mean by an input subfile, what are the keywords required?

894


What is difference between bind by copy and bind by reference?

1915


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2290


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5659


how do I declare a minor?

797