Modifying the naming pattern
The naming pattern of the data set that has the TEST
runtime
option is in the form of a sequential data set name. You can optionally
specify a &USERID
token, which z/OS® Debugger substitutes
with the user ID of the current user. You can also add a &PGMNAME
token,
which z/OS Debugger substitutes
with the name of the main program (load module). However,
if users create and manage the TEST runtime option data set with the DTSP
Profile view in the remote debugger, do not specify the &PGMNAME
token
because the view does not support that token.
In some cases, the first character of a user ID is not valid for
a name qualifier. A character can be concatenated before the &USERID
token
to serve as the prefix character for the user ID. For example, you
can prefix the token with the character "P" to form P&USERID
,
which is a valid name qualifier after the current user ID is substituted
for &USERID
. For IMS, &USERID
token
might be substituted with one of the following values:
- IMS user ID, if users sign on to IMS.
- TSO user ID, if users do not sign on to IMS.
The default naming pattern is &USERID.DBGTOOL.EQAUOPTS
.
This is the pattern that is in the load module provided in hlq.SEQAMOD
.
The following table shows examples of naming patterns and the corresponding data set names after z/OS Debugger substitutes the token with a value.
Naming pattern | User ID | Program name | Name after user ID substitution |
---|---|---|---|
&USERID.DBGTOOL.EQAUOPTS | USERIBM | USERIBM.DBGTOOL.EQAUOPTS | |
P&USERID.EQAUOPTS | 123456 | P123456.EQAUOPTS | |
DT.&USERID.TSTOPT | TESTID | DT.TESTID.TSTOPT | |
DT.&USERID.&PGMNAME.TSTOPT | TESTID | IVP1 | DT.TESTID.IVP1.TSTOPT |
To customize the naming pattern of the data set that has TEST
runtime
option, change the value of the DSNT DC statement in the sample user
exit. For example:
* Modify the value in DSNT DC field below.
*
* Note: &USERID below has one additional '&', which is an escape
* character.
*
DSNT_LN DC A(DSNT_SIZE) Length field of naming pattern
DSNT DC C'&&USERID.DBGTOOL.EQAUOPTS'
DSNT_SIZE EQU *-DSNT Size of data set naming pattern
*