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 

How to get output of some command issued in SDSF to DS?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
NickCZ
Beginner


Joined: 13 Nov 2006
Posts: 2
Topics: 1
Location: Czech Republic, Brno

PostPosted: Wed Nov 15, 2006 5:25 am    Post subject: How to get output of some command issued in SDSF to DS? Reply with quote

Hello, I`m a new in mainframes Smile.

The problem is to get output any command issued in SDSF to some dataset.
For example, I want to get a result of this command: /d sms,lib(all),detail into my dataset: CY34333.TAPES

If it`s possible to automaticly with help of some REXX?

Thanks in advance for help.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Nov 15, 2006 9:03 am    Post subject: Reply with quote

Use SDSF batch functions. You may need to issue the U command several times until the response to command appears. That means the response may appear multiple times in the dataset.
Code:
//GET1     EXEC PGM=SDSF                       
//ISFOUT   DD  DSN=CY34333.TAPES,DISP=(,CATLG), 
//           UNIT=SYSDA,SPACE=(CYL,1)           
//ISFIN    DD  *                               
/D SMS,LIB(ALL),DETAIL                         
U                                               
U                                               
U                                               
/*                                         

_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
NickCZ
Beginner


Joined: 13 Nov 2006
Posts: 2
Topics: 1
Location: Czech Republic, Brno

PostPosted: Thu Nov 16, 2006 9:24 am    Post subject: Reply with quote

Thanks a lot for the answer.

But if the system has OMC-FLASH (JES3)? How to get the ouput in this case?


Regards,
Nick.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management 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