adspace
Apart from opening of a file do we have any other use of USROPN?
Answer Posted / 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 |
Post New Answer View All Answers
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
How to convert a spool file to PDF file in AS400?
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... I m using RPG/ILERPG to download...
how can you specify no duplicate key?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...