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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!