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

Hi All, Can any one give me a suggestion for below prob One job is in MSGW due to decimal dara error and I find out stmt error and Value in DMUP. but my file has millions of records.So how can i find out on which record the error was occured....?

3 Answers  


different type of cursor?

0 Answers   IBM,


why we use binding directory and service pgm

4 Answers   TCS,


how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


what is the maximum number of parameters allowed in rpg?

1 Answers   IBM,






Diff B/w ref and reffld?

1 Answers  


how to change job priority when it is running in sub system ?

11 Answers   IBM,


If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...

0 Answers  


what are members?

0 Answers   IBM,


What Is Ddm ?

1 Answers  


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

0 Answers   IBM,


What is left outer join?

2 Answers  


Categories