beautypg.com

Ktsetenv – HP XP Command View Advanced Edition Software User Manual

Page 179

background image

START KTDSPENV,PARM='DETAIL'

KTA403I HP XP7 Smart Manager for Mainframe

KTA400I Environment variables (v.r.m-nn(zz))

KTA401I License info DSN prefix: HPQ1.HPQ2

KTA401I Event log output method: SAM

KTA401I CLI log output settings: NO

KTA402I YKLCNSE = HPQ1 (&YKLCNSE = N/A )

KTA402I YKLCNS2 = HPQ2 (&YKLCNS2 = N/A )

KTA402I LOGPUT = SAM (&YKLOGPT = "LOGR" )

KTA402I SYSLOG = NO (&YKSYSLG = "YES" )

KTSETENV

Function

Use this command to set the following values using environment variables.

Prefixes of the license information dataset

Output method of event logs

Whether CLI command-execution logs are output to SYSLOG

Command type

OS console command

Format

START

1

KTSETENV,

PARM='{YKLCNSE=[prefix-1]|

YKLCNS2=[prefix-2]|

LOGPUT=[{LOGR|SAM}]|

SYSLOG=[{YES|NO}]}[,...]'

Parameters

Multiple parameters can be specified for the maximum length that can be specified in the

PARM

parameter of the

START

command. If the same parameter is specified more than once, the instance

specified last takes effect.

YKLCNSE=

[

prefix-1

] ~ <8 or fewer alphanumeric characters>

Specify

prefix-1

for the license information dataset so that the name of the dataset is unique.

To remove the value of the environment variable

YKLCNSE

, specify

PARM='YKLCNSE='

.

YKLCNS2=

[

prefix-2

]: ~ <8 for few alphanumeric characters>

Specify

prefix-2

for the license information dataset so that the name of the dataset is unique.

To remove the value of the environment variable

YKLCNS2

, specify

PARM='YKLCNS2='

.

LOGPUT=

[

LOGR

|

SAM

]

Specify whether the system logger service is to be used when outputting event logs.

LOGR

Event logs are output using the system logger service.

User Guide

179