When will you use OPEN and CLOSE opcodes in RPG program?



When will you use OPEN and CLOSE opcodes in RPG program?..

Answer / siddharth kumar

If you specify the letter "U" at columns 73 - 74 in a file description specification indicating that user control on a file. Hence we have to explicitly open and close the file in a program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is sflpag and sflsiz ?

3 Answers   IBM,


Define an Interactive Job?

1 Answers  


Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.

2 Answers  


can I copy content of Physican file in some source Member of type TXT? Thanx..

1 Answers  


What is an authorization list?

1 Answers  


What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1

1 Answers  


what are the necessary keywords for the join logical file?

2 Answers   IBM,


Difference between NOPASS & OMIT?

1 Answers  


What is a library list ?

1 Answers  


What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99

1 Answers  


what is a primary file?

2 Answers   IBM,


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

1 Answers  


Categories