Setting racf security for cli commands – HP XP P9500 Storage User Manual

Page 31

Advertising
background image

Example of dynamically linking the LINKLIB load library to LNKLST

, page 31

Example of dynamically linking the LINKLIB load library to LNKLST

This section explains an example of dynamically linking the LINKLIB load library to

LNKLST

.

In this example, the currently-active

LNKLST

is switched from the original

LNKLST

to a temporary

LNKLST

, and during this time, the original

LNKLST

is connected to the LINKLIB load library. Dynamic

changing of

LNKLST

affects the jobs that are currently being executed. Before carrying out this

procedure, see the IBM manual relating to

LNKLST

, and check the required notes on dynamically

changing

LNKLST

.

1.

Determine the active

LNKLST

by issuing the following command.

D PROG,LNKLST

The currently-active

LNKLST

(original

LNKLST

) is assumed to be

LNKLST00

.

2.

Copy

LNKLST00

, and then define a temporary

LNKLST

(

LNKLST99

).

SETPROG LNKLST,DEFINE,NAME=LNKLST99,COPYFROM=LNKLST00

3.

Activate temporary

LNKLST

(

LNKLST99

).

SETPROG LNKLST,ACTIVATE,NAME=LNKLST99

4.

Apply all jobs that are being executed to the temporary

LNKLST

(

LNKLST99

).

SETPROG LNKLST,UPDATE,JOB=*

5.

Add the LINKLIB load library to the original

LNKLST

(

LNKLST00

).

SETPROG LNKLST,ADD,NAME=LNKLST00,DSN=loadlib_dataset_name

6.

Reactivate original

LNKLST

(

LNKLST00

).

SETPROG LNKLST,ACTIVATE,NAME=LNKLST00

7.

Re-apply all jobs that are being executed to the original

LNKLST

(

LNKLST00

).

SETPROG LNKLST,UPDATE,JOB=*

8.

Remove the temporary

LNKLST

(

LNKLST99

).

SETPROG LNKLST,UNDEFINE,NAME=LNKLST99

For details on the

SETPROG

command, see the manual MVS System Commands.

Setting RACF security for CLI commands

To use Smart Manager for Mainframe CLI commands, you must set up RACF security. Assign user
permissions to use CLI operation commands or CLI reference commands.

User Guide

31

Advertising