QUERY SECURITY
| COBOL |
Java |
| EXEC CICS QUERY SECURITY |
ibmCics.querySecurity |
Syntax
ibmCics.querySecurity(new QuerySecurityOptions()
.resType(<ResType>)
.resId(<ResId>)
.resIdLength(<resIdLength>)
.resClass(<ResClass>)
[.dataAreaRead(<DataAreaRead>)]
[.dataAreaUpdate(<DataAreaUpdate>)]
[.dataAreaControl(<dataAreaControl>)]
[.dataAreaAlter(<dataAreaAlter>)]
[.logMessage(true)]
[.noHandle(true)]
);
Parameter(s)
<ResType>
The resource type. Options include 'CicsResType.PROGRAM' and 'CicsResType.TRANSATTACH', see the CicsResType enum for all available options.
<ResId>
The ID of the resource.
<resIdLength>
Length of the resource ID.
<ResClass>
The resource class.
<DataAreaRead>
Data area to hold the result of a READ authority query.
<DataAreaUpdate>
Data area to hold the result of an UPDATE authority query.
<dataAreaControl>
Data area to hold the result of a CONTROL authority query.
<dataAreaAlter>
Data area to hold the result of an ALTER authority query.
<logMessage>
Optional boolean. Set to true to log security violation messages.
<noHandle>
Optional boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
| COBOL |
Java |
EXEC CICS
QUERY SECURITY
RESTYPE('PROGRAM')
RESID(WS-PROGRAM)
CONTROL(WS-CONTROLCVDA)
END-EXEC.
|
ibmCics.querySecurity(new QuerySecurityOptions()
.resType(CicsResType.PROGRAM)
.resId(locDef.ws_Program)
.dataAreaControl(locDef.ws_Controlcvda)
.logMessage(true)
);
|