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 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: 8619
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: 4650
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 Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 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

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