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

can we use ASCII ,CDUP,SENDPASV commands in SFTP?

0 Answers  


what are members?

0 Answers   IBM,


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

0 Answers  


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help...

1 Answers  


when are the referential constraints executed?

0 Answers   IBM,






What is the purpose of FRCDTA (Force Data) keyword?

1 Answers  


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

0 Answers  


what is rpg ?

1 Answers   IBM,


How to know message id (errorid) in msgfile when error is occurred on screen ? WRKMSF will display all error id but i want to know error id based on error msg only?

1 Answers   IBM, Ignis Technologies, SSR,


what are necessary keywords to code message subfile?

1 Answers   IBM,


what does opcode post do ?

1 Answers   IBM,


How to see all record formats used in a file?

1 Answers  


Categories