Allocating the system log data set (SLDS)
A system log data set (SLDS) is the single or dual log data set that is created by IMS batch execution on tape or DASD. The SLDS is dynamically allocated to the address space if needed for restart. Define the SLDS (with ddname IMSLOGR) through the dynamic allocation macro DFSMDA.
An SLDS is also one of the output data sets created when the Log Archive utility is used to archive an OLDS. The Log Archive utility can also be used to copy a batch log (SLDS) from DASD to tape (or another DASD data set).
When the Log Archive utility is used to archive an OLDS to tape, you can force the primary and secondary SLDS volumes to contain the same data by specifying the number of log blocks per volume. SLDS block size can be different from the block size of the OLDSs being archived, but the block size of the primary SLDS must be the same as the secondary SLDS block size.
If 3480 tape drives are used for logging, they are forced to run in tape-write-immediate mode.
If SMS-managed generation data sets (GDS) are used for the SLDS, certain error conditions might cause the SLDS to be overwritten. For batch allocations of SMS GDS, the data set is cataloged in deferred roll-in status at step allocation time, and rolled-in at step deallocation time. If a power failure occurs after the SLDS has been written and closed, but before step deallocation, IMS assumes the SLDS is valid; however, SMS does RECLAIM processing at the next allocation. RECLAIM processing means that a data set in deferred roll-in status is reused. For DISP=NEW, the new data would overwrite the existing data.
An SLDS can be defined as an extended-format data set.