The output stem variable record for a Linux system has the following word delimited fields. Some field values contain blanks that have been translated to hexadecimal X’FE’. Translate these values to restore the original values.
Always contains ‘LXTP’
Contains a character string
Contains one through eight characters or ‘N/A’ when not a VM guest.
IP address in presentation format
Contains a character string
Contains a character string
Contains a character string
Contains a character string.
The following REXX function restores embedded blanks:
NORMAL_FIELD = TRANSLATE(INCOMING_FIELD,' ','FE'X)
Example: List with filters
This command finds all VM systems whose names begin with ‘ZV’. Exclude all Linux records. Results are returned in stem variables LXLST.nn with LXLST.0=number of records returned.
ADDRESS LXCON “LIST VMNODE(ZV*) LXNAME(N/A)”
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|