HP OpenVMS Systems

Content starts here

HP Advanced Server for OpenVMS
Commands Reference Manual


Previous Contents Index


SET PRINT JOB

Modifies the attributes of an existing OpenVMS Advanced Server print job. Use the SHOW PRINT JOBS command to display the list of available print jobs.

Format

SET PRINT JOB job-id [/qualifiers]

restrictions

This command is valid only to OpenVMS servers. Use of this command requires membership in the Administrators, Server Operators, or Print Operators local group.

Related Commands

SET PRINT QUEUE
SHOW PRINT JOBS
SHOW PRINT QUEUES

Parameters

job-id

Specifies the job identification number of the print job to be affected. To determine the job-id for a particular print job, use the SHOW PRINT JOBS command.

Qualifiers

/DELETE

Deletes the specified print job from its print queue. Do not specify this qualifier with the /FIRST, /HOLD, /LAST, or /RELEASE qualifiers.

/FIRST

Moves the specified print job to the first position in its print queue. The print job starts after the current print job has completed. Do not specify this qualifier with the /DELETE, /HOLD, /LAST, or /RELEASE qualifiers.

/HOLD

Holds the specified print job in its print queue for printing at a later time. The print job stays in its print queue, and other print jobs can print. To allow the held print job to print, use the SET PRINT JOB/RELEASE command. Do not specify this qualifier with the /DELETE, /FIRST, /LAST, or /RELEASE qualifiers.

/LAST

Moves the specified print job to the last position in its print queue. The print job is printed after all other print jobs in the queue are completed. Do not specify this qualifier with the /DELETE, /FIRST, /HOLD, or /RELEASE qualifiers.

/RELEASE

Releases a print job that has been held; the job can then print. Do not specify this qualifier with the /DELETE, /FIRST, /HOLD, or /LAST qualifiers.

/SERVER=server-name

Specifies the name of the server on which to set the print job. The default is the server currently being administered.

Examples

#1

 LANDOFOZ\\TINMAN> SET PRINT JOB 351/HOLD
 %PWRK-S-JOBSET, print job 351 held on server "TINMAN"
      

This example holds print job 351. The print job will not be printed until it is released.

#2

 LANDOFOZ\\TINMAN> SET PRINT JOB 351/RELEASE
 %PWRK-S-JOBSET, print job 351 released on server "TINMAN"
      

This example releases print job 351, and makes it available to be printed.

#3

 LANDOFOZ\\TINMAN> SET PRINT JOB 351/DELETE
 %PWRK-S-JOBSET, print job 351 deleted on server "TINMAN"
      

This example deletes print job 351.


SET PRINT QUEUE

Modifies the attributes of an existing Advanced Server print queue. Use the SHOW PRINT QUEUES command to display the list of available print queues.

Format

SET PRINT QUEUE queue-name [/qualifiers]

restrictions

This command is valid only to HP OpenVMS servers. Use of this command requires membership in the Administrators, Server Operators, or Print Operators local group.

Related Commands

ADD PRINT QUEUE
CONTINUE PRINT QUEUE
PAUSE PRINT QUEUE
REMOVE PRINT QUEUE
SET PRINT JOB
SHOW PRINT JOBS
SHOW PRINT QUEUES

Parameters

queue-name

Specifies the name of the print queue to be affected.

Qualifiers

/ABORT

Stops printing the currently printing job in the specified print queue. Do not specify this qualifier with the /CONTINUE, /PAUSE, /PURGE, or /RESTART qualifiers.

/CONTINUE

Continues printing from the specified print queue that has been paused. Do not specify this qualifier with the /ABORT, /PAUSE, /PURGE, or /RESTART qualifiers.

/DESCRIPTION="string"

/NODESCRIPTION

Specifies a string of up to 48 characters used to provide descriptive information about the queue. Enclose the string in quotation marks if it contains lowercase letters, blanks (spaces) or other nonalphanumeric characters. /NODESCRIPTION indicates that the description is to be blank. If the /DESCRIPTION qualifier is not specified, the current description remains unchanged.

/PAUSE

Pauses printing from the specified print queue after the current job finishes printing. Do not specify this qualifier with the /ABORT, /CONTINUE, /PURGE, or /RESTART qualifiers.

/PURGE

Removes all print jobs from the specified print queue except for any job that is currently printing. Do not specify this qualifier with the /ABORT, /CONTINUE, /PAUSE, or RESTART qualifiers.

