DB347012 in IDMS batch local job
search cancel

DB347012 in IDMS batch local job

book

Article ID: 111585

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

In the RHDCSRTT, RESTYPE=DB is secured internally (SECBY=INTERNAL).

A local mode IDMS batch job gets DB347012 even though the USER holds EXECUTE privilege on a CATEGORY that contains the relevant RUNUNIT resource definition.

Why?

Environment

Release: All supported releases.

Resolution

IDMS INTERNAL security check must access SYSUSER.DDLSEC and SYSTEM.DDLDML  areas to do the lookup for the relevant USER, GROUP, RESOURCE and AUTHORITY records.

For local mode batch, this means the DMCL used must contain the DSNAMEs for the relevant files for these areas OR the JCL must contain the relevant DD and DSN so these areas can be accessed to do the security lookup.

If it cannot access these areas to do the lookups,  the security check is considered failed.