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 IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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