View previous topic :: View next topic
|
Author |
Message |
shrinivas_3 Warnings : 1 New User
Joined: 05 Sep 2006 Posts: 34
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
shrinivas_3 Warnings : 1 New User
Joined: 05 Sep 2006 Posts: 34
|
|
|
|
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 |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
How to invoke SDSF in batch??? |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
That process has been documented many, many times before in these Forums. Just search for one of the examples. |
|
Back to top |
|
|
|