DC601056. UNAUTHORIZED OPERATION in IDD. Received while trying to update an IDD module.
search cancel

DC601056. UNAUTHORIZED OPERATION in IDD. Received while trying to update an IDD module.

book

Article ID: 52236

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

Description:

While trying to update an IDD module, received error DC601056 UNAUTHORIZED OPERATION.

Solution:

IDD security is separate from the centralized IDMS security. You secure the 'IDD' entities in the dictionary by setting a dictionary option using the IDD or IDMSDDDL compilers:

SET OPTIONS FOR DICTIONARY
SECURITY FOR IDD IS ON.


When a MODULE entity is created, it is given a 'public access' clause.

PUBLIC ACCESS controls entity-occurrence security by identifying the extent to which unregistered users can access/update the requested entity occurrence.

The default, PUBLIC ACCESS IS ALL, allows any user with the proper entity-type authority to update and display the requested entity occurrence.

Entity-type authority is controlled through the USER statement.

See section 4.28 of the IDD DDDL Reference Guide.

Most likely the module trying to be updated when the DC601056 error occurs was defined with the clause PUBLIC ACESS IS ALLOWED FOR DISPLAY.

So, if the user is not registered for this entity, all they'll be able to do is display it.

Within the MODULE definition in IDD, you need to give that user authority for update.

MOD MODULE xx
USER uuu REGISTERED FOR UPDATE.

Where xx is the module name, and uuu is the IDD userid.

This should give the user update authority on just THIS module.

Environment

Release:
Component: IDMS