Previous Topic: OSF LIST—Return Active Server StatisticsNext Topic: OSF QUEUES—Display Server Queue Status


Output from OSF LIST Command

For each OSF server, the OSF LIST command returns two output records to the external data queue. OPSVIEW option 4.3 displays these records, inserting blanks between fields and displaying UNAVAIL or N/A in place of fields inappropriate for the status of the server. The first record contains the following data:

Word Number: 1

Length: 4

Contains the address space ID in hexadecimal format.

Word Number: 2

Length: 8

The server job name.

Word Number: 3

Length: 8

Contains one of the following server status values:

Word Number: 4

Length: 5

Contains a count of total transactions executed on this server.

Word Number: 5

Length: 8

If the server is active, word 5 contains the server elapsed time for the current transaction. Otherwise, the word contains the cumulative elapsed time for all of the transactions this server processed since it started. The data in word 5 will be in one of the following formats:

Word Number: 6

Length: 8

If the server is active, word 6 contains the amount of CPU time the server has used so far to process the current transaction. Otherwise, the value of word 6 is cumulative for all transactions the server has processed since it started. The data in word 6 will be in one of the following formats:

sss.tttS, indicating seconds.milliseconds

hh.mm.ss, indicating hours.minutes.seconds

hhhhh.mm, indicating hours.minutes

NOTAVAIL, indicating that there is no valid time format

Word Number: 7

Length: 7

If the server is active, the value of word 7 indicates the number of output lines produced for the current transaction. Otherwise, the value is cumulative for all transactions the server has processed since it started.

Word Number: 8

Length: 1

Contains either Y or N, indicating whether this server acquired a JES job ID.

Word Number: 9

Length: 27

Contains debugging information for use by CA customer support.

The second record that the OSF LIST command returns contains 256 bytes of the current (or last) command text. This text occupies a separate record to allow you to use the OPS/REXX PARSE statements, WORD function, or both to extract data from the first record.