My requirement is to write a display the output of LPQ command in a
web page. I wrote REXX cgi.
In omvs command line when I issue the foloowing command
tso 'lpq (host 10.0.1.11 printer pr1234'
I get the correct output
Printer ::
10.0.1.11:pr1234
Owner Status Jobname Job-Id Size Pages
Priority
----------------------------------------------------------------------------
But when I issue the same command in rexx cgi using
address SH "tso 'lpq (host 10.0.1.11 printer pr1234'"
It says
IKJ56652I You attempted to run an authorized command or program. This
is not supported under the Dynamic TSO Environment.
Can somebody help me any other ways to do the same? Any input will be
highly appreciated.
Thanks.