when do you explicitly open files and close files in an rpg program?



when do you explicitly open files and close files in an rpg program?..

Answer / salil kumar

If you specify the letter ' U ' at column 73-74, you need to be open and close files explicitly in a RPG program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

how can database records be read without lock ?

1 Answers   IBM,


what is sflpag and sflsiz ?

2 Answers   IBM,


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

0 Answers  


Difference Between Call & Sbmjob?

0 Answers   IBM,


What is the purpose of Level Check parameter in a Physical file?

1 Answers  






Dear All, I have one confusion related to my platform. I am working with Wipro from last two year however still I am looking for AS400 platform kindly show me the way out of it. And please share with me the hardware knowledge that how I grow myself in hardware (AS/400) also.

1 Answers   Wipro,


What are the different types of keywords in display files?

1 Answers  


what keyword must be used with protect keyword ?

1 Answers   IBM,


Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?

3 Answers   IBM,


we have 2 PF files with same name, how to copy data's from one file to another through RPG program logic?

3 Answers  


how can I control from my cgis the cache of a remote browser?

0 Answers   IBM,


1.what is mean by compilation and runtime error? 2.How to define ALFA numeric value in pf? 3.what command is used to define a data in cl pgm? 4.What type of command is used in page at a time subfile and load all subfile?

2 Answers  


Categories