IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sort Error: ICE003A J CONTINUATION LINE MISSING


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Fri Nov 24, 2006 10:48 am
Reply with quote

when i am tryin to sort a file the job abends giving this reason.
SORT FIELDS=1,28,CH,A,1717,8,CH,A,29,10,CH,A,1996,12,CH,A,1841,10,CH,A)
ICE003A J CONTINUATION LINE MISSING
ICE052I J END OF DFSORT


But the same job runs when I remove the last sorting criteria and runs like
SORT
FIELDS=(1,28,CH,A,1717,8,CH,A,29,10,CH,A,1996,12,CH,A)

the input and output files are of length 2800.


pls help.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri Nov 24, 2006 11:07 am
Reply with quote

hi,

Try this sort card:

SORT FIELDS=(1,28,A,1717,8,A,29,10,A,1996,12,A,1841,10,A),FORMAT=CH

Hope this will work.
I remember there is a constraint with the lenght of the SORT FIELDS.

~Vamsi
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Fri Nov 24, 2006 11:21 am
Reply with quote

Vamsi,
Thanks for that.
But what difference it really makes.
I think in the sort fields we can give a maximum upto 64 sort fields based on which we can sort.
So what really is the constraint on giving more conditions.

Thanks,
Nithin.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Nov 24, 2006 1:43 pm
Reply with quote

Nithin,
Quote:
So what really is the constraint on giving more conditions.
Your problem is not giving with more constraints on SORT Card.

Your SORT Card is probably too long for a line... Try separating in a new line...
Code:
SORT FIELDS=(1,28,CH,A,1717,8,CH,A,
               29,10,CH,A,1996,12,CH,A,1841,10,CH,A)
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Nov 24, 2006 9:19 pm
Reply with quote

pjnithi,

Priyesh has it right. You need to comply with DFSORT's syntax rules. It's hard to tell which columns your SORT statement are in, but it appears that you ran over column 71 which is the last column you can use.

You should have looked up message ICE003A - the doc tells you what's wrong:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CM20/2.2.4?SHELF=&DT=20060721170811&CASE=

Priyesh has shown you one way to continue the statement correctly - by stopping at a comma before column 72 and continuing on the next line.

The other way would be to go up to column 71, put a non-blank in 72 to show continuation and continue on the next line.

See the following for complete details on DFSORT's continuation rules.

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/3.3.1?DT=20060615185603
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top