I am reading data from a file PF1 using LF1 sequentially, and writing to other file PF2 using using LF2 using RPG Program R1. When I run it using CALL R1, it's working absolutely fine. But when use SBMJOB to submit it as batch job, it is going to MSGW. the error is: " CPF4326 occurred for the file LF2 while trying to Open ( C D S F) ".
Even I changed the commitment control using STRCMTCTL *CHG, still same error.
Again I tried with a CL program C1, which have a call statement CALL R1, and this time i submitted CL program C1. Still I'm getting the same error.
Please suggest me fix this error.
AS400, RPG 400,CLP/CLLE.
September 7, 2013 3:33 AM
September 19, 2013 3:48 PM