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
 

 

Job abending with sort control statement error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Ansr

New User


Joined: 13 Jul 2007
Posts: 4
Location: USA

PostPosted: Sun Nov 09, 2008 12:45 am    Post subject: Job abending with sort control statement error
Reply with quote

My job is abending with following error:

Code:

                  SORT FIELDS=COPY                           
                         $                                     
ICE005A 0  STATEMENT DEFINER ERROR                   
                 OUTFIL FILES=05,INCLUDE=(18,2,CH,EQ,C'11')
                         $                                   
ICE005A 0  STATEMENT DEFINER ERROR                   
ICE010A 0  NO SORT OR MERGE CONTROL STATEMENT         
ICE751I   0 C5-K26318 C6-K90007 E7-K24705             
ICE052I   3 END OF DFSORT         


The Sort statements I used is given below:

Code:

//SORTOF05 DD  DSN=TT.TMS.INS.FILE(+1),                 
//             DISP=(NEW,CATLG,DELETE),                     
//             DCB=(MODEL.DSCB,BLKSIZE=0,LRECL=300,RECFM=FB),
//             UNIT=SYSDA,SPACE=(CYL,(25,5),RLSE)           
//*                                                         
//SYSIN    DD  *
SORT FIELDS=COPY                               
OUTFIL FILES=05,INCLUDE=(18,2,CH,EQ,C'11')     
//SORTWK05 DD  UNIT=SYSDA,SPACE=(CYL,(100,50),RLSE)
//SYSOUT   DD  SYSOUT=*   
//SYSPRINT DD  SYSOUT=*   
//SYSUDUMP DD  SYSOUT=*   
//*   


Anyone please help me in finding the crrect issue..
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2181
Location: @my desk

PostPosted: Sun Nov 09, 2008 12:50 am    Post subject:
Reply with quote

Ansr,

I think starting your SYSIN control statements at pos-2 or greater should solve your problem.
Back to top
View user's profile Send private message
Ansr

New User


Joined: 13 Jul 2007
Posts: 4
Location: USA

PostPosted: Sun Nov 09, 2008 12:57 am    Post subject:
Reply with quote

Arun,

I used the parm library for the control statements.

Code:
     
//SYSIN    DD  DSN=XP1.APL.PARMLIB(X1XAPCG1),
//             DISP=SHR                     
----+----1----+----2----+----3----+----4----+--
SORT FIELDS=COPY                               
OUTFIL FILES=05,INCLUDE=(18,2,CH,EQ,C'55') 


This is the exact statement. Sorry I am using another system for work and so could not provide exact statements.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2181
Location: @my desk

PostPosted: Sun Nov 09, 2008 1:10 am    Post subject:
Reply with quote

Ansr,

Leave col-1 as blank and start your control statements from col-2.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Nov 09, 2008 1:45 am    Post subject:
Reply with quote

Hello,

Quote:
I used the parm library for the control statements.
The parm library will have to be changed. If you have permission, you can edit the member and make the change Arun mentioned.

If you do not, someone who has permission will need to edit the library.

If you need to run this now and cannot get the library changed now, override the sysin to use instream control statements rather than the library.
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