While creating a processes from another Endevor instance updating system required attributes, I received an error executing. The processor is failing on the first temporary dataset with the error below.
ICH408I USER(userid ) GROUP(groupid ) NAME(user name ) 017
017 SYSyyqqq.Thhmmss.RA0.jobname.tempfile CL(DATASET ) VOL(volser)
017 DEFINE - RESOURCE NOT PROTECTED
C1A0010E ALLOCATION ERROR RC=9700-0402, DDNAME=
C1A0011E IKJ56894I DATA SET SYSYYQQQ.THHMMSS.RA0.JOBNAME.TEMPFILE NOT ALLOCATED+
C1A0012E IKJ56894I STORAGE MANAGEMENT SUBSYSTEM DETECTED AN ERROR, EITHER MESSAGES WERE NOT REQUESTED OR
The issue comes from the DISP=(MOD,PASS) coded to allocate temporary file &&tempfile in a step. The RACF OPTION PROTECTALL requires temporary files to be ra000 but Endevor create them as ra0. Since DISP=MOD is not supported for a SVC99 allocation, Endevor will allocate those datasets as a permanent file.
Option 1 – Modify the DISP usage:
Avoid DISP=MOD in the processor step.
Use a DISP setting that does not trigger permanent allocation (e.g., DISP=(NEW,PASS)).
Option 2 – ENHOPT DS_INTERNAL_TEMP:
Enable the optional feature in the ENCOPTBL table:
If DS_INTERNAL_TEMP is set to ON then the RA0 qualifier will be changed to RA000 which follows RACF temportary file standards.
Option 3 – Update C1DEFLTS:
Set the following parameter in C1DEFLTS:
to ensure Endevor allocates the dataset under a RACF-protected high-level qualifier.
If your site security package requires temporary data sets to follow IBM naming standards, then the effective name is: SYSyyddd.Thhmmss.RA000.ddname
For more information about the temporary data sets, see the optional feature: DS_INTERNAL_TEMP in the ENCOPTBL table.