UserDefinedLoginString |
Top Previous Next |
Valid for: SetStartup
Syntax - SetStartup UserDefinedLoginString <LiteralString> Where: <LiteralString> is a value (enclosed in quotes) that will be sent to mainframe to sign-on.
Description: This option is only used when the SignOnPathway option is set to "UserDefined." This string can contain EMUE monikers that will be replaced before sending to the mainframe like [TAB] or [ENTER]. Using this option instead of scripting a login into the script is desirable because a failed attempt to get to the MainMenu screen will result in retry logic, as defined for this script.
Note: When the UserDefined option is used for SignOnPathway, The SIGNON, PASSWORD, CICS, CHPS, and MainMenuPosition are all ignored. If the MainMenu screen is not provided, this option will assume a valid login every time a connection is made. If the MainMenu option is valued, then EMUE will consider any occurrence of this value on the screen to indicate a valid signon, regardless of position.
Sample: The following example will attempt sign onto the mainframe using by sending the username USR1 followed by a tab keystroke, then the password 1234, followed by the Enter keystroke. SetStartup SignOnPathway “UserDefined” SetStartup UserDefinedLoginString "USR1[TAB]1234[ENTER]"
See Also:
|