Move mode is used to move one or more statements from one location in a member to another location in the same member. When a statement is moved, the original statement number is deleted. This mode is initiated by pressing the MOVE command key. SEU then displays the following on the screen:
Auto dup/skip indicator may be on (A) but is not used in move mode.
0001 . 00
MOVING TO STATEMENT NUMBER:
The statement number you now enter cannot currently exist in the member. That is, it must be a number between two existing statement numbers (for example, 6.5 between 6 and 7) or a number higher than the highest statement number currently existing in the member (see Statement Numbering in Chapter 1).
Key the statement number (x.x). Press the ENTER key.
(If multiple statements are being moved you can so indicate at this time. Press the MUL T STMTScommand key instead of the ENTER key.) The following display appears on the screen:
0001.00
MOVING TO STATEMENT NUMBER:
MOVING FROM STATEMENT NUMBER:
x s x
Syntax checking option indicator may be on (S) but is
Print option indicator may be on (P) but is not used in move mode.
_ _ _ ~ _ _ This must be a statement number that does not exist in the member.
x.x indicates a location between two existing statements.
The cursor is positioned to
accept the statement number of the statement being moved.
Key the statement number of the first (or only) statement being moved. Now do steps 1 or 2.
1. If you are moving a single statement, press the ENTER key. The display screen appears as follows:
Statement being
moved
----t--... -
xx x ... OOOy.OOMOVING TO STATEMENT NUMBER:
MOVING FROM STATEMENT NUMBER:
Press the R EC ADV key. Statement y is moved from its current location and placed at the point in the member identified by the statement number x.x.
Statement number y is now deleted and will be treated as a nonexisting statement number. The screen displays the statement following y and you are prompted for more moves.
2. If you are moving multiple statements, press the MUL T STMTS command key (or press ENTER to enter the statement number if multiple statements already selected). The display screen appears as follows:
First statement
being moved
----L. __ -
X X x ... OOOy.OOTO: OOOx.xO FROM:
ENDING STATEMENT NUMBER:
5
OOOx.xO OOOy.OO
5
OOOy.OO
\
The cursor is positioned to
\
accept the statement number of the last statement being moved.
Key the statement number of the last statement being moved, or press the ROLL
t
key. Continue to press ROLLt
until the last statement to be moved is displayed.Press the ENTER key. The display screen appears as follows:
Last statement
being moved
---+-...
xxx ...OOOz.OO
TO: OOOx.xO FROM:
ENDING STATEMENT NUMBER:
Press the R EC ADV key. Statements y through z are moved to the point identified by statement number x.x. The statement numbers assigned by SEU are incremented by 0.01 (x.xO, X.x 1, etc) or, if the response to MOVING TO STATEMENT NUMBER prompt was a whole number higher than the highest statement number in the member, statement numbers are incremented by 1.00. The display screen now shows the statement following the original location of the last moved statement, and you are prompted for m,ore moves.
Figure 8 lists the command keys and shows when they can be used in move mode. Figure 9 lists the function keys and shows when they can be used in move mode.
Examples of moving single and multiple statements are in Appendix C.
5
OOOy.OO OOOz.OO
Command When prompted with: When prompted with: When prompted with: When statements are
Keys MOVING TO MOVING FROM ENDING ready to be moved:
STATEMENT STATEMENT STATEMENT
NUMBER NUMBER NUMBER
AUTO (Not allowed)
DUP
MULT Indicates to SEU that (Not allowed)
STMTS mUltiple consecutive statements are to be moved.
SELECT (Not allowed)
FORMAT
DELETE Changes mode to Changes mode to delete mode. No statements delete mode. are moved.
ENTER/ Changes mode to Changes mode to enter/update mode. No statements UPDATE enter /update are moved.
mode.
ALTER Reverses status of indicator.
EOJ Displays end-of-job options.
ALTER (Not allowed)
SYNTAX
SEARCH Displays last statement in No statements are
END OF member. moved. Displays last
SOURCE statement in member
and repeats last prompt.
MOVE Repeats prompt: Repeats prompt: MOVING TO STATEMENT NUMBER MOVING TO No statements are moved.
STATEMENT NUMBER
INCLUDE Changes mode to Changes mode to include mode. No statements are include mode. moved.
ACCEPT (Not allowed)
WITH ERROR
CK Displays keyboard keys used as command keys and a one-word description DISPLAY of each key. (Press and hold the SH I FT key each time you press the
CK DISPLAY command key.)
Figure 8. Command Key Usage in Move Mode
Function When prompted with: When prompted with: When prompted with: When statements are
Keys MOVING TO MOVING FROM ENDING ready to be moved:
STATEMENT STATJ:MENT STATEMENT
NUMBER NUMBER NUMBER
DUP (Not allowed)
FIELD Indicates that you have (Not allowed)
ADV finished entering the responses
ENTER Indicates that you have (Not allowed)
or finished p.ntering the ENTER responses
+
ENTER -- (Not allowed)
(minus)
FIELD Cursor is set to first position of (Not allowed)
BKSP response
REC (Not allowed)
BKSP
REC (Not allowed) Causes the statements to be
ADV moved and the original
statement numbers to be deleted.
t
Displays next statement. (If at last Stops processing---
statement, displays first statement.) of displayed statementROLLi and displays next statement.
~esponse to last prompt is blanked and can be reentered.
~
Displays preceding statement. (If Stops processing ofat first statement, displays last displayed statement and
---
ROLLi statement.) displays precedingstatement. Response to last prompt is blanked and can be reentered.
Figure 9. Function Key Usage in Move Mode.