139.2.1
DISPLAY-LOGBK
The Display action displays the recorded logbook data.
Procedure Overview
Command Code
Parameters
DISPLAY-LOGBK
[STIME=<string>],[ETIME=<string>],[NOUN=<string>],
[DEV=<param>] ,[TSN=<number>] ,[UID=<number>] ,
[TYPE=<param>] ,[TEXT=<string>] ,[ANS=<param>] ;
If no parameters are specified, the entire logbook is displayed. The AMO LOGBK can also be used to perform queries in which the logbook can be searched for specific criteria. The search criteria is defined by parameter entries.
Searching for a text string (parameter TEXT) must be limited by further parameters, otherwise the entire logbook must be searched which slows the operation.
During a search according to STIME and/or ETIME, only the data records whose time stamps lie between STIME and ETIME are displayed. Gaps may occur in the output, if data records have an invalid time stamp or if the system clock was reset.
The direction of output can also be controlled with the STIME and ETIME parameters. If ETIME is specified greater than STIME, the direction of output is forward (oldest entries first). If ETIME is specified smaller than STIME, the direction of output is backward (newest entries first).
AMO execution is halted at some locations and the user asked whether (s)he wants to continue the program. This dialog can de deactivated (either at the beginning or during operation) by entering the value C for the ANS parameter.
Example
Search logbook for AMO BUEND and display matches
Input:
DISPLAY-LOGBK:NOUN=BUEND,ANS=C;
Output:
P4714 DEV:CON1 TSN:1234 UID=1 NOUN:BUEND TYPE:END TIME:96-07-10 11:57:03
ADD PERFORMED;
P4713 DEV:CON1 TSN:1234 UID=1 NOUN:BUEND TYPE:CONTINUE TIME:96-07-10 11:56:59
ADD-BUEND:23,,30,;
P4712 DEV:CON1 TSN:1234 UID=1 NOUN:BUEND TYPE:OUTPUT TIME:96-07-10 11:56:44
F01: TGRP 22 ALREADY EXISTS
P4711 DEV:CON1 TSN:1234 UID=1 NOUN:BUEND TYPE:START TIME:96-07-10 11:56:43
ADD-BUEND:22,,30,;
4 MATCHES
Note
Each individual log unit is output with a preceding header line. Each header line contains information about each MML input and MML output. This includes the logging number (P-Number), the calling device, the session number, the user ID, the AMO noun, the MML type (START, CONTINUE, OUTPUT or END) and the time stamp.
${DocTitle}
, ID:
${DocID}
©
02/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.