Previous Topic: RESGROUPAUTHNext Topic: RESOURCEAUTH


RESOURCE

Purpose

An occurrence of this record represents a resource.

Access

Record Elements

Element name

Picture and usage

Description of contents

RESOURCETYPE

PIC X(4)

Resource type keyword.

Using IDMSSECS subschema:

'ACTI' 'QUEU'

'AREA' 'SACC'

'DB' 'SLOD'

'DBTB' 'SPGM'

'DCA' 'SPRF'

'DMCL' 'SYST'

'NRU' 'TASK'

'NSCH'

Using IDMSSECU subschema:

'GROU' 'UPRF'

'SYSA' 'USER'

RESOURCENAME

PIC X(60)

The resource name.

For RESOURCETYPE 'ACTI', the value is the fully qualified activity name (for example, DCMT.SHUTDOWN).

GROUPTYPEIND

PIC X(8) USAGE BIT

Null value indicator for the GROUPTYPE field:

  • B'11111111'—Resource does not belong to a group

GROUPTYPE

PIC X(4)

The group code of the resource group (if there is one) to which the resource belongs:

  • 'CATE'—Category
  • 'SAPP'—Application
  • ' '—Resource does not belong to a group

GROUPNAMEIND

PIC X(8) USAGE BIT

Null value indicator for the GROUPNAME field:

  • B'11111111'—No value in GROUPNAME

GROUPNAME

PIC X(60)

The name of the resource group (if there is one) to which the resource belongs.

NUMBER

PIC S9(4) USAGE COMP SYNC

For a resource assigned to a category (NRU, QUEU, SACC, SLOD, SPGM, or TASK), the unique number that identifies the category with which the resource is associated.

For an activity, the unique activity number within the application.

For a resource that is not an activity or does not belong to a category, the value is 0.

AMRUNNABLE

PIC X(1)

(Reserved—initialized to 'N'.)

STATUS

PIC X(1)

(Reserved—initialized to 'A'.)

AMGRANTABLE

PIC X(1)

(Reserved—initialized to 'N'.)

AMLASTCHANGE

PIC X(8)

(Reserved—initialized to binary zeros.)

CTIME

PIC X(64) USAGE BIT

Time created.

UTIME

PIC X(64) USAGE BIT

Time of the last update.

CUSER

PIC X(18)

ID of the user who created the resource.

UUSER

PIC X(18)

ID of the user who last updated the resource.

FILLER

PIC X(21)

(Reserved—initialized to spaces.)