i have a CL program C1 which internally have a CALL to an RPG program R1 which reads a file F1 and writes to file F2. My CL program C1 also using SBMJOB command to CALL another CL program C2 which was designed such a way that it will submit 5 jobs(with all the neccesary information given). C2 also have a call to RPG program R1. I have created the necessary objects in My Qtemp as well as My Test environment Library T1 and my library list contains Qtemp in the top most position of the list. When i submit C1 using SUBMIT JOB command like this...
JOB NAME : C1
JOB DESC: ***
then after execution of the JOB it is writing data only into the file F2 in T1 library but not to the file in QTemp.
Can any one explain me why it does so?.. Thanks!