PERFORM SECDISCOVERY

6.2 and later Applies to 6.2 and later.

Perform actions on the current set of security discovery data (SDD), for example, writing out the current set of security discovery data.

Syntax

Warning: System commands are powerful as they provide information about the state of the system and allow changes to be made to it. System commands should be used only by authorized applications and users.

Activate security checks on commands by specifying the XCMD system initialization parameter and by ensuring that command security checking is active for the transaction (either by specifying CMDSEC(YES) on the TRANSACTION resource definition or by specifying ALWAYS on the CMDSEC system initialization parameter).

PERFORM SECDISCOVERY

Read syntax diagramSkip visual syntax diagramPERFORM SECDISCOVERYACTION( CVDA)WRITE

Conditions: INVREQ, NOTAUTH

NOHANDLE, RESP, and RESP2 are common options that can be added to all EXEC CICS commands to process error conditions. They are not explicitly included in the command syntax diagram and option descriptions. For information about these common options and EXEC CICS command syntax, see EXEC CICS command format and programming considerations. For more information about the use of CVDAs, see CICS-value data areas (CVDAs).

Description

Use the PERFORM SECDISCOVERY command to perform actions on the current set of security discovery data.

Options

ACTION(CVDA)
Specifies the action to perform on the current set of security discovery data. The CVDA values are as follows:
WRITE
Immediately writes out the current set of security discovery data to the DFHSECD log. Note that CICS® writes the data out automatically as part of end-of-day processing.

Conditions

INVREQ
RESP2 value:
1
There is no security discovery data to write out.
2
Writing to the DFHSECD log stream failed.
3
An invalid CVDA value was specified on ACTION.
NOTAUTH
RESP2 value:
100
The user associated with the issuing task is not authorized to use this command.