Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LPQ command in dynamic tso environments

32 views
Skip to first unread message

cutepi...@gmail.com

unread,
Dec 5, 2008, 11:34:38 AM12/5/08
to
Hi All,

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.

0 new messages