SM Save Command Memory

SM [file | [lib] ([t/] element) ]

Save Memory. The contents of the CFS-internal Command Memory (FILENAME-SELECT and USER-ID field entries, command entries, Connection entries) are saved to a file, or to a PLAM library element.

file Name of the file to which the Command Memory contents should be saved.

lib ([t/] element)  Name of the library and the element to which the Command Memory contents should be saved. If no element type is specified, then the standard, S (Source) will be assumed.

([t/] element)  If the library name is not specified, then the name of the CFS userlib will be assumed. For a full description of the userlib, see Chapter 21.

If no file or element name is specified with the SM command, then the standard name of CFS.MEM.STD.jobname will be used, or CFS.MEM.STD.acct if no jobname was given at the LOGON.

Format of the SM File:

The Command Memory consists of 2 to 12 different sections:

1) Entries in the FILENAME-SELECT field of the Selection mask.

2) Entries in the Command field of the second CFS mask (File list).

3) Entries for Connection 0.

.........

12) Entries for Connection 9.

Each section of the Command Memory has a header record in the SM file consisting of one of the following types : "$FILENAME-SELECT:", "$COMMAND:", "$CON0:", ..., "$CON9:". Each entry will then be stored in the SM file as an individual record.

See also the commands AMC (Automatic Memory Compression) on page 18-, SM (Save Memory) on page 7-, as well as the pages 4-, 7-, 9-.