/PRINTER=device-name

Changes the physical device name or port to which the printer associated with the specified printer queue is connected. This is the actual OpenVMS system device to which the printer is connected (for example, OPA0, TTA2, TXA7, or LTA201). You can use the /PRINTER qualifier only if the specified queue is a printer queue.

/RESTART

Restarts printing of the current print job from the specified print queue. The job restarts printing from the beginning. Do not specify this qualifier with the /ABORT, /CONTINUE, /PAUSE, or /PURGE qualifiers.

/ROUTE_TO=(print-queue[,...])

Indicates that jobs for the specified routing queue should now be routed to the specified printer queues. The print-queue specifies one or more printer queues to which to route the print jobs. You can use the /ROUTE_TO qualifier only if the specified print queue is a routing queue.

/SERVER=server-name

Specifies the name of the server where the specified print queue resides. The default is the server currently being administered.

/TYPE=printer-type

Changes the printer type of the printer associated with the specified printer queue. The printer-type keyword can be one of the following:
Printer-Type Type of Printer
DL1100 DEClaser 1100
DL2100 DEClaser 2100
DL2100P DEClaser 2100 Plus
DL2200 DEClaser 2200
DL2200P DEClaser 2200 Plus
DL3200 DEClaser 3200
LN03 DIGITAL LN03
LN03P DIGITAL LN03 Plus
LA50 DIGITAL LA50
LA70 DIGITAL LA70
LA75 DIGITAL LA75
LA210 DIGITAL LA210
LA324 DIGITAL LA324
LG01 DIGITAL LG01
LG02 DIGITAL LG02
LG06 DIGITAL LG06
LG31 DIGITAL LG31
LJ250 DIGITAL LJ250
FX850 EPSON FX850
FX1050 EPSON FX1050
HP_LASERJET Hewlett-Packard LaserJet IID
PROPRINTER IBM Proprinter
SILENTWRITER NEC Silentwriter 2, model 290 (not PostScript)
GENERIC All other printer types (the default).

You can use the /TYPE qualifier only if the specified queue is a printer queue.


Examples

#1

 LANDOFOZ\\TINMAN> SET PRINT QUEUE TOTO/PAUSE
 %PWRK-S-QUESET, queue "TOTO" paused on server "TINMAN"
      

This example pauses the print queue TOTO. Any print job that is currently printing is allowed to finish. No further print jobs in the queue will be printed until the queue is continued.

#2

 LANDOFOZ\\TINMAN> SET PRINT QUEUE TOTO/CONTINUE
 %PWRK-S-QUESET, queue "TOTO" continued on server "TINMAN"
      

This example continues the paused print queue TOTO. Any jobs in the print queue are allowed to print.

#3

 LANDOFOZ\\TINMAN> SET PRINT QUEUE TOTO/PURGE
 %PWRK-S-QUESET, queue "TOTO" purged on server "TINMAN"
      

This example removes all print jobs from the print queue TOTO. Any print job that is currently printing is allowed to finish.


SHOW ACCOUNT POLICY

Displays account policy information for the domain. The policy information includes:
  • The minimum password age
  • The maximum password age
  • The minimum password length
  • The length of the password history maintained
  • Whether users are forcibly disconnected when their logon hours expire
  • Number of incorrect password attempts before a user account is locked out
  • Number of minutes account remains locked (displayed only if the lockout feature is enabled by means of the SET ACCOUNT POLICY/LOCKOUT command)
  • Number of minutes to wait before resetting lockout count (displayed only if the lockout feature is enabled by means of the SET ACCOUNT POLICY/LOCKOUT command)
  • The server's role in the domain

Format

SHOW ACCOUNT POLICY [/qualifier]

restrictions

Use of this command does not require special group membership.

Related Commands

SET ACCOUNT POLICY

Qualifiers

/DOMAIN=domain-name

Specifies the name of the domain for which to show the account policy. The default is the domain currently being administered. Do not specify both /DOMAIN and /SERVER on the same command line.

/SERVER=server-name

Specifies the name of a server that is a member of the domain for which to show the account policy. Do not specify both /DOMAIN and /SERVER on the same command line.

Example


LANDOFOZ\\TINMAN> SHOW ACCOUNT POLICY

Account Policy for domain "LANDOFOZ":

