You can allocate VSAM temporary data sets by specifying RECORG=KS|ES|LS|RR
as follows:
- By the RECORG keyword on the DD statement or the dynamic allocation
parameter
- By the data class (if the selected data class has the RECORG attribute)
- By the default data class established by your storage administrator
(if the default data class exists and has the RECORG attribute)
Using temporary data sets avoids the following problems:
- The data set can be defined in a catalog for which you are not
authorized.
- The data set can be assigned to an RACF user or group ID for which
you are not authorized. The data set can also be assigned to an ID
that is not defined to RACF, in which case the allocation will fail
either if the RACF option that required protection of all data sets
is in effect, or if the data set requires a discrete RACF profile.
- The allocation can fail because there is already a data set cataloged
with that name. This failure would be likely if there are many jobs
using the same data set names for what were regarded as temporary
data sets.