Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us