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

how to define to define a hidden filed in dspf ?

783


can a join logical file be updated?

594


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

948


how to write *pssr ?

640


which single rpg opcode performs both setll and reade?

1105






what are the basic features of seu?

617


Can level check error occur if we do chgpf?

778


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

616


what does vldcmdkey means?

819


what is the function of cpyf command?

1011


what is the use of dspatr(mdt) keyword?

1455


Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

1934


how do handle file exception/error?

654


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

2908


records can be read/update/deleted with which file?

639