What is the purpose of USROPN keyword?



What is the purpose of USROPN keyword?..

Answer / 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

More IBM AS400 AllOther Interview Questions

Q.Hi All friends, I have one Question, I have three fields in display file SUP LOT, ISSUED to Prod and Line Grp. Field SUP LOT is mentioned in one field reference file WRSLT and key field as a key field LP.Fields ISSUED to PROD,Line GRP are mentioned in the another Field reference file WMDTF. So I want to read SUP LOT on the basis of key field LP from the first file WFSLTand then i want ot read another two fields ISSUED to DATE and LINE GRP from second file on the basis of SUP LOT, which i got from first file.Now i want to display these fields in the display file DSPWMMS. but Condition is that 'Supplier Lot,ISSUED to Prod and Line Grp will not be shown if their respective fields are blanks/Zero. Please Let me Know coding part of this senerio and what would be coding for display file to now shown fields if fields are blanks/zero. My mob. no. is 9836300345. Please reply me asap.

1 Answers   IBM,


What are the different types of specification available in RPG/400 ?

1 Answers  


how to define global parameter in ile ?

0 Answers   IBM,


which are the relational operators in rpg?

0 Answers   IBM,


Define what the operation will do, the purpose of the result field and the purpose of *IN66? HI LO EQ C CALL 'CVTDAT' DTPRM 66

1 Answers  






what is a spool file?

0 Answers   IBM,


what does check opcode do ?

1 Answers   IBM,


what is clile code get last digit in numarice value

2 Answers   CFC,


load all subfile logic in sqlrpgle and when updating particular record it must be lock form other jobs (not a file)?

1 Answers   Wipro,


Please give me the code for A=A+1 in cl program?

2 Answers  


writing an sql statement from selecting records from two files using single statement and nested select statement.

0 Answers   IBM,


268 How many parameters can be defined in a RPG program. ?

1 Answers  


Categories