System Debug Reference Manual (32650-90888)
Chapter 10 409
System Debug Standard Functions
func mapsize
Formal Declaration
pindex:u16 (
filename
:str)
Parameters
filename
The name of the previously mapped file whose index number is to be
returned.
Examples
$nmdebug > maplist
1 DTCDUMP.DUMPUSER.SUPPORT 1000.0 Bytes = 43dc
2 DTCDUMP2.DUMPUSER.SUPPORT 1001.0 Bytes = c84
3 MYFILE.MYGROUP.MYACCT 1005.0 Bytes = 1004
$nmdebug > wl mapindex("DTCDUMP")
$1
Limitations, Restrictions
none
func mapsize
Returns the size in bytes of the specified mapped file.
Syntax
mapsize (
filename
)
Formal Declaration
mapsize:u32 (
filename
:str)
Parameters
filename
The name of the previously mapped file whose size is to be returned.
Examples
$nmdebug > maplist
1 DTCDUMP.DUMPUSER.SUPPORT 1000.0 Bytes = 43dc
2 DTCDUMP2.DUMPUSER.SUPPORT 1001.0 Bytes = c84
3 MYFILE.MYGROUP.MYACCT 1005.0 Bytes = 1004
$nmdebug > = mapsize("DTCDUMP2.DUMPUSER")
c84