NAMETOKN data-descr
{ NAME((name)) }
[ LIST | NOLIST]
[ CLIST (TOKEN(variable-name) ) ]
[ DIALOG (TOKEN(variable-name) ) ]
[ REXX (TOKEN(variable-name) ) ]
-------- SETDEF-Defined Parameters -------------------------
Note: You can override the following SETDEF parameters.
See
SETDEF subcommand — set defaults.
[ FLAG(severity) ]
[ PRINT | NOPRINT ]
[ TERMINAL | NOTERMINAL ]
[ TEST | NOTEST ]
Data description parameter explains the use and syntax of the data description parameter.
NAMETOKN TCB65A NAME((TASKLEV_NAME_003))
NAMETOKN 0F8640. STRUCTURE(TCB) ASID(65) NAME((TASKLEV_NAME_003))
NAMETOKN ASCB65 NAME((ASCBLEV_NAME_003))
NAMETOKN 0F2200. STRUCTURE(ASCB) NAME((ASCBLEV_NAME_003))
NAMETOKN 0 NAME((SYSTLEV_NAME_003))
NAMETOKN CVT NAME((SYSTLEV_NAME_003))
If you do not specify a data-descr parameter, NAMETOKN assumes the token you want to retrieve is from a system-level name/token pair.
NAMETOKN NAME((X'007D3A23'))
In this case, NAMETOKN does not treat the apostrophes and the letter X literally.
CLIST directs that the value be stored in CLIST variable storage.
DIALOG directs that the value be stored in ISPF function pool dialog variable storage.
REXX directs that the value be stored in REXX variable storage.
See Standard subcommand return codes for a description of the return codes produced by the NAMETOKN subcommand.
COMMAND ===> NAMETOKN CVT NAME((SYSTLEV_NAME_003))
The following output is produced.
System level
TOKEN.... SYSTLEV_NAME_003_token
NAME..... SYSTLEV_NAME_003_name
ASID..... 000F
Persistent
Created by authorized program
In the IPCS dialog, specify your dump data set and options.
===> NAMETOKN 0 NAME((DSNLOGREC))
The following NAMETOKN output is produced.
System level
TOKEN.... 01CE0020 0100002C 00000000 00000000
NAME..... DSNLOGREC
ASID..... 0010
Persistent
Created by authorized program
Browse your dump data set to look at the address in the NAMETOKN output.
ASID(X'0010') is the default address space
PTR Address Address space Data type
00001 00000000 ASID(X'0010') AREA
Remarks:
Add a pointer entry that has the address from field 1 in the NAMETOKN output.
ASID(X'0010') is the default address space
PTR Address Address space Data type
00001 00000000 ASID(X'0010') AREA
Remarks:
s0002 01CE0020 ASID(X'0010') AREA
Remarks:
Select a new pointer to obtain a display of the logrec data set name.
01CE0020 E2E8E2F1 4BD3D6C7 D9C5C340 40404040 | SYS1.LOGREC |
01CE0030 TO 01CE004F (X'00000020' bytes)--All bytes contain X'40', C' '