GR (Generic Record) journal entries

This table provides the format of the GR (Generic Record) journal entries.

Table 1. GR (Generic Record) journal entries. QASYGRJ4/J5 Field Description File
Offset Field Format Description
JE J4 J5
  1 1     Heading fields common to all entry types. See Standard heading fields for audit journal entries QJORDJE5 Record Format (*TYPE5) and Standard heading fields for audit journal entries QJORDJE4 Record Format (*TYPE4) for field listing.
  224 610 Entry Type Char(1) The type of entry.
A
Exit program added
C
Operations Resource Monitoring and Control Operations
D
Exit program removed
F
Function registration operations
R
Exit program replaced
  225 611 Action Char(2) The action performed.
ZC
Change
ZR
Read
  227 613 User Name Char(10) User profile name

For entry type F, this field contains the name of the user the function registration operation was performed against.

  237 623 Field 1 CCSID Binary (5) The CCSID value for field 1.
  241 627 Field 1 Length Binary (4) The length of the data in field 1.
  243 629 Field 1 Char(102)1 Field 1 data

For entry type F, this field contains the description of the function registration operation that was performed. The possible values are:

*REGISTER:
Function has been registered
*REREGISTER:
Function has been updated
*DEREGISTER:
Function has been de-registered
*CHGUSAGE:
Function usage information has been changed
*CHKUSAGE:
Function usage was checked for a user and the check passed
*USAGEFAILURE:
Function usage was checked for a user and the check failed
For entry types A, D, and R, this field will contain the exit program information for the specific function that was performed.
For entry type C, this field contains the name of the RMC function that is being attempted. The possible values are:
  • mc_reg_event_select Register event using attribute selection
  • mc_reg_event_handle Register event using resource handle
  • mc_reg_class_event Register event for a resource class
  • mc_unreg_event Unregister event
  • mc_define_resource Define new resource
  • mc_undefine_resource Undefine resource
  • mc_set_select Set resource attribute values using attribute selection
  • mc_set_handle Set resource attribute values using resource handle
  • mc_class_set Set resource class attribute values
  • mc_query_p_select Query resource persistent attributes using attribute selection
  • mc_query_d_select Query resource dynamic attributes using attribute selection
243 (cont)        
  • mc_query_p_handle Query resource persistent attributes using resource handle

    mc_query_d_handle Query resource dynamic attributes using resource handle

    mc_class_query_p Query resource class persistent attributes

    mc_class_query_d Query resource class dynamic attributes

    mc_qdef_resource_class Query resource class definition

    mc_qdef_p_attribute Query persistent attribute definition

    mc_qdef_d_attribute Query dynamic attribute definition

    mc_qdef_sd Query Structured Data definition

    mc_qdef_valid_values Query definition of a persistent attribute's valid values

    mc_qdef_actions Query definition of a resource's actions

    mc_invoke_action Invoke action on a resource

    mc_invoke_class_action Invoke action on a resource class

  345 731 Field 2 CCSID Binary (5) The CCSID value for field 2.
  349 735 Field 2 Length Binary (4) The length of the data in field 2.
  351 737 Field 2 Char (102)1 Field 2 data

For entry type F, this field contains the name of the function that was operated on.

For entry type C, this field contains the name of the resource or resource class against which the operation was attempted.

  453 839 Field 3 CCSID Binary (5) The CCSID value for field 3.
  457 843 Field 3 Length Binary (4) The length of the data in field 3.
  459 845 Field 3 Char(102)1 Field 3 data.

For entry type F, this field contains the usage setting for a user. There is a value for this field only if the function registration operation is one of the following values:

*REGISTER:
When the operation is *REGISTER, this field contains the default usage value. The user name will be *DEFAULT.
*REREGISTER:
When the operation is *REREGISTER, this field contains the default usage value. The user name will be *DEFAULT.
*CHGUSAGE:
When the operation is *CHGUSAGE, this field contains the usage value for the user specified in the user name field.
For entry type C, this field contains the result of any authorization check that was made for the operation indicated in field 1. The following are possible values:
  • *NOAUTHORITYCHECKED: When either the operation indicated in field 1 does not require an authorization check, or if for any other reason an authorization check was not attempted.
  • *AUTHORITYPASSED: When the mapped user ID indicated in the User Profile Name has successfully passed the appropriate authorization check for the operation indicated in field 1 against the resource or resource class indicated in field 2.
  • *AUTHORITYFAILED: When the mapped user ID indicated in the User Profile Name has failed the appropriate authorization check for the operation indicated in field 1 against the resource or resource class indicated in field 2.
  561 947 Field 4 CCSID Binary (5) The CCSID value for field 4.
  565 951 Field 4 Length Binary (4) The length of the data in field 4.
  567 953 Field 4 Char(102)1 Field 4 data.

For entry type F, this field contains the allow *ALLOBJ setting for the function. There is a value for this field only if the function registration operation is one of the following values:

*REGISTER
*REREGISTER
1
This is a variable length field. The first two bytes contain the length of the field.