MOVEFILE with a filename equal to the membername and a filetype of MACRO. Note that the output ddname was not specified in full, so that eMS assigned the default file definition (FILE ddname).
3. You cannot copy VSAM data sets with the MOVEFILE command.
4 The MOVEFILE command does not support data containing
records. Use of spanned records results in the error DMSSOP036E and an error code of 7.
spanned
message
5. To copy an entire partitioned data set into another partitioned
data set, use the COPYFILE command. If an attempt is made to use
the MOVEFILE command without the PDS option for a partitioned data
set, only the first member is copied and an end-of-file condition
results. The resultant output file will contain all input records,
including the header, until the end of the first member.
If a record format (RECFM), blocksize (BLOCK), and logical record length
(LRECL) are specified on the FILEDEF command, these values are used in
the data control block (DCB) defining the characteristics of the move
operation. If the FILEDEF was issued without a record format or
blocksize specified, these values are determined according to the
defaults listed in Figure 17. If the blocksize was not specified, the
default blocksize is used. If tne logical record length was not
specified, the default logical record length is determined as follows:
for an F or U record format, the logical record length equals the
blocksize; for a V record format, the logical record length equals the
blocksize minus 4. r , Input 1 , Device RECF!! 1------ , Card Reader F , I Card Punch NA2 , , Printer NA2 , I '!'erminal IT , , Tape! IT , , , Disk file RECF!! of , file , , Dummy NA2
i 1----- ddname
Blocksize 80 NA2
NA2 130 3600 Blocksize of
file
NA2
output ddname RECFM NA2
F IT u RECF!! of
input ddname RECF!! of
input ddname RECF!! of
input ddname
Blocksize 80 132 130 Blocksize of
input ddname
Blocksize of
input ddname
Blocksize of
input ddname , lIf the default record format and blocksize are used in a , tape-to-tape move operation and an input record is greater than 36001 , bytes, it is truncated to 3600 bytes on the output tape. , I 2Not applicable. , L-. 1
Figure 17. Default Device Attributes for MOVEFILE Command
section 2. CMS Commands 135
MOVEFILE DMSMVE225I PDS MEMBER 'membername' MOVED The specified member of an OS partitioned data set was moved
successfully to a CMS file. This response is issued for each
member moved when you use the PDS option. DMSMVE226I END OF PDS MOVE The last member of the partitioned data set was moved successfully
to a CMS file. DMSMVE706I TERM INPUT -- TYPE NULL LINE FOR END OF The input ddname in the MOVEFILE specified
terminal. This message requests the input
terminates input.
a device type of
data; a null line DMSMVE70AI DISK FILE 'FILE ddname FOR 'ddname'
No file definition is in effect for a ddname specified on the MOVEFILE command. The MOVEFILE issues the default FILEDEF command:
FILEDEF ddname DISK FILE ddname If file ddname does not exist for the input file, MOVEFILE terminates processing. DMSMVE002E FILE 'fn ft fm' NOT FOUND RC=28 DMSMVE003E OPTION 'option' RC=2q DMSMVE037E OUTPUT DISK 'mode' IS RC=36 DMSMVE041E INPUT OUTPUT FILES THE RC=QO DMSMVE069E OUTPUT DISK 'mode' IS NOT RC=36 DMSMVE070E 'parameter' RC=2Q DMSMVE073E TO OPEN FILE ddname RC=28 DMSMVE075E DEVICE 'device name' FOR {INPUTIOUTPUT} RC=QO DMSMVEOQ6E 'ddname' RC=2Q DMSMVE127S UNSUPPORTED DEVICE FOR ddname RC=100 DMSMVE128S 1/0 ERROR ON INPUT AFTER READING nnnn RECORDS: INPUT ERROR code ON RC=100 DMSMVE129S 1/0 ERROR ON OUTPUT WRITING RECORD NUMBER nnnn: OUTPUT ERROR code ON ddname RC=100 DMSMVE130S BLOCK SIZE ON V FORMAT FILE ddname IS LESS THAN 8 RC=88
136 IBM VM/370 CMS Command and Macro Reference
Previous Page Next Page