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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


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