Page 1 of 1

ICEMAN DFSort - splitting input file into 3 files

PostPosted: Fri Jan 16, 2009 10:48 pm
by athul009
hi all,

I am having following issue while I am trying to Split a Single record input file into 3 different files using ICEMAN ( uses DFSORT internally) utility.

1) This is my ICEMAN Sort JCL to Split an input file ( having single record) into 3 files:
sort1.JPG


2) This is the Left portion of my input file :
sort2.JPG


3) This is the Error in spool SYSOUT :
sort3.JPG


Please tell me how can I correct the syntax errors? If I can not split my file into 3 files this way, I might have to use 3 different steps to derive 3 different files from the same single record file.

Thanks!

Re: ICEMAN DFSort - splitting input file into 3 files

PostPosted: Sat Jan 17, 2009 12:06 am
by Frank Yaeger
Your 'OUTFIL' lines start in column 1. They must start in column 2 or later, e.g. replace b with a blank:

bOUTFIL FNAMES=...

PLEASE DO NOT POST SCREENSHOTS. They're difficult to read and copy and paste. Put your text inline in the future.

Re: ICEMAN DFSort - splitting input file into 3 files

PostPosted: Sat Jan 17, 2009 12:10 am
by William Thompson
z/OS V1R8.0 DFSORT Application Programming Guide
wrote:
Operation Field
This field can appear anywhere between column 2 and column 71 of the first line. It contains a word (for example, SORT or MERGE) that identifies the statement type to the program.
See General Coding Rules....

Re: ICEMAN DFSort - splitting input file into 3 files

PostPosted: Tue Jan 20, 2009 5:14 am
by athul009
Frank Yaeger wrote:Your 'OUTFIL' lines start in column 1. They must start in column 2 or later, e.g. replace b with a blank:

bOUTFIL FNAMES=...


Based on your reply I corrected the positioning in my Cardlib, and it worked all Good.
Thanks a lot for the help again!!