Examples of values returned by QUERY SECURITY RESTYPE

This section gives a number of examples of the values returned by QUERY SECURITY RESTYPE, depending on what has been specified in the system initialization parameters:
SEC=NO
When SEC=NO is specified, issuing:
QUERY SECURITY RESTYPE('FILE') RESID('PAYFILE') ALTER(alter_cvda)
returns:
alter_cvda = DFHVALUE(ALTERABLE)
because SEC=NO means that no security checking is done for the entire CICS region.
SEC=YES and XFCT=NO
When SEC=YES and XFCT=NO are specified, issuing:
QUERY SECURITY RESTYPE('FILE') RESID('PAYFILE') ALTER(alter_cvda)
returns:
alter_cvda = DFHVALUE(ALTERABLE)
because XFCT=NO means that no security checking is done for files.
SEC=YES, XDCT=YES, and SECPRFX=NO
When SEC=YES, XDCT=YES, and SECPRFX=NO are specified, issuing:
QUERY SECURITY RESTYPE('TDQUEUE') RESID('TDQ1') READ(read_cvda)
returns:
read_cvda = DFHVALUE(READABLE)
if the user has READ (or higher) access to 'TDQ1' in the DCICSDCT class or the ECICSDCT group class.
SEC=YES, XTRAN=YES, and SECPRFX=YES
When SEC=YES, XTRAN=YES, and SECPRFX=YES are specified, issuing:
QUERY SECURITY RESTYPE('TRANSATTACH') RESID('TRN1') READ(read_cvda)
returns:
read_cvda = DFHVALUE(NOTREADABLE)
if the user does not have READ (or higher) access to cics_region_userid.TRN1 in the TCICSTRN class or GCICSTRN group class.
SEC=YES, XTRAN=YES, and SECPRFX=YES
When SEC=YES, XTRAN=YES, and SECPRFX=YES are specified, issuing:
QUERY SECURITY RESTYPE('TRANSATTACH') RESID('TRN1') READ(read_cvda)
returns:
read_cvda = DFHVALUE(NOTREADABLE)
if the user does not have READ (or higher) access to cics_region_userid.TRN1 in the TCICSTRN class or GCICSTRN group class.
Start of changeSEC=YES, XCMD=$USRCMD, and SECPRFX=prefixEnd of change
Start of change
When SEC=YES, XCMD=$USRCMD, and SECPRFX=prefix are specified, issuing:
QUERY SECURITY RESTYPE('TRANSATTACH') RESID('TRN1') READ(read_cvda)
returns:
read_cvda = DFHVALUE(NOTREADABLE)
if the user does not have READ (or higher) access to prefix.TRN1 in the TCICSTRN class or GCICSTRN group class.
End of change