Stores KSAM file on magnetic tape or serial disc.
This command is used to store one or more disc files onto magnetic tape or serial disc. When used to store KSAM files, both the data file and the key file must be specified.
USING THE :STORE COMMAND |
 |
Before issuing a :STORE command, you must identify the storefile as a magnetic tape or as a serial disc with the :FILE command using the following format:
:FILE formaldesignator [=filereference] ;DEV=device
|
The device parameter must indicate the device class name or logical unit number of a magnetic tape or serial disc unit, All other parameters for storefile are supplied by the :STORE command executor; if you attempt to supply any of these yourself, MPE rejects the :STORE command.
If you press the BREAK key during the store operation, the operation stops after storing the current file and further output is suppressed.
For example, to copy KSAM file KSAMDATA to a magnetic tape file named SAVE FILE
:FILE T=SAVEFILE;DEV=TAPE
:STORE KSAMDATA,KSAMKEY;*T
↑ ↑
| |
data file key file
|
Note that both the data and key file must be specified in order to store the entire KSAM file.
If you want to copy this same file to a serial disc, use the following command sequence:
:FILE SD=SAVEFILE;DEV=SDISC
:STORE KSAMDATA, KSAMKEY;*SD
|