Runtime components : Service components : JCA SNA Connector : JCA SNA LU0 Connector : Tasks : JCA LU0 Sample Code : Get Session Status
  
Get Session Status
A new JCA verb SYNC_GET_SESSION_STATUS is added to get LU0 session's status. The following is the code example of using the SYNC_GET_SESSION_STATUS verb:
Lu0InteractionSpec ixnSpec = new Lu0InteractionSpec();
Lu0Record outgoingData = new Lu0Record();
Lu0Record returnData = new Lu0Record();

ixnSpec.setInteractionVerb(Lu0InteractionSpec.SYNC_GET_SESSION_STATUS);
ixn.execute(ixnSpec, null, returnData);
String status= returnData.getData();
Go up to
JCA LU0 Sample Code