Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
Posted: Thu Jul 24, 2014 3:00 am Post subject: Using ICETOOL for a simple sort
The following example works fine using SORT, however, the "problem" is that the exact sort commands can't be generated as-is from our repository (limitations there). Here are the sort commands
Code:
SORT FIELDS=(1,72,A),FORMAT=BI
SUM FIELDS=(111,9,ZD)
OUTREC FIELDS=(1,72,C'2014-08-31',83,56,X'010C',C'2014-08',148,26)
Nothing complicated. Due to the limitations mentioned above, I would like to use ICETOOL instead. I tried various options, finally settling on
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Thu Jul 24, 2014 11:13 am Post subject: Re: Using ICETOOL for a simple sort
misi01 wrote:
The same JCL above run as a sort program (with the commands inline) works fine, but ICETOOL gives a 0C7
Any suggestions ?
An S0C7 abend is usually due to bad data. Are you absolutely sure that you are using the same input and control cards for PGM=SORT and PGM=ICETOOL JCL? Are you using SORTOUT dd as an Intermediate file? DFSORT/ICETOOL uses SORTOUT as a special ddname and should NOT be used. It is a documented restriction. Check the 2nd bullet point in this link.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum