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
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.