Found entries in the master catalog with names such as SYSYYQQQ.Thhmmss.RA0.jobname.tempfile
Further investigation has shown that these have all come from Endevor jobs.
In the Job output we see things like:
DSN (SYSYYQQQ.Thhmmss.RA0.jobname.tempfile )
STORCLAS (storclas) MGMTCLAS (mgmtclas) DATACLAS (dataclas )
VOL SER NOS= volser
Why are temporary files allocated correctly but when written to in the next step using DISP=MOD, they are catalogued?
All Supported Releases
With DISP=MOD, datasets are pseudo-catalogued and allocated with hlq=SYSYYQQQ, and this is where the problem arises, because the system attempts to catalogue them in the Master Catalog and many sites don't allow their users such access.
When this is allowed, the system creates a catalog entry and catalogues these files.
If you are using DISP=MOD, then do:
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 temporary 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.