190.3.1
EXEC-TEST
Notes
1.
In functions 1..14, the AMO TEST operates in the polling mode. The AMO terminates after the function has been carried out.
2.
In function 16, the AMO remains in the dialog mode for several minutes; if no input is made, it is terminated from A&M ORG. In the dialog mode, the user terminates the AMO by entering E.
Procedure Overview
Command Code
Parameter
EXEC-TEST
UNIT=<param>
,FUNCT=1&&15&99,[PROMPT=<number>]; (1)
|,FUNCT=16,CATALOG=<param> (2)
,CATTYPE=INDEX,MBXIDX=<param>,DESTPROC=<param> (3)
,[MSGSIZE=<number>],[IB=<number>]
,[PAUSE=<number>];
|,CATTYPE=NAME,MBXNAME<name> (4)
,[MSGSIZE=<number>],[IB=<number>]
,[PAUSE=<number>];
Example
To show the functions, a complete command batch run for the AMO is played back in the administration and data server.
Test step 1 : ENDWRITE only.
Input:
EXEC-TEST:A1,1,0;
Output:
EXEC-TEST:A1,1,0;
H500: AMO TEST STARTED
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 2 : WRITE on DIALOG
Input:
EXEC-TEST:A1,2;
Output:
EXEC-TEST:A1,2;
H500: AMO TEST STARTED
M2: WRITE-MESSAGE AT "DIALOG"
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 3 : WRITE on ERROR
Input:
EXEC-TEST:A1,3;
Output:
EXEC-TEST:A1,3;
H500: AMO TEST STARTED
M2: WRITE-MESSAGE AT "ERROR"
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 4 : WRITE on RESULT
Input:
EXEC-TEST:A1,4;
Output:
EXEC-TEST:A1,4;
H500: AMO TEST STARTED
M2: WRITE-MESSAGE AT "RESULT"
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 5 : RESERVATION/REL. of ERROR
Input:
EXEC-TEST:A1,5;
Output:
EXEC-TEST:A1,5;
H500: AMO TEST STARTED
M3: RESERVE SYMBOLIC DEVICE "ERROR"
M2: WRITE-MESSAGE AT "ERROR" - (ERROR RESERVED)
M2: WRITE-MESSAGE AT "ERROR" - (RESERVATION RELEASED)
M1: ENDWRITE-MESSAGE AT "ERROR"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 6 : Only RESERVATION of ERROR
Input:
EXEC-TEST:A1,6;
Output:
EXEC-TEST:A1,6;
H500: AMO TEST STARTED
M3: RESERVE SYMBOLIC DEVICE "ERROR"
M1: ENDWRITE-MESSAGE AT "ERROR"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 7 : RESERVATION/REL. of DIALOG
Input:
EXEC-TEST:A1,7;
Output:
EXEC-TEST:A1,7;
H500: AMO TEST STARTED
M3: RESERVE SYMBOLIC DEVICE "DIALOG"
M2: WRITE-MESSAGE AT "DIALOG" - (DIALOG RESERVED)
M2: WRITE-MESSAGE AT "DIALOG" - (RESERVATION RELEASED)
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 8 : Only RESERVATION of DIALOG
Input:
EXEC-TEST:A1,8;
Output:
EXEC-TEST:A1,8;
H500: AMO TEST STARTED
M3: RESERVE SYMBOLIC DEVICE "DIALOG"
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 9 : PROMPT message
Input:
EXEC-TEST:A1,9;
Output:
EXEC-TEST:A1,9;
H500: AMO TEST STARTED
M4: PROMPT-MESSAGE
M5: PLEASE INPUT A DIGIT FROM 0 TO 9
PROMPT =
Input:
0
Output:
M10: 0 HAS BEEN ENTERED
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 10: DIALOG message
Input:
EXEC-TEST:A1,10;
Output:
EXEC-TEST:A1,10;
H500: AMO TEST STARTED
M6: DIALOG-MESSAGE
M7: TERMINATE WITH ";" OR INPUT A DIGIT FROM 0 TO 9
<DIALOG01-TEST:
Input:
5
Output:
M10: 5 HAS BEEN ENTERED
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 11: WRITE/READ message
Input:
EXEC-TEST:A1,11;
Output:
EXEC-TEST:A1,11;
H500: AMO TEST STARTED
M8: WRITE/READ-MESSAGE
M9: PLEASE INPUT A DIGIT FROM 0 TO 9
DIGIT =
Input:
1;
Output:
M10: 1 HAS BEEN ENTERED
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 12: Timer with 15 seconds
Input:
EXEC-TEST:A1,12;
Output:
EXEC-TEST:A1,12;
H500: AMO TEST STARTED
M13: CALL TIMER WITH 15 SEC
M2: WRITE-MESSAGE AT "DIALOG" - (TIMER TIMEOUT)
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 13: LOGON INTERNAL
Input:
EXEC-TEST:A1,13;
Output:
EXEC-TEST:A1,13;
H500: AMO TEST STARTED
M14: PERFORM LOGON-INTERN
M2: WRITE-MESSAGE AT "RESULT"
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 14: INTERNAL START
Input:
EXEC-TEST:A1,14;
Output:
EXEC-TEST:A1,14;
H500: AMO TEST STARTED
M15: INTERNAL START EXECUTED BY USER TASK
EXEC-TEST:"A1",15;
H500: AMO TEST STARTED
M2: WRITE-MESSAGE AT "DIALOG" - (BY USER-TASK)
M1: ENDWRITE-MESSAGE AT "DIALOG" - (BY USER-TASK)
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
M1: ENDWRITE-MESSAGE AT "DIALOG"
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
Test step 15: Functions for internal start are not necessary in batch
Test step 16: Send message to a task.
The task, which shall get the message, has to be specified by:
–
the identifier of the catalog (CATALOG), in which the mailbox of the task is catalogued.
–
the name of the task mailbox (MBXNAME) or the value of the task element from DB_M_BASIC_MBX_IDX_SET (MBXIDX) and the identifier of the destination processor (DESTPROC).
Note:
The mailbox of the Signaling Task, which will be used for this example, is cataloged by name and by index in the System Catalog.
Input:
EXEC-TEST:A1,16,SYSTEM,INDEX,01,A1,FF,00;
or
EXEC-TEST:A1,16,SYSTEM,NAME,SITMBOX,FF,00;
Output:
EXEC-TEST:A1,16,SYSTEM,INDEX,01,A1,FF,00;
or
EXEC-TEST:A1,16,SYSTEM,NAME,SITMBOX,FF,00;
H500: AMO TEST STARTED
M17: PLEASE INPUT MESSAGE
(CONCATENATE MESSAGES WITH "&" AT THE END)
(TERMINATE AMO WITH "E")
*
INPUT:
"3A,54,00,00&"
Output:
M18: MESSAGES WILL BE CONCATENATED - NEXT PART OF MESSAGE PLEASE
(CONCATENATE MESSAGES WITH "&" AT THE END)
(TERMINATE AMO WITH "E")
*
INPUT:
"11,14,01"
Output:
F4421 M4 N0387 NO ACT BPA VECO STATISTIC CC 00-00-00 00:00:00
DEV CLASS:00000000 0000 0000000000000000 0000000000000000 000000
FORMAT:0
M17: PLEASE INPUT MESSAGE
(CONCATENATE MESSAGES WITH "&" AT THE END)
(TERMINATE AMO WITH "E")
*
Input:
E
Output:
AMO-TEST-... REGRESSION TESTS, AMC,UT,TT
EXEC COMPLETED;
OpenScape 4000 V10, Volume 1: AMO Descriptions, Service Documentation, Issue 5
, ID:
P31003H31A0S107057620
©
09/2025
Mitel Networks Corporation. - All rights reserved.
Mitel and the Mitel logo are trademarks of Mitel Networks Corporation. Unify and associated marks are trademarks of Unify Software and Solutions GmbH&Co. KG. All other trademarks herein are the property of their respective owners.