IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Get SNA Message Indicators

About this task

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();


Feedback