Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass in a parameter with smit pqmanage?

Status
Not open for further replies.

bgreen

Programmer
Feb 20, 2003
185
CA
Hi,

I was wondering if there is a way to pass in a parameter that represents a print queue.

smit pqmanage <print queue>.
 
From smit man page
-p Entity/ValueString This flag only applies to smit Windows version. Allows
nameselects and dialogs to be filled in from the command line. Also allows you
to operate on multiple entities simultaneously. You can set the environment
variables ENTITY_SEP and VALUE_SEP to override the default comma and semicolon
separators. This flag applies only to AIX Version 4.2 or later.

You can enter Entity/ValueString in any of the following formats:

"Entity1:Val1,Val2... ; Entity2:Val1,Val2... ; ..."

or

"Val1,Val2... ; Val1,Val2... ; ..."

The man say that the option applies only to Windows version, in fact this option works also with ASCII interface (smit -C, smitty or smit on non X console).

[tt]smit -p print_queue pqmanage[/tt]

Jean Pierre.
 
Thanks for the input. I used enq command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top