DCUF SET DICTNAME SYSDIRL fails with:-
IDMS DC402012 V500 DICTNAME SYSDIRL INVALID OR INACCESSIBLE
Even though the same dictionary can be accessed in IDD.
Most likely, the DDLDCLOD or DDLDCMSG area for the dictionary are unavailable for some reason (e.g. status N/AV or varied offline).
This won’t prevent IDD from working but the DCUF command will fail.
Note that if the dictionary happens to be the default dictionary, the attempt to access it with IDD will fail anyway with:-
PREVIOUS TASK ABENDED WITH ABEND CODE D002 AND MESSAGE CODE 021006
IDMS DC021006 V65 T82 3BC22336 TASK:IDD; DATABASE I/O ERROR TRYING TO LOAD IDDSMAP FROM DICTIONARY
Determine the problem with the DDLDCLOD or DDLDCMSG area and fix it.
For example, use DCMT DISPLAY AREA and DCMT DISPLAY FILE commands to display the area and files within the dbname or segment in question and look for a problem in the status of the output.
The most common course of action would be to shut the CV down, UNLOCK the areas and start the CV again.
Depending on the nature of the problem, a restore may also be necessary.