then  only  the  record  00002500   is  deleted.  If  the  file  contains  
./ D2500   2800   then  all  the  statements  from  2500   through  2800   are  deleted  from  the  
source file.
REPLACEStatement:   The  REPLACE  statement  allows  you  to  replace  one  or  iore-records-In-the   source  file.  It  precedes  the  new  records  you  want  
to add. It is a combination of the DELETE andINSERT   statements.  For  
example, the lines
./ R38000   38500   PLIST   DS   OD   DC  CL8'TYPE'   DC  CL8"   DC  CL8'FILE'  
DC CL8'Al'
DC8X'FF'   replace  existing  statements  numbered  38000   through  38500   with  
lines of code. As with theINSERT   statement,  new  lines  
automatically resequenced.
the new
are notUse   this  statement  when  you  want  to  place  comments  in  
the update log file. Forexample,   the  line:  
./ * Changes by JohnJ.   programmer  
is not processedby   the  UPDATE   command  when  it  creates  the  new  source  
file, but it is written into the update log file.SEQUENCING   OUTPUT   RECORDS   The  UPDATE   command  expects  source  files  to  have  sequence  numbers   in  
columns 73 through80.   If  you  use  the  SERIAL   subcommand  of  the  your   files,  the  sequence  numbers  are  usually  written  
in columns 76 through80;   columns   73  through  75  contain  a  
three-character identifier which is usually the first three characters
of the filename. If you want an eight-character sequence nuaber, youmust   use  the  subcommand:   serial  all  
prior to issuing a FILE orSAVE   subcommand  when  you  are  editing  the  
file.Or,   you  can  create  an  UPDATE   file  with  the  single  record:  
./S   and  issue  the  UPDATE   command  to  sequence  the  file.  
If you use theUPDATE   command  with  a  file  that  has  been  sequenced  
using themust   use  the  NOSEQ8   option.  
Otherwise, theUPDATE   command  cannot  process  your  input  file.  The  
command:
updatesample   (noseq8  
tellsUPDATE   to  use  only  columns  76  through  80   when  it  looks  for  
sequence numbers.
Figure 22 shows the four files involved in
contents.
254IBM   VM/370   CMS   User's   Guide  
./ D
source file.
REPLACE
to add. It is a combination of the DELETE and
example, the lines
./ R
DC CL8'Al'
DC
lines of code. As with the
automatically resequenced.
the new
are not
the update log file. For
./ * Changes by John
is not processed
file, but it is written into the update log file.
columns 73 through
in columns 76 through
three-character identifier which is usually the first three characters
of the filename. If you want an eight-character sequence nuaber, you
prior to issuing a FILE or
file.
./
If you use the
using the
Otherwise, the
command:
update
tells
sequence numbers.
Figure 22 shows the four files involved in
contents.
254
 
             
            











































































































































































































































































































































































































































































































