Apart from opening of a file do we have any other use of USROPN?
Answer / Sanjay Singh Negi
USROPN is primarily used in RPG to open files for processing. However, it can also be used with the *ALWMISS option to allow missing files without an error.nnFor example:nn Open MyFile Using MyCursor (n Inz (*Inq) n Ctl-Options(*AlwMiss) n )nnThis will allow your program to continue even if the file does not exist, rather than generating an error.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is a primary file?
what is a keyed physical file?
what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.
How many primary files allowed in a program?
how many files, printer files you can describe in a rpg?
how can you detect overflow for a print program that prints multiple lines per cycle?
How do you check object lock
what is the use of CPYFRMQRYF?
1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file
maximum number of subfiles that can defined in a rpg program for one display file is?
when you are defining a flat file in your program in f specs which format will you specify?
what is the use of sflend keyword?