ibm:vm370-lib:cmshelp:disk.helpcmd
DISK
CMS Commands
- disk.helpcmd.txt
DISK CMS Transient command Use the DISK command to punch CMS disk files to the virtual spooled card punch in a special format which allows the punched deck to be restored to disk in the form of the original disk file. Also, use the DISK command to restore punched decks created by the DISK DUMP command to a disk file. The format of the DISK command is: +----------+------------------------------------------------------------------+ | DISK | DUMP fn ft [fm] | | | LOAD | +----------+------------------------------------------------------------------+ where: DUMP fn ft fm punches the specified file (fn ft fm). The file may have either fixed- or variable-length records. After all data is punched, an end-of-file card is created with an N in column 5. This card contains directory information and must remain in the deck. The original disk file is retained. LOAD loads a file or files from the spooled card reader and writes them as CMS files on your A-disk. A file may also be loaded to a disk other than your A-disk through the use of the prompting facility. The filename and filetype are obtained from the card stream. If a file exists with the same filename and filetype as one of those in the card stream, it is replaced. Usage notes: 1. To read files with the DISK LOAD command, they must have been created by the DISK DUMP command. To load spooled reader files created in any other manner, use the READCARD command. 2. To load reader files created by DISK DUMP, you must issue the DISK LOAD command for each spool file. For example, if you enter: disk dump source1 assemble disk dump source2 assemble the virtual machine that receives the files must issue the DISK LOAD command twice to read the files onto disk. If you use the CP SPOOL command to spool continuous, for example: cp spool punch cont disk dump source1 assemble disk dump source2 assemble cp spool punch nocont close then you only need to issue the DISK LOAD command once to read both files.
ibm/vm370-lib/cmshelp/disk.helpcmd.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator