Common ESPlmi errors on ESP Workload Automation
search cancel

Common ESPlmi errors on ESP Workload Automation

book

Article ID: 246480

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

What are the commonly known errors when using the ESPlmi command?

Environment

Component: ESP WORKLOAD AUTOMATION
Release:   12.0

Resolution

- When the logon user/password is not correct:

C:\ESP Products\<agent>esplmi -s##.###.###.#:#### -uTEST1 -pTESTPAS -c"trigger %JOBNAME.TEST"
ESPWSS2835E Logon failed, SAF error code 8-28
ESPlmi: Logon Failed

- When the event name is not in the proper format:

C:\ESP Products\<agent>esplmi -s##.###.###.#:#### -uTEST1 -pTESTPAS-c"trigger %JOBNAME.TEST"
-->trigger %JOBNAME.TEST
ESPWSS906E INVALID IDENTIFIER, %JOBNAME.TEST

- When the wrong introducer is used:

C:\ESP Products\<agent>esplmi -t##.###.###.#:#### -uTEST1 -pTESTPAS -c"trigger JOBNAME.TEST"
ESPlmi 2.1.0004

Syntax: ESPlmi -shost:port -uuserid -ppassword -ccmd -h

When specifying an option that takes an argument, do not enter a
space between the option and the argument.  For example:
        ESPlmi -slpara:####

Where:  -s    Specifies the hostname:address and port of the Workstation
              Server. eg: hosta:####
        -u    Specifies the userid to use to log onto the Workstation
              Server.
        -p    Specifies the password to use to log onto the Workstation
              Server.
        -c    Specifies the command(s) to issue once logged on. The command
              can be a list of commands separated by a semi-colon.  The
              command can also be a file containing commands, indicated by
              prefixing the filename (command) with an @ sign.
              eg: "-cLAP APPL.0 ALL"
              eg: "-cLSYS;LDSN"
              eg: "-c@C:\commands.txt"
        -h    Displays this message.  If specified, other options are
              ignored.

- When the port number is too large:
C:\ESP Products\<agent>esplmi -s##.###.###.#:##### -uTEST1 -pTESTPAS -c"trigger %JOBNAME.TEST"
ESPlmi: port out of range:####

- When the wrong IP or port is used:

C:\ESP Products\<agent>esplmi -s##.###.###.#:##### -uTEST1 -pTESTPAS -c"trigger %JOBNAME.TEST"
Unable to connect. Reason: Connection failed to: <##.###.###.#><####>. Connection refused: connect

- When the IP and port are not in good format:
C:\ESP Products\<agent>esplmi -s##.###.###.#.##### -uTEST1 -pTESTPAS -c"trigger %JOBNAME.TEST"
ESPlmi: Invalid name format

And the correct response is like below:

C:\ESP Products\<agent>esplmi -s##.###.###.#:#### -uTEST1 -pTESTPAS -c"trigger JOBNAME.TEST"
-->trigger JOBNAME.TEST
ESPWSS2502I EVENT TRIGGERED