Network Usage

You can use all of the commands across the network.

There are two different ways to use the commands across a network.

The first is to use the /SERVER qualifier every time you enter a command.

The second is to set the XS_SERVER environment variable.

Example A

Using /SERVER qualifier:

C:\>QSHOW /SERVER=SULLIVAN


Queue Name

Status

 

Priority Description

—————-

—————-

——–

———————————-

HIGH_PRIORITY

Started, Open

255

Defined by SETUP program

LOW_PRIORITY

Started, Open

0

Defined by SETUP program

QUEUE_1

Started, Open

128

Defined by SETUP program

Example B

Setting the XS_SERVER environment variable:

C:\> SET XS_SERVER=SULLIVAN

C:\> QSHOW

Connecting to server “SULLIVAN”


Queue Name

Status

 

Priority Description

—————-

—————-

——–

———————————-

HIGH_PRIORITY

Started, Open

255

Defined by SETUP program

LOW_PRIORITY

Started, Open

0

Defined by SETUP program

QUEUE_1

Started, Open

128

Defined by SETUP program

In example B, the /SERVER qualifier was not required for the QSHOW command, because the XS_SERVER environment variable had been set. This method is easier to use than the

/SERVER method — once the environment variable is set all Argent Queue Engine commands will automatically be directed to the correct server.

You also could set the XS_SERVER environment variable with the Windows -> Control Panel -> System, so that it is set automatically when you log on.