|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ims.base.AIB
The Application Interface Block (AIB) is used by your program to communicate with IMS. The AIB class contains all the data attributes of the IMS Application Interface Block and the necessary getter and setter methods. It contains an IOPCB object, an alternate PCB object, and a DBPCB object. It also contains a boolean variable indicating if the IOPCB object references an alternate PCB. See IMS Application Programming: Database Manager.
IOPCB
,
AlternatePCB
,
DBPCB
,
GSAMPCB
Constructor Summary | |
AIB()
Constructs an AIB. |
|
AIB(java.lang.String resourceName,
int ioAreaLength)
Constructs an AIB with a resource name and the I/O area length. |
Method Summary | |
AlternatePCB |
getAlternatePCB()
Returns the Alternate PCB object in this AIB. |
DBPCB |
getDBPCB()
Returns the DBPCB object in this AIB. |
int |
getErrorCodeExtension()
Returns the error code extension produced by the last DLI call through this AIB. |
GSAMPCB |
getGSAMPCB()
Returns the DBPCB object in this AIB. |
IOPCB |
getIOPCB()
Returns the IOPCB object in this AIB. |
int |
getOALength()
Returns the maximum output area length in this AIB. |
int |
getOAUse()
Returns the output area length used in this AIB. |
int |
getReasonCode()
Returns the reason code produced by the last DLI call through this AIB. |
java.lang.String |
getReasonCodeHex()
Returns the reason code produced by the last DLI call through this AIB as a hexadecimal string. |
java.lang.String |
getResourceName()
Returns the resource name (PCB name) in this AIB. |
java.lang.String |
getResourceName2()
|
int |
getReturnCode()
Returns the return code produced by the last DLI call through this AIB. |
java.lang.String |
getReturnCodeHex()
Returns the return code produced by the last DLI call through this AIB as a hexadecimal string. |
java.lang.String |
getSubFunctionCode()
Returns the subfunction code in this AIB. |
boolean |
isAlternatePCB()
Returns true if PCB is an alternate PCB. |
void |
setAlternatePCB(boolean isAlternate)
Sets an indicator designating whether the PCB is an alternate PCB |
void |
setGSAMFlag(boolean isGSAM)
|
void |
setOALength(int length)
Sets the maximum output area length in this AIB. |
void |
setResourceName(java.lang.String resourceName)
Sets the resource name (usually PCB name) in this AIB. |
void |
setResourceName2(java.lang.String resourceName)
Sets the resource name (usually PCB name) in this AIB. |
void |
setSubFunctionCode(java.lang.String subFunctionCode)
Sets the subfunction code in this AIB. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AIB(java.lang.String resourceName, int ioAreaLength)
resourceName
- A PCB name. This parameter should be a
maximum of 8 characters, if greater, will be truncated to 8
characters.ioAreaLength
- The length of the I/O area.public AIB()
Method Detail |
public void setAlternatePCB(boolean isAlternate)
isAlternate
- true if PCB is alternate.public boolean isAlternatePCB()
public java.lang.String getSubFunctionCode()
public void setSubFunctionCode(java.lang.String subFunctionCode)
subFunctionCode
- The AIB's subfunction code.public java.lang.String getResourceName()
public void setResourceName(java.lang.String resourceName)
resourceName
- The AIB's resource name.public java.lang.String getResourceName2()
public void setResourceName2(java.lang.String resourceName)
resourceName
- The AIB's resource name.public int getOALength()
public void setOALength(int length)
length
- The output area length used.public int getOAUse()
public int getReturnCode()
public java.lang.String getReturnCodeHex()
public int getReasonCode()
public java.lang.String getReasonCodeHex()
public int getErrorCodeExtension()
public GSAMPCB getGSAMPCB()
public DBPCB getDBPCB()
public IOPCB getIOPCB()
public AlternatePCB getAlternatePCB()
public void setGSAMFlag(boolean isGSAM)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |