Runtime tools : Service components : JCA SNA Connector : JCA SNA LU0 Connector : Tasks : JCA LU0 Sample Code : Get SNA Message Indicators
  
Get SNA Message Indicators
The application can get the SNA Message Indicators like BBI, ECI, CDI from the LU0Message. The following is the sample code:
Lu0InteractionSpec ixnSpec = new Lu0InteractionSpec();
Lu0Record outgoingData = new Lu0Record();
Lu0Record returnData = new Lu0Record();
ixnSpec.setInteractionVerb(Lu0InteractionSpec.SYNC_RECEIVE);
ixnSpec.setExecutionTimeout(5000);
ixn.execute(ixnSpec, null, returnData);
String receivedData= returnData.getData();
boolean ebi=returnData.getLu0Message().getEndBracketIndicator();
Go up to
JCA LU0 Sample Code