Dear Members,
We have piece of REXX code which submits jobs sequentially.
During this process we read one Input file for Data and genearte SQLs based on that.
X - Input Dataset ( m,n,o,p data members)
A - Output-1 Dataset with SQLs ( M,N,O,P Insert SQLs)
B - Output-2 Dataset with SQLs ( M,N,O,P Insert SQLs)
One Job is submitted for every output ( A or B )member.
So in total we can submit A(m,n,o,p) - 4 jobs similary for B.
Now The Problem:
During the sequence when jobs are submitted, i could not see the Data in A(M),A(N)...etc.I Could see the data in only Last Member that is B(P).
All Jobs are returning with RC=0
But when i submit the same Jobs from SPOOL i could see the data in all Data members viz A(M),A(N)....B(O),B(P).
We have piece of REXX code which submits jobs sequentially.
During this process we read one Input file for Data and genearte SQLs based on that.
X - Input Dataset ( m,n,o,p data members)
A - Output-1 Dataset with SQLs ( M,N,O,P Insert SQLs)
B - Output-2 Dataset with SQLs ( M,N,O,P Insert SQLs)
One Job is submitted for every output ( A or B )member.
So in total we can submit A(m,n,o,p) - 4 jobs similary for B.
Now The Problem:
During the sequence when jobs are submitted, i could not see the Data in A(M),A(N)...etc.I Could see the data in only Last Member that is B(P).
All Jobs are returning with RC=0
But when i submit the same Jobs from SPOOL i could see the data in all Data members viz A(M),A(N)....B(O),B(P).