IDMS: All supported releases.
A possible cause of this error is that the CV's System Generation contains user-defined lterms with the name LDnnnnnn - where nnnnnn are digits.
IDMS internally generates freestanding logical terminals for certain tasks such as batch or CICS erus, set timer and queue threshold tasks. These lterms are assigned internal names of the format LDnnnnnn where nnnnnn represents an integer starting with 0 and increasing by 1 for as many as the CV needs to define.
This means that users must not define lterms of their own with this naming convention.
An attempt to do so will result in the DC050017 errors at run time, and the CV may abend with a 3964.