Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated Jobs - Problem in reading Data

Status
Not open for further replies.

MANOZK

Technical User
Jul 13, 2007
1
US
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).
 
Do the jobs see and process the data correctly?
If not, what does the REXX code look like.
If they do, what are you doing to look at the data?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top