View previous topic :: View next topic |
Author |
Message |
THRIVIKRAM Beginner
Joined: 03 Oct 2005 Posts: 70 Topics: 34
|
Posted: Fri Aug 11, 2006 11:26 pm Post subject: Save the spool information to my personal Dataset |
|
|
Hello All,
I want to save the Spool information of a particular job to my personal Dataset. Can any one please help. I have a JCL which can retrieve the job from the RMDS but I need to save the job infromation(Sysout,jesmesgs...) from the spool.
Thanks,
Thrivikram. |
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Sat Aug 12, 2006 12:58 am Post subject: |
|
|
You can PRINT the outputs to your datasets, either manually or by using SDSF batch commands (from REXX or JCL).
O.
________
easy vape reviews
Last edited by ofer71 on Sat Feb 05, 2011 11:39 am; edited 1 time in total |
|
Back to top |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Sat Aug 12, 2006 1:24 am Post subject: |
|
|
THRIVIKRAM,
Try using the XDC Command before the job name in the SPOOL .Hope it helps.
Code: |
SDSF STATUS DISPLAY ALL CLASSES LINE 1-2 (2)
NP JOBNAME JobID Owner Prty Queue C Pos SAff ASys Status
SHEKAR TSU05267 SHEKAR 15 EXECUTION XXXX XXXX
XDC SHEKARR JOB01234 SHEKAR 1 PRINT A 41 |
You will get one more screen in which will be asked for the DATASET name and attributes and enter and you are done with the Dataset which will have the entire JESMSGLG,JESJCL and JESYSMSG.Hope it helps.
Code: |
SDSF Open Print Data Set
Data set name ===> 'SHEKAR.TEST.OUTPUT'
Member to use ===>
Disposition ===> NEW (OLD, NEW, SHR, MOD)
If the data set is to be created, specify the following.
Volume serial will be used to locate existing data sets if specified.
Management class ===> (Blank for default management class)
Storage class ===> (Blank for default storage class)
Volume serial ===> (Blank for authorized default volume)
Data class ===> (Blank for default data class)
Space units ===> TRKS (BLKS, TRKS, CYLS, BY, KB, or MB)
Primary quantity ===> 1 (In above units)
Secondary quantity ===> 1 (In above units)
Directory blocks ===> (Zero for sequential data set)
Record format ===> FBA
Record length ===> 122
Block size ===> 27938
COMMAND INPUT ===> SCROLL ===> CSR |
_________________ Shekar
Grow Technically |
|
Back to top |
|
 |
THRIVIKRAM Beginner
Joined: 03 Oct 2005 Posts: 70 Topics: 34
|
Posted: Sat Aug 12, 2006 1:45 am Post subject: |
|
|
Hi shekar123,
I got it. Excellent!!!
Thanks,
Thrivikram. |
|
Back to top |
|
 |
|
|