hnharish
New User
Joined: 30 Aug 2005 Posts: 23
|
|
|
|
Hi All,
I have requirement in which i will be recieving a print file from our upstream and we are processing the print file and sending it to JES spool for printing.Currently i am using a fixed jobname to process all the print files.,but now the printer operator is requesting us to display the print job name onto the spool.The print job name will be present in the input print file that we can extract through cobol program.The problem here is how to change the jobname or display the print job name in the spool.
We have coded the below step to send the processed print file to the JES spool.
//PS008 EXEC PGM=SORT
//SORTIN DD DISP=SHR,DSN=&HLQ..&JOBNAME..AFP.PRINT.FILE(&GDG1)
//SORTOUT DD SYSOUT=(,),OUTPUT=(*.U52),RECFM=VBA
//SYSOUT DD SYSOUT=(,)
//SYSPRINT DD SYSOUT=(,)
//SYSIN DD *
SORT FIELDS=COPY
/*
//* |
|