Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record

$
0
0
Author: Arun Raj
Posted: Wed Nov 09, 2016 11:07 pm (GMT 5.5)

Code:
OUTFIL FNAMES=01
'FNAMES' goes with ddnames used in the JCL whereas OUTFIL 'FILES' go with JCL dd suffixes such as '01' or '02' or '03'. And your ddnames in the JCL should be consistent with these.

So if you have output ddnames in the JCL as
Code:
//SORTOF01 DD DSN=...,
//SORTOF02 DD DSN=...,
//SORTOF03 DD DSN=...,
either use
Code:
OUTFIL FILES=01,...
OUTFIL FILES=02,...
OUTFIL FILES=03,...
OR
Code:

OUTFIL FNAMES=SORTOF01,...
OUTFIL FNAMES=SORTOF02,...
OUTFIL FNAMES=SORTOF03,....
I would not recommend the latter if you have SORTOFnn DDs because that is the whole purpose of having "FILES=nn"

While we wait for the complete SYSOUT messages, it might be worth verifying this in your JCL and control statements.

Also your control statements look for XXX,YYY OR ZZZ at position-25 to route to each output file, but in the sample input shown there is only ZZZ.
Can you also include a sample input representative enough to have data written into all the output files?
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard


Viewing all articles
Browse latest Browse all 8500

Trending Articles