Minimum password age (days) : 1
Maximum password age (days) : 90
Minimum password length : 0
Length of password history maintained : None
Force user logoff after logon hours expire : NO
Lock out account after how many bad password attempts : Never
Role of server TINMAN : Primary Domain Controller
      

This example displays the account policy information for the domain currently being administered (LANDOFOZ).


SHOW ADMINISTRATION

Displays information about the domain and server currently being administered, and information about the current user. The administration information includes:
  • The name of the domain being administered
  • The name of the primary domain controller for the domain
  • The domain controller type
  • The name of the server being administered
  • The server type
  • The current user name
  • Whether the user is logged on to the network, and if so, to what domain and whether the user has been authenticated by a logon server
  • If the user is logged on and has been authenticated, the account and operator privileges the user has in the domain
  • The name of the user's local workstation and what domain it is in

Format

SHOW ADMINISTRATION

restrictions

Use of this command does not require special group membership.

Related Commands

SET ADMINISTRATION

Example

This example displays information about the domain and server being administered, and information about the current user.

SHOW AUDIT POLICY

Displays whether auditing is enabled for the domain, and what events are being audited.

Format

SHOW AUDIT POLICY [/qualifiers]

restrictions

Use of this command requires membership in the Administrators local group.

Related Commands

SET AUDIT POLICY
SHOW EVENTS

Qualifiers

/DOMAIN=domain-name

Specifies the name of the domain for which to show the audit policy. The default is the domain currently being administered. Do not specify both /DOMAIN and /SERVER on the same command line.

/SERVER=server-name

Specifies the name of a server that is a member of the domain for which to show the audit policy. Do not specify both /DOMAIN and /SERVER on the same command line.

Example


LANDOFOZ\\TINMAN> SHOW AUDIT POLICY

Audit Policy for domain "LANDOFOZ":

Auditing is currently Enabled.

Audit Event states:

Audit Event         Success   Failure
------------------  --------  --------
ACCESS              Disabled  Disabled
ACCOUNT_MANAGEMENT  Disabled  Disabled
LOGONOFF            Disabled  Disabled
POLICY_CHANGE       Enabled   Enabled
PROCESS             Disabled  Disabled
SYSTEM              Disabled  Disabled
USER_RIGHTS         Enabled   Enabled
      

This example displays the audit policy information for the domain currently being administered (LANDOFOZ).


SHOW COMPUTERS

Displays a list of computers that are members of the domain and participate in domain security, and computers that are listed by the Computer Browser service as active in the domain. The basic display includes, in tabular form:
  • The computer type display symbol, where:
    Symbol Meaning
    [PD] A primary domain controller
    [pd] A primary domain controller unavailable to the network
    [BD] A backup domain controller
    [bd] A backup domain controller unavailable to the network
    [SV] A member server
    [sv] A member server unavailable to the network
    [WS] A workstation
    [ws] A workstation unavailable to the network

    Note that a lowercase symbol signifies that the system being referenced might not be available to the network. To determine whether it is available, use the SHOW COMPUTER command.
  • The computer name
  • The network operating system type and version, such as the following:
    Type Meaning
    OpenVMS (NT 4.0) Primary Advanced Server for OpenVMS, LAN Manager type Windows NT V4.0, primary domain controller
    OpenVMS (NT 4.0) Backup Advanced Server for OpenVMS, LAN Manager type Windows NT V4.0, backup domain controller
    OpenVMS (NT 4.0) Server Advanced Server for OpenVMS, LAN Manager type Windows NT V4.0, member server
    Windows NT Workstation Windows NT workstation
  • The computer's description

A usage summary for each computer can optionally be included in the display. If a computer does not support remote administration, it is unavailable to the network (for example, it is turned off), or the /TYPE=DOMAIN_MEMBERS qualifier is specified, the display symbol appears in lowercase letters, the description and usage summary are blank, and the network operating system type may be incomplete or inaccurate.


Format

SHOW COMPUTERS [computer-name] [/qualifiers]

restrictions

Use of this command in its default form does not require special group membership; however, the use of certain qualifiers may require special group membership. See the specific qualifier for any group membership requirements.

Related Commands

ADD COMPUTER
REMOVE COMPUTER
SET COMPUTER

Parameters

computer-name

Indicates that only information for the specified computer should be displayed. If you omit the computer-name, then the display contains information about all computers in the domain that match any filtering criteria. Do not specify the computer-name parameter on the same command line as the /DOMAIN or /TYPE qualifiers.

