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 ROUTE this DDnames to DATASET

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

New User


Joined: 05 Sep 2006
Posts: 34

PostPosted: Tue Sep 19, 2006 1:19 pm    Post subject: How to ROUTE this DDnames to DATASET
Reply with quote

Hi

For almost all jcls we have this DDname's when we see the results in Spool .

JESMSGLG
JESJCL
JESYSMSG
SYSTSPRT

My question is " CAN we route the above DDnames to some Data set in the same JCL which generated this messages ? "

For eg : for Sysout sometimes we write as

//SYSOUT DD SYSOUT=*
or
//SYSOUT DD dsn=......., disp=shr
Here we get the results in own PS .

In the similar way i want to route
JESMSGLG
JESJCL
JESYSMSG
SYSTSPRT

to some dataset in the same JCL .

please note "i dont want to route by XDC command after job run or manually cut paste the content ' , It should be done in the same jcl '

Thanks

Shrinivas
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Sep 19, 2006 4:30 pm    Post subject:
Reply with quote

Add a step ant the end of the job. Invoke batch SDSF, read the outputs and write the to datasets using SDSF commands from batch.

O.
Back to top
View user's profile Send private message
shrinivas_3
Warnings : 1

New User


Joined: 05 Sep 2006
Posts: 34

PostPosted: Tue Sep 19, 2006 6:22 pm    Post subject:
Reply with quote

ofer71 wrote:
Add a step ant the end of the job. Invoke batch SDSF, read the outputs and write the to datasets using SDSF commands from batch.

O.


Thanks for quick reply

But I could not understand this.

Could you please show me the steps / procs used to invoke Batch SDSF

It would be helpful if you can show a complete sample jcl.(eg some sort operation)





Thanks
Shrinivas
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Sep 19, 2006 7:30 pm    Post subject:
Reply with quote

How to invoke SDSF in batch???
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Tue Sep 19, 2006 7:40 pm    Post subject: Re: How to ROUTE this DDnames to DATASET
Reply with quote

That process has been documented many, many times before in these Forums. Just search for one of the examples.
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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am

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