IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to get the spool details of the current job into a ps


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Dec 08, 2008 5:13 pm
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
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: 2358
Location: Israel

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

What is "EZACFSM1"?

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

Global Moderator


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

PostPosted: Mon Dec 08, 2008 6:23 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Fetch data from programs execute (dat... DB2 3
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
No new posts Search string in job at regular Spool... CLIST & REXX 0
Search our Forums:

Back to Top