Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to change the job name displayed in the spool.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
hnharish

New User


Joined: 30 Aug 2005
Posts: 22

PostPosted: Tue Mar 23, 2010 11:38 am    Post subject: How to change the job name displayed in the spool.
Reply with quote

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
/*
//*
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Mar 23, 2010 7:27 pm    Post subject:
Reply with quote

Hello,

Each time this is run, you need to run it under the jobname that is needed in the spool. You cannot changed the name after the job has been run.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm
No new posts Report output in Spool amitc23 JCL & VSAM 4 Tue Apr 26, 2016 4:32 pm
No new posts Change Data Capture Ron Klop DFSORT/ICETOOL 14 Fri Apr 15, 2016 2:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us