Pg. of GC20-1819-2 Rev March 30, 1979 by Supp. S£23-9024-1 for 5748-XX8 ERROR PROCESSING When the standard label processing routines find errors or discrepancies
on tape labels, they send a message to theCMS terminal user who is
processing the tape. After an error message is issued, the user can ask
the system operator to mount a new tape, use theCMS TAPE command to
position the tape at a different file, or respecify his label
description information. Ifyou are a terminal user and want another
tape mounted, you send the system operator a message telling him what
tape to mount.Some errors cause program termination and others do not. The effect
of tape label processing errors depends on both the type of error and
the type of program (that is,CMS/DOS, OS simulation, CMS command, etc.)
that invokes the label processing. The following are general guidelines
on error handling:• Messages identifying the error are always issued. • Onder OS simulation, tape label errors result in open errors. These
errors prevent a tape file from being opened. They do not
necessarily end a job. Errors in trailer labels (except block count
errors) have no effect on processing.• In CMS/DOS, the terminal user is generally given two choices: ignore
the error or cancel the job. The new-tape option is not allowed.• The CMS commands TAPEMAC and TAPPDS terminates with a non-zero return
code after a tape label error.• Certain error situations such as unexpired files and block count
errors forOS simulation allow the user to ignore the error and do
not cause open errors. In these cases, the user enters his decision
at the terminal after he is notified of the error.• Errors that occur during the loading of an NSt routine cause an abend
(code 155 or 15A). A block count abend gives an error code of500. In all cases, after an error has been detected and diagnosed, you
.ust decide what to do. youmay wish to have a new tape mounted and
then re-execute the command or youmay want to respecify your tABELDEF
description if itWas incorrect. You can also use the TAPE command to
space the tape to a new file if it was positioned incorrectly.
THEMOVEFILE COMMAND The MOVEFILE command can copy sequential tape files into disk files, or
sequential disk files onto tape. It can be particularly useful when you
need to copy a file from a tape and you do not know the format of the
tape.
To use theMOVEFILE command, you must first define the input and
output files using the FILEDEF command. Forexample, to copy a file from
a tape attached to your virtual machine at virtual address 181 to aCMS disk, you would enter:
filedef input tap1
filedef output disk tape file a
movefile input output
122.14 IBMVM/370 CMS User's Guide
on tape labels, they send a message to the
processing the tape. After an error message is issued, the user can ask
the system operator to mount a new tape, use the
position the tape at a different file, or respecify his label
description information. If
tape mounted, you send the system operator a message telling him what
tape to mount.
of tape label processing errors depends on both the type of error and
the type of program (that is,
that invokes the label processing. The following are general guidelines
on error handling:
errors prevent a tape file from being opened. They do not
necessarily end a job. Errors in trailer labels (except block count
errors) have no effect on processing.
the error or cancel the job. The new-tape option is not allowed.
code after a tape label error.
errors for
not cause open errors. In these cases, the user enters his decision
at the terminal after he is notified of the error.
(code 155 or 15A). A block count abend gives an error code of
.ust decide what to do. you
then re-execute the command or you
description if it
space the tape to a new file if it was positioned incorrectly.
THE
sequential disk files onto tape. It can be particularly useful when you
need to copy a file from a tape and you do not know the format of the
tape.
To use the
output files using the FILEDEF command. For
a tape attached to your virtual machine at virtual address 181 to a
filedef input tap1
filedef output disk tape file a
movefile input output
122.14 IBM