MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Save the spool information to my personal Dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
THRIVIKRAM
Beginner


Joined: 03 Oct 2005
Posts: 70
Topics: 34

PostPosted: Fri Aug 11, 2006 11:26 pm    Post subject: Save the spool information to my personal Dataset Reply with quote

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
View user's profile Send private message Send e-mail
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Sat Aug 12, 2006 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Sat Aug 12, 2006 1:24 am    Post subject: Reply with quote

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
View user's profile Send private message
THRIVIKRAM
Beginner


Joined: 03 Oct 2005
Posts: 70
Topics: 34

PostPosted: Sat Aug 12, 2006 1:45 am    Post subject: Reply with quote

Hi shekar123,

I got it. Excellent!!!

Thanks,
Thrivikram.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group