On this page
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.
Syntax
MOVE LOGIN SCRIPT LINE <connection> <line> UP|DOWN
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<connection> | Yes | The ID of an active connection | None |
<line> | Yes | The line number shown by SHOW LOGIN SCRIPT, from 1 | None |
UP or DOWN | Yes | The direction: towards the start or the end of the script | None |
Examples
MOVE LOGIN SCRIPT LINE MYDB01 2 UP;
Details
It is the command line equivalent of the up and down buttons of the "Login Scripts" tab of the CONFIG window. The line swaps places with its neighbour.
Unlike the other login script commands, it asks for no confirmation: moving a line changes nothing else, and moving it back undoes it. Moving the first line UP, or the last line DOWN, is refused with a message.
Related
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.