HPlogo System Debug Reference Manual > Chapter 6 System Debug Command Specifications M-X

UNMAP

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

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




UF


UPD