IDIDSECTdsn command

The IDIDSECTdsn command can be used to query or modify the IDIDSECT data set concatenation (for details about this DDname, see DataSets) to ensure that the correct DSECT mapping is used for a given version of a product, for example CICS®.

Figure 1. Syntax

1  IDIDSECTDSN
2.1  GET ( var_name )
2.1  SET ( var_name )
where:
GET(var_name)
Specifies that the current IDIDSECT data set concatenation is returned in the REXX variable var_name. The data set names in the returned list are blank delimited.
SET(var_name)
Specifies the name of a REXX variable containing the list of data set names that replace the current IDIDSECT concatenation. Multiple data set names must be separated by one or more blanks.

Return codes

The IDIDSECTdsn command provides the following return codes:
0
Successful completion.
4
Command syntax error. An explanation of the error is written to the IDITRACE DDname.

Example

Figure 2. IDIDSECTdsn command example
/* REXX */

/* Place MY.DSECTS data set first in the IDIDSECT concatenation */
"IDIDSECTdsn GET(dsnlist)"
if RC = 0 then say 'Current IDIDSECT concatenation:' dsnlist
else exit 4
dsnlist = 'MY.DSECTS' dsnlist
"IDIDSECTdsn SET(dsnlist)"
if RC = 0 then say 'IDIDSECT concatenation changed to:' dsnlist