Qualifiers

/DOMAIN=domain-name

Specifies the name of the domain for which to show computer information. The default is the domain currently being administered. Do not specify both the /DOMAIN qualifier and the computer-name parameter on the same command line.

/FULL

/NOFULL

Controls whether a usage summary is included for each computer in the display. The default, /NOFULL, omits the usage summary. The usage summary contains the number of:
  • Sessions open to the computer
  • Files opened by connected users
  • File locks by connected users
  • Open administration resources

Obtaining the usage summary requires a connection to be made to the computer, which may take several seconds to complete. Use of this qualifier requires membership in the Administrators local group.

/TYPE=computer-type

Specifies the types of computers to include in the display. Precede computer-type with NO to exclude the specified computer type from the display. The value of computer-type can be one or more of the following:
Computer-Type Description
ALL All types of computers (default)
[NO]BACKUP_DOMAIN_CONTROLLERS
  Computers that are currently acting as backup domain controllers
[NO]DOMAIN_MEMBERS
  Only computers that have accounts in the domain's security database; the default is NODOMAIN_MEMBERS, which displays all computers --- both computers in the domain's security database and those listed as active in the domain by the Computer Browser service
[NO]MACINTOSH Computers running the Apple File Protocol service
[NO]PATHWORKS HP OpenVMS servers
[NO]PRIMARY_DOMAIN_CONTROLLER
  The primary domain controller for the domain
[NO]SERVERS Computers acting as servers on the network
[NO]WORKSTATIONS Computers acting as workstations on the network

Do not specify both the /TYPE qualifier and the computer-name parameter on the same command line.


Example

This example displays a list of all computers in the domain LANDOFOZ, and includes a usage summary for each computer.

SHOW CONNECTIONS

Displays information about active connections to the server. The display includes, in tabular form:
  • The connected user's name
  • The user's computer name
  • The name of the shared resource connected to
  • The number of open connections to each share
  • The total connect time to the share in days, hours, and minutes

Format

SHOW CONNECTIONS [computer-name] [/qualifiers]

restrictions

Use of this command requires membership in the Administrators or Server Operators local group.

Related Commands

SHOW OPEN_FILES
SHOW SESSIONS

Parameters

computer-name

Indicates that only connections from the specified computer should be displayed. If you omit the computer-name, then the display contains connection information for all computers that match any filtering criteria.

Qualifiers

/SERVER=server-name

Specifies the name of the server for which to show connections. The default is the server currently being administered.

/SHARENAME=share-name

Restricts the display of information to connections made to the specified shared resource. Do not specify both /SHARENAME and /TYPE on the same command line.

/TYPE=share-type

Controls the types of shared resource connections to be included in the display. Precede a share-type keyword with NO to exclude the specified connection type from the display. The value of the share-type keyword can be one or more of the following:
Share-Type Resource
ALL All types of connections (the default)
[NO]DIRECTORY Connections to directory shares
[NO]PRINT Connections to print queue shares
[NO]DEVICE Connections to communications devices
[NO]IPC Connections to interprocess communication

Do not specify both /SHARENAME and /TYPE on the same command line.

/USERNAME=user-name

Restricts the display of information to connections made by the specified user.

Examples

#1

 LANDOFOZ\\TINMAN> SHOW CONNECTIONS

 Connections on server "TINMAN":

 User name         Computer name    Share name    Opens  Time
 ----------------  ---------------  ------------  -----  --------
 ADMINISTRATOR     TINMAN_176       IPC$              3   0 11:30
 SCARECROW         TINMAN_149       ADMIN$            0   0 00:00
 SCARECROW         TINMAN_149       IPC$              0   0 00:00
 SCARECROW         TINMAN_149       IPC$              1   0 00:00
 SCARECROW         TINMAN_149       RAINBOW           0   0 06:14

   Total of 5 connections
      

This example displays information about all the connections to the server currently being administered (TINMAN).

#2

 LANDOFOZ\\TINMAN> SHOW CONNECTIONS/SHARENAME=RAINBOW

 Connections on server "TINMAN":

 User name         Computer name    Share name    Opens  Time
 ----------------  ---------------  ------------  -----  --------
 SCARECROW         TINMAN_149       RAINBOW           0   0 06:14

   Total of 1 connection
      

This example displays information about all the connections to the shared resource RAINBOW on the server being administered (TINMAN).


Previous Next Contents Index