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
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Report output in Spool amitc23 JCL & VSAM 4 Tue Apr 26, 2016 4:32 pm
No new posts Retrieve current year or month using ... vnktrrd DFSORT/ICETOOL 15 Tue Mar 15, 2016 4:14 pm
No new posts Connect Direct details shankarm IBM Tools 2 Sat Feb 20, 2016 7:25 pm


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