ADMLOGON
8.7
The ADMLOGON instruction connects the program to a Sunbelt administrative host. The instruction uses the following format:
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
admin
Required. A previously defined ADMIN variable.
ip
Required. The IP address of the server using an IPV4 socket when using syntax format (1).
ipv6
Required. The IP address of the server using an IPV6 socket when using syntax format (2).
port
Required. An administrative port number of the server.
public
Optional. The public encryption key.
logon
Optional. The logon encryption key.
Flags Affected: ZERO
Note the following:
A failure to connect to the administrative task will result in an object (O) error that may be trapped.
The optional public and logon keys override the ADMIN_PUBLIC and ADMIN_LOGON configuration parameters.
The {ipaddr} can be set to "local" to access the server currently running the program (Application server or Automation server) without going through the logon port. Any ADMIN_KEYFILE used by the local application server will still be checked for security purposes.
The ADMIN_SUPPORT server configuration parameter must be set to ON before the administrative functions of the server are enabled.
The ZERO flag is set to indicate that the command was syntactically correct. It does not indicate the success or failure of the command.
It is recommended that an ADMLOGOFF instruction be executed when the ADMIN functions in a program are complete.
When the syntax format (2) is being used (10.7), the {ipv6} parameter data must be enclosed in '[]' brackets and formatted for an IPV6 address as follows:
or
See Also: System Interface Instructions
![]() |