Joined: 13 Nov 2006 Posts: 2 Topics: 1 Location: Czech Republic, Brno
Posted: Wed Nov 15, 2006 5:25 am Post subject: How to get output of some command issued in SDSF to DS?
Hello, I`m a new in mainframes .
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?
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
Posted: Wed Nov 15, 2006 9:03 am Post subject:
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.
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