I have opening this query again coz..i need to split the i/p file into 3 o/p files instead of 2 so in step1, the condition will be DIV, +3,but how the count will be taken in step 2 for INCLUDE condition ...can u please explain me, its urgent..
//STEP001 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//T1 DD DSN=&&T1,DISP=(,PASS)
//SORTIN DD DSN=OSB.&ENV..ECOMERCE.SNGLFEED.TO.EDI(0),
//SYSIN DD *
I have modified the cards as below. Here you'll have 2 counts-CNT1(one-third of total count) and CNT2(two-third of total count) getting written in first step and which is subsequently used in the succeeding step.
There you're. Your initial requirement told- split the files only when the input record count is > 300,000 and you've got only 188,451 records in input which means "Dont Split". It is working exactly the same way in which you intended to.
Exactly arun.. I dint even look that figure in the sort card... Its perfectly correct thanks arun.