Summary
The following table summarizes the INSERT command.
|
Command |
Action |
Result |
|---|---|---|
|
I |
Place an I in the line number column and press Enter. |
Inserts a blank line immediately after the line on which you specified the I command. |
|
In |
Enter an I along with the number of lines you want to insert and press Enter. |
Inserts the specified lines immediately after the line on which you specified the I command. |
Description
You can use the INSERT command to add blank lines in the query text.
Action
Enter an I in the first position of the line number column and the number of lines you want to add. If you do not specify a number CA Dataquery defaults to one. You cannot specify more than nine lines at one time.
The lines are added immediately below the line on which you enter the command.
Example—Insert a Line
=> ------------------------------------------------------------------------DQD10 DATAQUERY: EDITOR ----------------------------------------------------------------------------- NAME: SAMPLE TYPE: QUERY STATUS: PRIVATE DESCRIPTION: INSERT ONE LINE ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+. .. ================================ T O P ===================================== 01 FIND ALL CAI-SLSHST-REC ROWS I PRINT SLMN-ID .. =========================== B O T T O M ================================== ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> EXECUTE <PF4> SAVE <PF5> DIALOG DEF <PF6> DELETE <PF7> BACKWARD <PF8> FORWARD <PF9> UPDATE <PF10> VALIDATE <PF11> RIGHT/LEFT <PF12> CREATE MODE
Result
=> ------------------------------------------------------------------------DQD10 DATAQUERY: EDITOR ----------------------------------------------------------------------------- NAME: SAMPLE TYPE: QUERY STATUS: PRIVATE DESCRIPTION: INSERT ONE LINE ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+. .. ================================ T O P ===================================== 01 FIND ALL CAI-SLSHST-REC ROWS 02 PRINT SLMN-ID 03 .. =========================== B O T T O M ================================== ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> EXECUTE <PF4> SAVE <PF5> DIALOG DEF <PF6> DELETE <PF7> BACKWARD <PF8> FORWARD <PF9> UPDATE <PF10> VALIDATE <PF11> RIGHT/LEFT <PF12> CREATE MODE
Example—Insert Multiple Lines
=> ------------------------------------------------------------------------DQD10 DATAQUERY: EDITOR ----------------------------------------------------------------------------- NAME: SAMPLE TYPE: QUERY STATUS: PRIVATE DESCRIPTION: INSERT MULTIPLE LINES ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+. .. ================================ T O P ===================================== 01 FIND ALL CAI-SLSHST-REC ROWS I9 PRINT SLMN-ID .. =========================== B O T T O M ================================== ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> EXECUTE <PF4> SAVE <PF5> DIALOG DEF <PF6> DELETE <PF7> BACKWARD <PF8> FORWARD <PF9> UPDATE <PF10> VALIDATE <PF11> RIGHT/LEFT <PF12> CREATE MODE
Result
=> ------------------------------------------------------------------------DQD10 DATAQUERY: EDITOR ----------------------------------------------------------------------------- NAME: SAMPLE TYPE: QUERY STATUS: PRIVATE DESCRIPTION: INSERT MULTIPLE LINES ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+. .. ================================ T O P ===================================== 01 FIND ALL CAI-SLSHST-REC ROWS 02 PRINT SLMN-ID 03 04 05 06 07 08 09 10 11 ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> EXECUTE <PF4> SAVE <PF5> DIALOG DEF <PF6> DELETE <PF7> BACKWARD <PF8> FORWARD <PF9> UPDATE <PF10> VALIDATE <PF11> RIGHT/LEFT <PF12> CREATE MODE
|
Copyright © 2014 CA.
All rights reserved.
|
|