List Fields

Managed System-specific information may include List (table) fields. A List field is passed to a script as a string of entries. This string includes specific characters that are designated to separate entries and sub-fields in the list.

The default entry separator value is a comma (,). To specify a value other than the default, assign any printable character to the Managed System parameter SCRIPT_ SEP_ENTRY in the RSSPARM file.

The default sub-field separator value is a semicolon (;). To specify a value other than the default, assign any printable character to the Managed System parameter in SCRIPT_SEP_FIELD in the RSSPARM file.

Example

Given the following:

  • SCRIPT_ SEP_ENTRY is set to ^

  • SCRIPT_SEP_FIELD is set to $

A List field contains the following data:

A1

A2

A3

B1

B2

B3

C1

C2

C3

D1

D2

D3

The above table of data values will be passed to the variable in a script as:

A1$A2$A3^B1$B2$B3^C1$C2$C3^D1$D2$D3