ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Length limit of ADDRESS AMS CREATE command - Getting 4013 RC

book

Article ID: 240427

calendar_today

Updated On:

Products

Automation Point

Issue/Introduction

What is the length limitation on the ADDRESS AMS CREATE command?

 

We are getting a 4013 return code on the creation of some alerts that I suspect is being caused by truncation.  I performed a test by removing the SESSION parameter to make the total length shorter and the alert was created successfully.

 

Original string:

04/26/2022 13:07:00 <YYPROC.REX> AMS CREATE args = SEVERITY(3) RESOURCE(Xxxx Xxxx Xxxx) SESSION(NOTUSED) DESC('*** DO NOT CLOSE THIS ALERT ***    XXXXL01T - 1 missing HEARTBEATs 04/26/2022 13:07:00') SYSTEM(XXXXL01T) NOTES(Automation Point is not receiving SNMP messages from XXXXL01T.  Please perform the following checks:  Status of XXXXL01T; Status of SNMP messaging; Accuracy of the system name in the Data Area of the SNMP messages.) MESSAGEID(HEARTBEAT) EXPIRATION('NEVER') CUSTOM('System_Time(18.49.13) , Assignment_Group(yyyyyyyyyyyyyyy)')

04/26/2022 13:07:00 <YYPROC.REX> AMS CREATE error.  RC = 4013

 

Modified string (SESSION parm removed):

04/27/2022 09:19:16      7 *-* alert_parms = "SEVERITY(3) RESOURCE(Xxxx Xxxx Xxxxx) DESC('*** DO NOT CLOSE THIS ALERT ***    XXXXL01T - 1 missing HEARTBEATs 04/26/2022 13:07:00') SYSTEM(XXXXL01T) NOTES(Automation Point is not receiving SNMP messages from XXXXL01T.  Please perform the following checks:  Status of XXXXL01T; Status of SNMP messaging; Accuracy of the system name in the Data Area of the SNMP messages.) MESSAGEID(HEARTBEAT) EXPIRATION('NEVER') CUSTOM('System_Time(18.49.13) , Assignment_Group(yyyyyyyyyyyyy)')"

04/27/2022 09:19:16        >>>   "SEVERITY(3) RESOURCE(Xxxx Xxxx Xxxx) DESC('*** DO NOT CLOSE THIS ALERT ***    XXXXL01T - 1 missing HEARTBEATs 04/26/2022 13:07:00') SYSTEM(XXXXL01T) NOTES(Automation Point is not receiving SNMP messages from XXXXRL01T.  Please perform the following checks:  Status of XXXXL01T; Status of SNMP messaging; Accuracy of the system name in the Data Area of the SNMP messages.) MESSAGEID(HEARTBEAT) EXPIRATION('NEVER') CUSTOM('System_Time(18.49.13) , Assignment_Group(yyyyyyyyyyyyyyyy)')"

04/27/2022 09:19:16      9 *-* address 'AMS'

04/27/2022 09:19:16     10 *-* 'CREATE' alert_parms

04/27/2022 09:19:16        >>>   "CREATE SEVERITY(3) RESOURCE(Xxxx Xxxx Xxxx) DESC('*** DO NOT CLOSE THIS ALERT ***    XXXXL01T - 1 missing HEARTBEATs 04/26/2022 13:07:00') SYSTEM(XXXXL01T) NOTES(Automation Point is not receiving SNMP messages from XXXXL01T.  Please perform the following checks:  Status of XXXXL01T; Status of SNMP messaging; Accuracy of the system name in the Data Area of the SNMP messages.) MESSAGEID(HEARTBEAT) EXPIRATION('NEVER') CUSTOM('System_Time(18.49.13) , Assignment_Group(yyyyyyyyyyyyyy)')"

04/27/2022 09:19:16     12 *-* exit

 

 

Other alerts using the original string format are successful, but the total length is shorter.  Example:

04/25/2022 05:03:00 <YYPROC.REX> AMS CREATE args = SEVERITY(3) RESOURCE(Pinnacle Foods) SESSION(NOTUSED) DESC('*** DO NOT CLOSE THIS ALERT ***    YYPROD - 1 missing HEARTBEATs 04/25/2022 05:03:00') SYSTEM(YYPROD) NOTES(Automation Point is not receiving SNMP messages from YYPROD.  Please perform the following checks:  Status of YYPROD; Status of SNMP messaging; Accuracy of the system name in the Data Area of the SNMP messages.) MESSAGEID(HEARTBEAT) EXPIRATION('NEVER') CUSTOM('System_Time(04.38.13) , Assignment_Group(yyyyyyyyyyyyyyyyy)')

04/25/2022 05:03:01 <YYPROC.REX> Alert 263742 has been created for HAPROD.

 

 

Environment

Release : 11.7

Component :

Resolution

All of the various ADDRESS AMS commands have a limitation of 505 characters.  

Additional Information

Please refer to the 'ADDRESS AMS Command Syntax' section of the appropriate manual.   For Automation Point release 11.7 it may be found at the below link:  

https://techdocs.broadcom.com/us/en/ca-mainframe-software/automation/automation-point/11-7/command-and-keyword-reference/ADDRESS-AMS-Commands/ADDRESS-AMS-Command-Syntax.html