READCARD
READCARDUse the READCARD command to read data records from your rea1er to create eMS disk files containing the data
format of the READCARD command is:
virtual card
records. The
r-, , READcard
\r , , I fn ft I fm , I I I ! , I I L J I 1 r r " , I ( . , * , fm II , - , I I ! , I , I L L JJ , L -J fn is the filename you want to assign to the file being read.
ft
* [*]
fm
is the filetype you want to assign to the file being read.
indicates that file identifiers are to be assigned according
toREAD control cards in the input deck.
is the filemode of the disk onto which the file is to be read.
If this field is omitted or specified as an asterisk (*), the
A-disk is assumed.Whenever a mode number is specified on the
command line, it is used; otherwise, the mode number on the
READ control card is used to create the disk file.
1. Data records read by the READCARD command must be fixed-length
records, and may be a minimum of 80 and a maximum of 151 characters
long.
2. disk file identifiers are assigned according to READ control
cards in the input deck (thePUNCH command header card is a valid
READ control card). When you enter the command:
readcard * reads the first spool reader file in the queue and if there are
READ control cards in the input stream, it names the files as
indicated on the control cards.
If the first card in the deck is not a READ control card,CMS writes a file named READCARD CMSUT1 A1 to contain the data, until a
READ control. card is encountered or until the end-of-file is
reached.3. If you s?ecify a filename and filetype on the READCARD command, for
example:
readcard recent memoCMS does not check the input stream for READ control cards, but rea1s the entire spool file onto disk and it the specified
filename and filetype.
Section 2. :ommands 155
READCARD
format of the READCARD command is:
virtual card
records. The
r
\
ft
* [*]
fm
is the filetype you want to assign to the file being read.
indicates that file identifiers are to be assigned according
to
is the filemode of the disk onto which the file is to be read.
If this field is omitted or specified as an asterisk (*), the
A-disk is assumed.
command line, it is used; otherwise, the mode number on the
READ control card is used to create the disk file.
1. Data records read by the READCARD command must be fixed-length
records, and may be a minimum of 80 and a maximum of 151 characters
long.
2.
cards in the input deck (the
READ control card). When you enter the command:
readcard *
READ control cards in the input stream, it names the files as
indicated on the control cards.
If the first card in the deck is not a READ control card,
READ control. card is encountered or until the end-of-file is
reached.
example:
readcard recent memo
filename and filetype.
Section 2.