exist,  the  new  file  would  be  called  DUMP02   NCPDUMP.   The  file  thus  
created is retained for later use unless theERASE   option  is  specified,  
in which case the file is erased immediately after thedump   is  printed.  
ZAPService   Program  and  How  To  Use  It   ZAP   is  a  CMS   command   that  modifies  or  dumps   MODULE,   L01DLIB,   or  TXTLIB   files.  It  may   be  used  to  aodify   either  fixed  or   variable   length  ftODULE   files.  It  is  for  use  by   system   support  personnel  only.  
Input control records controlZAP   processing.  They  can  be  subaitted  
either from the terminal orfroa   a  disk  file.  Using   the  VER   and  REP   control  records,  you  can  verify   and  replace  data  or  instructions  in  a  
control section(CSECT).   Using   the  DUMP   control  record,  you  can  dump   all  or  part  of  a  CSECT,   or  an  entire  member   of  a  LOADLIB   or  TXTLIB   file,  
or an entiremodule   of  a  MODULE   file.  
Theformat   of  the  ZAP   co.mand   is:  ZAP   LOADLIB   (libname1  •••   libname3X   (option  •••   ()]]  {  
MODULE }  MODULE   L01DLIB   TXTLIB   libname   TXTLIB   .Ql!!ion§:   r  ,  r  ,  IIPRINT   I   IIBPUT   filenameilHOPRINTI   L  .J   L  .J  
indicates the type of file that is tobe   modified   or  duaped.  
is the library name contain-ing themeaber   to-be  .odified   or   duaped.  You   can  specify  one  to  three  library  naaes.  The  libname   is  valid   only  for  L01DLIB   and  TXTLIB   files.  
r ,!!RM   IPRINT   I   INOPRINTI   L  .J  
indicates that input to theZAP   service  program   is  subaitted  
through the terminal. If you specifyTEB!,   the  prompting  
message ENTER: is issued, andyou   can  then  enter  input  control  
records up to80   characters  long.  If  you   specify  PRINT   ¥ith    all  output  prints  on  the  printer,  but  only  error  
aessages display at the terminal. If you specifyROPRINT   with  TERM,   nothing  prints  on  the  printer.  All  output  except  
control records displays at theterminal.   r  ,  INPUT   filename  IPRINT   I   I   NOPRINT   I   L  .J  
specifies that input is submitted from a disk file,200   Vft/370   Operator's  Guide  
created is retained for later use unless the
in which case the file is erased immediately after the
ZAP
Input control records control
either from the terminal or
control section
or an entire
The
MODULE
indicates the type of file that is to
is the library name contain-ing the
r ,
indicates that input to the
through the terminal. If you specify
message ENTER: is issued, and
records up to
aessages display at the terminal. If you specify
control records displays at the
specifies that input is submitted from a disk file,
            
            


































































































































































































































































