View previous topic :: View next topic
|
Author |
Message |
varalakshmi.G
New User
Joined: 04 Jun 2007 Posts: 55 Location: Hyderabad
|
|
|
|
Hi All,
I need to create one o/p file from i/p file based on some conditions.
I have 1500 conditions.
So that I divided these into 4 control cards and gave these 4 in JOB like
//SYSIN DD DSN=TEST.EMP.CTLCRDS(EMPCARD1),DISP=SHR
// DD DSN=TEST.EMP.CTLCRDS(EMPCARD2),DISP=SHR
// DD DSN=TEST.EMP.CTLCRDS(EMPCARD3),DISP=SHR
// DD DSNTEST.EMP.CTLCRDS(EMPCARD4),DISP=SHR
First I gave INCLUDE and END in every Control card at that time it is taking the first control card only.Then I removed INCLUDE from the last 3 control cards and END from first 3 control cards then it is giving WER002A EXCESS CARDS
Lakshmi |
|
Back to top |
|
|
mkk157
Active User
Joined: 17 May 2006 Posts: 310
|
|
|
|
Hi,
Quote: |
I have 1500 conditions |
Wonder ?
Can you describe those 1500 conditions so that one may suggest you an alternative instead of using 1500 conditions.
First of all have you tried giving all the INCLUDE's in one control-card ? |
|
Back to top |
|
|
varalakshmi.G
New User
Joined: 04 Jun 2007 Posts: 55 Location: Hyderabad
|
|
|
|
Hi
I am tried by giving all the conditions in one control card then only it is giving excess cards.
Regards,
Lakshmi |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
Lakshmi,
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. (Mincore is a subset of your below the line resources.)
For a JCL invoked sort, you can pass PARM='MINCORE=nK' on the EXEC statement, where n is the value you would like to specify for MINCORE in Kilobytes. If this is a program invoked (internal sort), then you can pass the MINCORE PARM via the $ORTPARM DD.
Try passing MINCORE=512K and then increase in 256K increments if necessary. If you are still encountering a problem after 2048K, please let me know and I would be happy to assist you further.
For example,
Code: |
//STEP1 EXEC PGM=SORT,PARM='MINCORE=512K' |
or
Code: |
//$ORTPARM DD *
MINCORE=512K |
|
|
Back to top |
|
|
varalakshmi.G
New User
Joined: 04 Jun 2007 Posts: 55 Location: Hyderabad
|
|
|
|
Hi Alissa,
Thank you for your help.Now it is working after giving the PARM='MINCORE=512K'
Thank you all.
Regards,
Lakshmi.G |
|
Back to top |
|
|
|