ISAPPLICATIONONLINE
Syntax
![]()
Command
Mandatory parameter Optional parameter Mandatory keyword Optional keyword |
ISAPPLICATIONLINE ( <LogicalAppName> )
Description
This command returns a Boolean true when the application <LogicalAppName> is running else false. Also ResOk is set and GetLastResult is space and only has a valid result when the logical app is not defined as an alias.
Diagram
Returned value type
Boolean
Parameters
Parameter | Description |
<LogicalAppName> |
The logical name of the application to check whether running or not. |
Remarks
The logical app name works as in the SWITCHTO command or Application Link. So before a call is made to the other application, the programmer can check if that application is running or not.
Example
if isapplicationonline('CUSTOMER_MANAGENT')
switchto('CUSTOMER_MANAGEMENT', 'MENU')
endif
switchto('CUSTOMER_MANAGEMENT', 'MENU')
endif