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 get the spool details of the current job into a ps

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
anuradha pothabathula

New User


Joined: 13 Nov 2008
Posts: 2
Location: chennai

PostPosted: Mon Dec 08, 2008 4:00 pm    Post subject: how to get the spool details of the current job into a ps
Reply with quote

hi
I have to get the spool details into a PS file. By using the following code iam able to get the spool data into ps file only some times. Some times spool data is copied into the PS file . Some times its not copying.I dont know what is problem in this JCL. Can anyone please look in to the JCL and suggest me what to do for this.

My JCL is

attachment removed
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Dec 08, 2008 5:13 pm    Post subject:
Reply with quote

DO NOT post attachments as not everyone is permitted to open / download them.

This reduces the possible help you may receive.
Back to top
View user's profile Send private message
anuradha pothabathula

New User


Joined: 13 Nov 2008
Posts: 2
Location: chennai

PostPosted: Mon Dec 08, 2008 5:54 pm    Post subject: Reply to: how to get the spool details of the current job in
Reply with quote

Code:
     
//SYM EXEC PGM=EZACFSM1                                   
//* SYMBOL SUBSTITUTION                                   
//SYSIN DD *                                               
DA OJOB                                                   
PRINT FILE MSGFILE                                         
FIND '&JOBNAME'                                           
++?                                                       
FIND 'JESYSMSG'                                           
++XC             
/*                                         
//SYSOUT DD UNIT=SYSDA,SPACE=(CYL,(1,1)),RECFM=FB,LRECL=80,
// DSN=I816425.CHECK2.PS,DISP=(,PASS)       
//*     
//SDSF EXEC PGM=SDSF,DYNAMNBR=32,REGION=1024K                 
//* CAPTURE THE JES2 MESSAGES                                 
//MSGFILE DD DSN=I816425.CV&CV..PRT.ABR048.STATUS11.&DBNAME,   
//         DISP=(MOD,CATLG),DATACLAS=DCTEST                   
//ISFOUT DD DUMMY                                             
//ISFIN DD DISP=(OLD,DELETE),DSN=I816425.CHECK2.PS             
//*


using this JCL sometimes I'm able to get the spool data into dataset, but sometimes I'm not.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Dec 08, 2008 6:20 pm    Post subject:
Reply with quote

What is "EZACFSM1"?

O.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Dec 08, 2008 6:23 pm    Post subject: Reply to: how to get the spool details of the current job in
Reply with quote

It's the IBM System Symbol Translator program.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
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 How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Convert current to hex value gopurs DFSORT/ICETOOL 4 Wed Feb 15, 2017 5:40 am


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