UNMAP [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
UNMAP
Closes (unmaps) a file that was opened by the MAP command.
Syntax
UNMAP index
Parameters
index The mapped file index number (displayed with the MAP and
MAPLIST commands).
Examples
$nmdebug > mapl
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 > unmap 2
$nmdebug > unmap mapindex("dtcdump.dumpuser.support")
$nmdebug > mapl
1 DTCDUMP.DUMPUSER.SUPPORT 1000.0 Bytes = 43dc
3 MYFILE.MYGROUP.MYACCT 1005.0 Bytes = 1004
Close the file DTCDUMP2.DUMPUSER.SUPPORT. Also, close the file
DTCDUMP.DUMPUSER.SUPPORT (by calling the MAPINDEX function that returns
the file index number 1).
Limitations, Restrictions
none
CAUTION The output format of all System Debug commands is subject to
change without notice. Programs that are developed to
postprocess System Debug output should not depend on the exact
format (spacing, alignment, number of lines, uppercase or
lowercase, or spelling) of any System Debug command output.
MPE/iX 5.0 Documentation