CM as a Secondary Program

In a nonmultiuser system, CI can be used as a secondary program scheduled on interrupt from a terminal. It will be called CM and it will execute one command and then terminate. To enable CI this way, use the following command:

CN,lu,40b,progname,,,CM

CI must be restored to the progname specified. The parameter CM is passed to the program and instructs it to accept only one command and then exit. The three commas must be included as placeholders. You may wish to RP a different copy of CI as a primary program for each terminal, and another as a secondary program. The following sequence in the welcome file will enable primary and secondary programs for two terminals.

*RP copies of CI for various terminals RP,CI.RUN::PROGRAMS,CI1 RP,CI.RUN::PROGRAMS,CI3 RP,CI.RUN::PROGRAMS,CM1

*enable each terminal for the right CI CN,1,20B,CI1

CN,1,40B,CM1,,,CM

CN,3,20B,CI3

CN,3,40B,CM3,,,CM

Note that this applies only to nonmultiuser systems. In a multiuser system, PROMT should be the primary program and there should not be any secondary program. PROMT will schedule CM as required in a multiuser system. Also note that when CI completes the welcome file, its ID segment will be released. The primary and secondary program must be RP'd to be scheduled. Thus you do not want the same copy of CI to execute the welcome file and be the primary or secondary program.

Backing Up the Target System

Once your system has been installed and is operating correctly, copy the system, snapshot, boot control files and the type 6 program files for backup onto a removable disk or magnetic tape. This will allow you to recover in the event of a disk hardware failure or an accidental purging of your system. The following methods can be used for system backup.

The FST or TF (or FC) utility will not create bootable system files; these should not be used for system backup. Refer to the RTEA System Manager's Manual, part number 9207790056, for information on a system backup strategy.

The ASAVE utility can be used online to save any disk LU containing the above system files onto DAT tape, magnetic tape, or CS/80 CTD. This LU can then be restored using an offline memorybased RTEA system containing the ARSTR utility. Refer to the RTEA Backup and Disk Formatting Utilities Reference Manual, part number 9207790249, for more information on ASAVE and ARSTR.

The COPYL utility copies an entire disk LU to another LU on a similar disk. Both source and destination LUs must have the same number of tracks and sectors per track. Refer to the RTEA User's Manual for more information on COPYL.

DiskBased System Installation Procedure 919