I don't know what technique you used to direct the RLIST output to a file,
so I can't guess why you got that message.  My own solution for things like
this is a REXX that I named DISP (and it's been reïnvented by many
mainframers and named different things) that uses OUTTRAP to capture the
command response and then write it to a dataset.  My own version uses a
temporary DSN; that way I can have several such outputs active at once and I
don't have to worry about what it's named; if I want to save it after
viewing, I can just use the ISPF CRE or REP command.

I use DISP frequently with lengthy TSO HELP commands, and always with RACF
commands.  'Twould look like this with your command:

  ==> tso disp rlist unixmap * all

If you can run RLIST in the foreground you should be able to use DISP with
it just as well.

---
Bob Bridges, [email protected], cell 336 382-7313

/* Back in the old days, most families were close-knit.  Grown children and
their parents continued to live together, under the same roof, sometimes in
the same small, crowded room, year in and year out, until they died,
frequently by strangulation.  -Dave Barry */


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Phil Smith III
Sent: Saturday, September 17, 2022 10:48

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

Reply via email to