MOVE LOGIN SCRIPT LINE

Core command MOVE LOG SC LI MOVLOGSCLI

Moves a line of a connection's login script up or down by one position

Arguments

<connectionId> <lineNo> <UP|DOWN> (all mandatory) an existing, active connection ID, the 1-based line number shown by SHOW LOGIN SCRIPT, and the direction

Examples

MOVE LOGIN SCRIPT LINE MYDB01 2 UP;

Notes

Reorders a line of a connection's login script by one position: `MOVE LOGIN SCRIPT LINE <connectionId> <lineNo> UP|DOWN` - the CLI equivalent of the config screen's "Login Scripts" tab up/down buttons.

connectionId is mandatory and must name an active connection; lineNo is the 1-based line number shown by SHOW LOGIN SCRIPT and must be within range; UP/DOWN is mandatory. Moving the first line UP, or the last line DOWN, is refused with a clear message rather than silently doing nothing. Unlike the other login-script line commands, this one is not interactive and asks for no confirmation - reordering is non-destructive and immediately reversible by moving the line back.

Last modified in release 5.1.6.