27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix B. Logical Line Editing Symbols<br />

To aid you in entering comm<strong>and</strong> or data lines from your line mode or display<br />

terminal, z/<strong>VM</strong> provides a set of logical line editing symbols, which you can use to<br />

correct mistakes as you enter lines. Each symbol has been assigned a default<br />

character value. These normally are:<br />

Symbol<br />

Character<br />

Logical character delete<br />

@<br />

Logical line end<br />

#<br />

Logical line delete<br />

¢<br />

Logical escape<br />

"<br />

Logical Character Delete<br />

Logical Line End<br />

The logical character delete symbol (@) lets you delete one or more of the previous<br />

characters entered. The @ deletes one character per @ entered, including the ¢<br />

<strong>and</strong> # logical editing characters. For example,<br />

ABC#@@ results in AB<br />

ABC@D results in ABD<br />

¢@DEF results in DEF<br />

ABC@@@ deletes the entire string<br />

The logical line end symbol (#) lets you enter more than one comm<strong>and</strong> on the<br />

same line, <strong>and</strong> thus minimizes the amount of time you have to wait between<br />

entering comm<strong>and</strong>s. You type the # at the end of each logical comm<strong>and</strong> line, <strong>and</strong><br />

follow it with the next logical comm<strong>and</strong> line. z/<strong>VM</strong> stacks the comm<strong>and</strong>s <strong>and</strong> runs<br />

them in sequence. For example, the entry<br />

query users#query time#query dasd<br />

is run in the same way as the entries<br />

query users<br />

query time<br />

query dasd<br />

Logical Line Delete<br />

The logical line end symbol also has special significance for the #<strong>CP</strong> function.<br />

Beginning any physical line with #<strong>CP</strong> indicates that you are entering a comm<strong>and</strong><br />

that is to be processed by z/<strong>VM</strong> immediately. If you have set a character other than<br />

# as your logical line end symbol, you should use that character instead of a #.<br />

The logical line delete symbol (¢) deletes the entire previous physical line, or the<br />

last logical line back to (<strong>and</strong> including) the previous logical line end (#). You can use<br />

it to cancel a line containing many or serious errors. If a # immediately precedes<br />

the ¢ sign, only the # sign is deleted, because the # indicates the beginning of a<br />

new line, <strong>and</strong> the ¢ cancels the current line. For example:<br />

v Logical Line Delete:<br />

© Copyright <strong>IBM</strong> Corp. 1991, 2004 1895

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!