What is the purpose of USROPN keyword?

Answer Posted / shobhit

The USROPN keyword causes the file not to be opened at
program initialization. This gives the programmer control
of the file's first open. The file must be explicitly
opened using the OPEN operation.

For example, if a file is opened and later closed by the
CLOSE operation, the programmer can reopen the file (using
the OPEN operation) without having specified the USROPN
keyword on the file description specification.

Is This Answer Correct ?    22 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1778


what is a primary file?

1039


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

2144


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1109


How can we change the uppercase to Lowercase in RPG?

926






what is message subfile?

1047


what are dds required for subfile?

578


give three main purposes of file specification ?

982


How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?

701


can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

2232


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

578


how to validate input values in display file ?

664


what is the use of dspatr(mdt) keyword?

1441


how does the runqry show the output?

877


what is procedure prototype and procedure interface.

618