In a TSO address space you can push a stack element that routes input and/or 
output through a dataset; that won't affect direct TGET or TPUT. I don't know 
what complications Unix System Services adds.

As others have suggested, you can always run a batch job with SYSTSPRT 
allocated to a dataset, as long as you are only running commands that use 
PUTLINE/PUTGET rather than direct TPUT.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Phil Smith III [[email protected]]
Sent: Saturday, September 17, 2022 10:48 AM
To: [email protected]
Subject: Output redirection

I had cause to use RLIST UNIXMAP * ALL, but the output was voluminous. "No
problem", thinks I, "I'll just redirect it to a file". But that only got me
some truncated output plus:
IKJ56652I You attempted to run an authorized command or program.  This is
not supported under the Dynamic TSO Environment.

FOMF0139I Authorized commands are not supported



Is there an easy way to run such a command and send the output to a data
set?


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to