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
 

 

Syncsort - Include condition sort abending 0016

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
balajipradeep

New User


Joined: 12 Mar 2009
Posts: 21
Location: chennai

PostPosted: Mon May 24, 2010 7:28 pm    Post subject: Syncsort - Include condition sort abending 0016
Reply with quote

IEC130I SYSOUT DD STATEMENT MISSING
IEF472I UBRTRIL2 STEP03 - COMPLETION CODE - SYSTEM=000 USER=0016 REASON=00000000


Below code i have used
Code:
//STEP03   EXEC PGM=SORT                                     
//SORTIN  DD DSN=USER.CNV1,DISP=SHR
//OUT1     DD DSN=USER.INC,   
//            DISP=(,CATLG,DELETE),                       
//            UNIT=TESTDA,                                   
//            SPACE=(CYL,(500,500),RLSE)
//OUT2     DD DSN=USER.CNV1.OMT,   
//            DISP=(,CATLG,DELETE),                       
//            UNIT=TESTDA,                                   
//            SPACE=(CYL,(500,500),RLSE)
//SYSIN    DD *                                                 
  OPTION COPY                                               
  OUTFIL FNAMES=OUT1,                                           
  INCLUDE=((139,9,CH,EQ,C'N00368967',AND,176,4,CH,EQ,C'PDP '),OR,
     (139,9,CH,EQ,C'N00733613',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00733667',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00738510',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00742070',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00743284',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00745075',AND,176,4,CH,EQ,C'MED '))                                       
  OMIT=((139,9,CH,EQ,C'N00368967',AND,176,4,CH,EQ,C'PDP '),OR,
     (139,9,CH,EQ,C'N00733613',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00733667',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00738510',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00742070',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00743284',AND,176,4,CH,EQ,C'MED '),OR,     
     (139,9,CH,EQ,C'N00745075',AND,176,4,CH,EQ,C'MED '))
/*
// 


Please let me know if any correction.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon May 24, 2010 7:38 pm    Post subject: Reply to: Include condition sort abending 0016
Reply with quote

IEC130I SYSOUT DD STATEMENT MISSING

You need to take care of this error first. Without the SYSOUT DD statement you can't have any diagnostic details.

I also believe that you can't OMIT and INCLUDE in the same step.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon May 24, 2010 7:45 pm    Post subject:
Reply with quote

Sort product, usually require, SYSOUT data-sets to write the system-generated messages.Well knowing this is not really necesary , keeping the error message you got, in mind - why have you not just added the SYSOUT, which is quite evident from the error mesage itself?
Back to top
View user's profile Send private message
balajipradeep

New User


Joined: 12 Mar 2009
Posts: 21
Location: chennai

PostPosted: Mon May 24, 2010 7:46 pm    Post subject:
Reply with quote

yes i included the SYSOUT.

SYNCSORT LICENSED FOR CPU SERIAL NUMBER 6585F, MODEL 2097 705 LICEN
SYSIN :
SORT FIELDS=COPY
WER002A EXCESS CARDS
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE

am getting the error as excess cards.i have used around 1300 condition like above.i tried with 3 or 4 condition the job is running fine.is there any limit for include condition?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon May 24, 2010 8:19 pm    Post subject:
Reply with quote

Suggest you write a note to Alissa, stating about this problem. Also, what version of Sync Sort are you using?
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: Mon May 24, 2010 8:53 pm    Post subject:
Reply with quote

Hello,

To get help, you need to post the complete diagnostic informaton generated by the run.

Quote:
is there any limit for include condition?
Yes.

Syncsort wrote:
EXPLANATION: The static internal storage area is inadequate for the
quantity and/or complexity of the control statements in this application.
Either the minimum storage value set at installation time is too low, or
insufficient storage is available in your region.
ACTION: Ask the systems programmer in charge of SyncSort installation
to increase the minimum storage (MINCORE) value unless the
storage available in the region is less than the minimum storage value.
In that case, increase the storage available in the region or partition so
that it at least equals the minimum storage value.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 500
Location: USA

PostPosted: Thu May 27, 2010 3:22 am    Post subject: Re: Reply to: Include condition sort abending 0016
Reply with quote

superk wrote:
I also believe that you can't OMIT and INCLUDE in the same step.
This is correct. The OMIT statements will need to be added to the INCLUDE portion as NE (not equal to the value) instead of EQ.

balajipradeep wrote:
am getting the error as excess cards.i have used around 1300 condition like above.i tried with 3 or 4 condition the job is running fine.is there any limit for include condition?

There is no numerical limit to the number of comparisons that can be in an INCLUDE or OMIT statement. The limitation is based upon your system resources, specifically MINCORE (a subset of your below the line resources.) You can try passing a higher MINCORE value as a runtime parameter to get around the problem. For example, try adding the following statements to the SORT step in question:
Code:
//$ORTPARM DD *
 MINCORE=512K

You can increase this value as needed in 256K increments up to about 2M. If you are still encountering the WER002A, then I might suggest writing all the INCLUDE values to another file and then coding a JOIN application to acquire the desired output. If you would like further assistance with that, then please contact me offline at alissa.margulies@syncsort.com and I would be happy to help you.

Regards,
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm
No new posts Joinkeys with condition scdinesh DFSORT/ICETOOL 10 Tue Feb 14, 2017 12:20 am


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