When normal handling of opening and closing is done in RPG...why do you need USROPN, OPEN & CLOSE commands?
As per my understanding, Say you have the below scenario:
You have file A and member A - After processing file A you wanted to process File B and its Member B. In this case you use extfile and extmbr declared in your RPG and you have to manually control the file open and close operations using USROPN.
Please correct me if this is wrong and can you please help me knowing more about the usage of USROPN in specific when we have the RPG handling the file open and close operations.
Also, another question which I would like to ask is about the usage of USROPN in Display file. Can you please state an example?
February 6, 2013 8:03 AM
February 7, 2013 2:52 AM