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
 

 

Block command for XDC.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 67
Location: 125.16.180.5

PostPosted: Fri May 28, 2010 12:36 pm    Post subject: Block command for XDC.
Reply with quote

Hi all,

I would like to XDC all of my current day's spool @ my EOD.this would be no pain in case i have jus submitted 5 or say 10 jobs.. but you know Life is not so simple. and i feel it as a terrible pain to XDC one by one say 100 spools in my PDS.

Upon thinking and exploring i got the following options in my visibility.

i) Looks like may be using ISFAFD (invoking sdsf in batch mode )may help me. but you know it is full of print of screens.its not wat i am looking for.i have no clue how to tune that so that it gives me wat i want.hitting PF1 icon_smile.gif

ii) is there a way i can use a block command of XDC, if so how ?

iii) any option/special step which i can use in my job so that it exports the complete job log to a new GDG generation. ?

Is there any smart way to do this ? icon_smile.gif.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri May 28, 2010 12:51 pm    Post subject: Reply to: Block command for XDC.
Reply with quote

see
http://www.ibmmainframes.com/viewtopic.php?t=39170&highlight=
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri May 28, 2010 3:44 pm    Post subject: Re: Block command for XDC.
Reply with quote

karthik_sripal wrote:
i) Looks like may be using ISFAFD (invoking sdsf in batch mode )may help me. but you know it is full of print of screens.its not wat i am looking for.i have no clue how to tune that so that it gives me wat i want.hitting PF1 icon_smile.gif
So what is that you are looking for?
Back to top
View user's profile Send private message
karthik_sripal

New User


Joined: 28 Mar 2008
Posts: 67
Location: 125.16.180.5

PostPosted: Fri May 28, 2010 4:32 pm    Post subject:
Reply with quote

Thanks for the reply anuj and enrico-sorichetti.

@anuj
Quote:
So what is that you are looking for?

i dont want those navigation screenshots.i jus want the joblogs.how to elim them ? am i not clear still ? :$
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri May 28, 2010 5:46 pm    Post subject:
Reply with quote

SDSF manuals should have those details, a sample JCL would be like the below one, it'll pick up just the OUTDD dd-statement:
Code:
//BSDSF  EXEC PGM=ISFAFD,PARM='++60,132'       
//ISFOUT   DD SYSOUT=*                         
//SYSUDUMP DD SYSOUT=*                         
//SYSPRINT DD SYSOUT=*                         
//SYSTSPRT DD SYSOUT=*                         
//SYSOUT   DD SYSOUT=*                         
//ISFIN    DD *                               
PRE xxxxxxxx                                 
ST                                           
FILTER JOBID EQ 'JOB0xxxx'                   
++?                                           
FIND 'OUTDD'                                 
++S                                           
PRINT ODSN 'xxxxxxxx.SDSF' * OLD               
PRINT 1 9999                                 
PRINT CLOSE                                   
END                                           
EXIT                                         
/* 
Please tailor the job per your need.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri May 28, 2010 11:23 pm    Post subject:
Reply with quote

If the joblogs are in a sysout class by themselves, you could use an external writer task to move them to a PS file. See the MVS System Commands for external writer.
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: Sat May 29, 2010 12:28 pm    Post subject:
Reply with quote

Bill Dennis wrote:
If the joblogs are in a sysout class by themselves, you could use an external writer task to move them to a PS file. See the MVS System Commands for external writer.

But do speak to your systems programmers / security admin before attempting this.
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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