View previous topic :: View next topic
|
Author |
Message |
nobin
New User
Joined: 21 Nov 2007 Posts: 9 Location: India
|
|
|
|
I have an ESDS file having length 100055 bytes. I want to sort the file based on first two fields. First field is of length 6 bytes binary format ascending order, and second field is of 3 bytes binary format and descending order.
When we tried to sort using ICETOOL, we were getting error - INVALID DATA SET ATTRIBUTES SPECIFIED SMS023SI LREC. Please find the sort step that we were using -
Code: |
//BIICE035 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//SMS023SI DD DSN=input file,
// DISP=SHR
//SMS023TO DD DSN=output file,
// DISP=OLD
//TOOLIN DD *
SORT FROM(SMS023SI) TO(SMS023TO) USING(CTL1)
/*
//CTL1CNTL DD *
SORT FIELDS=(1,6,BI,A,7,3,BI,D)
/*
|
Please help me in sorting the input ESDS file of 100055 bytes. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Without divulging any company-confidential information, could you explain the need for a record of that size? |
|
Back to top |
|
|
nobin
New User
Joined: 21 Nov 2007 Posts: 9 Location: India
|
|
|
|
There is one flag in the file which repeats 99999 times. so the totall length of record is 100055 including some other fields. |
|
Back to top |
|
|
|