My requirement is i have a CL program which is calling RPG Program R1, which writes data to an Output file PF1. Now i need to Change the RPG program R1 in such way that it should write data to PF0 instead of PF1, and i need to create another RPG program R2 which reads data from PF0 and writes to PF1. Now my CL program need to call both R1 and R2 so that data get papulated to PF1 through PF0. I did every thing so that the data is getting papulated to PF0 and PF1 when i use different CL programs for each of RPG programs. But when ever i use same CL and CALL R1 then CALL R2, the data is papulating till PF0 but not PF1. How to proceed in this case?
The error i am getting is CPF4326 for L1( L1 is logical file of PF1).
Error message: error message CPF4326 appeared during OPEN for the file L1.
Please help me fix the issue .. Thanks!
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!