HP XP Command View Advanced Edition Software User Manual

Page 42

Advertising
background image

Procedure

1.

Execute the following

KTSETENV

command.

START KTSETENV,PARM='parameter=parameter-value'

2.

Use the

KTDSPENV

command as follows to confirm that the environment variables have been

specified correctly:

START KTDSPENV,PARM='DETAIL'

Example of executing the

KTSETENV

command

When setting the name of the license information dataset to

HPQ1.HPQ2.CCENTRAL.LICENSE

START KTSETENV,PARM='YKLCNSE=HPQ1'

START KTSETENV,PARM='YKLCNS2=HPQ2'

When specifying whether to use the system logger service to collect event logs

START KTSETENV,PARM='LOGPUT=LOGR'

(if using the system logger service)

START KTSETENV,PARM='LOGPUT=SAM'

(if not using the system logger service)

When specifying whether to output CLI command execution logs to SYSLOG

START KTSETENV,PARM='SYSLOG=YES'

(if outputting to SYSLOG)

START KTSETENV,PARM='SYSLOG=NO'

(if not outputting to SYSLOG)

TIP:

This setting is invalidated if an IPL is performed again. Perform either of the following in caseyou need
to perform an IPL again the next time:

Add the

KTSETENV

command to the

COMMNDxx

parmlib member to automatically set the envir-

onment variables when an IPL is performed again.

For the

IEASYMxx

parmlib member, specify the system symbols so that the statically-registered

settings will be used the next time an IPL is performed.

TIP:

Use either the environment variables or the system symbols to specify both

prefix-1

and

prefix-2

.

If you use the environment variable to specify

prefix-1

and use the system symbol to specify

prefix-2

, the process of determining the prefixes will be complicated.

Installation and setup

42

Advertising