Last updated on NOVEMBER 02, 2016
Applies to:Oracle Communications ASAP - Version 5.2.4 and later
Information in this document applies to any platform.
We are using State Table programming and Telnet as the communication protocol for a Comverse NE. The issue is that, when the NE is responding slowly, ASAP is completing the transaction and not working the way it should by validating the response with what we have written in our State Table code. Because of this, some other transactions are failing at a later point.
Here is the code snippet for GET-RESPONSE. (Which we use to check the response from Comverse)
1510 GET 'ROW:C:COL:1:LEN:6:%prompt=HST> :' 30
1520 IF_THEN '%prompt == "HST> :"'
1530 CONCAT '%RET_CODE=SUCCEED'
1540 CONCAT '%RET_MESS=Action completed successfully'
1560 CONCAT '%RET_CODE=RETRY'
1570 CONCAT '%RET_MESS=Unable to get provisioning prompt for :ÞVICE'
1590 RETURN ''
#This function checks if there are any responses from the switch
#then checks if the command was successfull or not.
1700 FUNCTION 'GET_RESPONSE'
1710 CALL 'COM_CDMA_LIB::CHECK_PROV_PROMPT'
1720 IF_THEN '%RET_CODE == "SUCCEED"'
1730 GET 'ROW:C-1:COL:23:LEN:56:%Error_msg=0 - Action completed successfully ' 15
1740 TRIM '%Error_msg=%Error_msg' 2
1750 SUBSTR '%shrt_msg=%Error_msg:0:6'
1755 TRIM '%shrt_msg=%shrt_msg' 2
1760 IF_THEN '%shrt_msg != "0 - Ac"'
1770 CALL 'COM_CDMA_LIB::CHECK_MESS'
1800 RETURN ''
Here is the example of command and response from Comverse:
Line 2: ID: 4165290010 0 - Action completed successfully (This comes after some seconds)
Line 3: HST> :
So we need to know, what is the behavior of the virtual screen? When the response from the NE is slow, would it be there on Line1, or will it move on to Line 2 (where there is nothing).
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms