If  you  want  to  save  the  output,  you  should  issue  the  
without thePRINT   option  and  then  use  the  CMS   PRINT   command  to  print  the  LISTING   file.  CONTROLLING   COMMAND   LISTINGS   The  final  disposition  of  the  listing,  as  a  printer  or  disk  file,  depends  
on how you enter theAMSERV   command.  If  you  enter  the  AMSERV   command  
with no options, you get aLISTING   and  a  
filename equal to that of theAMSERV   input  file.  This  LISTING   file  is  
usually written on your A-disk, but if your A-disk is full or not
accessed, it is written on any other read/write
accessed.
If there is not enough room on your A-disk or any other disk, theAMSERV   command  issues  an  error  message  saying  that  it  cannot  write  the  
LISTING file. If this happens, theLISTING   file  created  may   be  
incomplete and you may not be able to tell whether or not access method
services actually completed successfully. In this case, after you have
cleared some space on a read/write disk, you may have to execute anAMSERV   PRINT   or  LISTCAT   function  to  verify  the  completion  of  the  prior  
job.
LISTING files take up considerable disk space, so you should erase
them as soon as you no longer need them.
If you do not wantAMSERV   to  create  a  disk  file  from  the  listing,  you  
canexecute   the  AMSERV   command   with  the  PRINT   option:  
amserv myfile (print
The listing is spooled to your virtual printer, and no disk file is
created.You   might  want  to  use  this  option  if  you  are  executing  a  PRINT   or  LISTCAT  control  statement  and  expect  a  very  large  output  listing  that  
you know cannotbe   contained  on  any  of  your  disks.  You   can  also  control  the  filename  of  the  output  listing  file  by  
specifying a second name on the
amserv listcat listcat1
In this example, the input file isLISTCAT   AMSERV   and  the  output  listing  
is placed in a file named LISTCAT1LISTING.   A  subsequent  execution  of  
this sameAMSERV   file:  
amserv listcat listcat2
creates a second listing file, LISTCAT2 LISTING, so that the listing
created from the first execution is not erased.
184IBM   VM/370   CMS   User's   Guide  
without the
on how you enter the
with no options, you get a
filename equal to that of the
usually written on your A-disk, but if your A-disk is full or not
accessed, it is written on any other read/write
accessed.
If there is not enough room on your A-disk or any other disk, the
LISTING file. If this happens, the
incomplete and you may not be able to tell whether or not access method
services actually completed successfully. In this case, after you have
cleared some space on a read/write disk, you may have to execute an
job.
LISTING files take up considerable disk space, so you should erase
them as soon as you no longer need them.
If you do not want
can
amserv myfile (print
The listing is spooled to your virtual printer, and no disk file is
created.
you know cannot
specifying a second name on the
amserv listcat listcat1
In this example, the input file is
is placed in a file named LISTCAT1
this same
amserv listcat listcat2
creates a second listing file, LISTCAT2 LISTING, so that the listing
created from the first execution is not erased.
184
 
             
            











































































































































































































































































































































































































































































































