Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sort Error: ICE003A J CONTINUATION LINE MISSING

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Sort Error: ICE003A J CONTINUATION LINE MISSING
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    Post subject: Re: Sort Error: ICE003A J CONTINUATION LINE MISSING
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    Post subject: Re: Sort Error: ICE003A J CONTINUATION LINE MISSING
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: 1452
Location: Chicago, IL

PostPosted: Fri Nov 24, 2006 1:43 pm    Post subject: Re: Sort Error: ICE003A J CONTINUATION LINE MISSING
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 Moderator


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

PostPosted: Fri Nov 24, 2006 9:19 pm    Post subject:
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:

http://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.

http://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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us