LPQ command in dynamic tso environments

LPQ command in dynamic tso environments

Post by cutepinky1 » Sun, 07 Dec 2008 01:34:38


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.
 
 
 

1. lpq command do not display error for network printer managed by a Windows server

2. TSO - LINKMVS environment

I'm calling a native program using ADDRESS LINKMVS. All is well, but each
call seems to create a new, initialized environment. I have dynamically
allocated objects that I'd like to address on subsequent calls, but they
don't hang around. I need to be able to make multiple ADDRESS LINKMVS calls
to my code and not have the environment get re-established each time. This
must be possible, otherwise how would the DNSREXX environment work? I'd
appreciate any help on gettting this to work as I described.

3. Dynamic column width in tabular environment (was fixing column width in tabular environment)

4. Issue TSO command from SAS

5. use TSO command in SAS session

6. tso command parameter passing through rexx

7. TSO LGRP Command

8. TSO ALLOC command for tapes ....

9. Add-ins not work in environment Citrix

10. New GCC ICI (with plug-ins for dynamic pass reordering)

11. Dynamic execution of conditions in Plug-ins.

12. Installation of Microsoft Dynamics Snap-Ins

13. New GCC ICI (with plug-ins for dynamic pass reordering)

14. MS Dynamics snap-ins for Office 2007?

15. Microsoft Dynamics Snap-ins