TSO - Insert blank page

38 Views Asked by At

Is there a way in TSO SORT to add a blank page after a certain string in the file ? Any help much appreciated. I need this extra page so that the output splits properly when being printed.

1

There are 1 best solutions below

0
On

The SORT is being used in some JCL as below :-

//WSMFDST5 EXEC PGM=SORT,COND=(4,LT)
//SYSOUT   DD   SYSOUT=*
//SYSIN    DD   DSN=JLP.TEST.PARMLIB(WSMFD32C),DISP=SHR
//SORTIN   DD   DSN=WSM.TEMP.WSMPRM,DISP=(OLD)
//SORTOUT  DD   DSN=WSM.TEST.WSMPRM.WSMFF.GDG.NEW(0),DISP=(OLD,KEEP) 

So, I was hoping to code something in JLP.TEST.PARMLIB(WSMFD32C)that adds a blank page when a certain string is found.

Many thanks