Block Text Editor Commands

Block text editor commands
  • enable you to delete, repeat, copy, and move multiple lines
  • are entered in the line number area in the Program Editor window.

the block text editor commands include the following:

Command Action
DD deletes a block of lines
CC copies a block of lines
MM moves a block of lines
RR repeats multiple lines
A after (used with CC and MM)
B before (used with CC and MM)

To use a block command, specify the command on the first line affected and the final line affected, and then press ENTER.

In the example below, the PROC TABULATE step needs to be deleted.


Program Editor Window

You can use the DD block command to remove the step. To use the DD command,
  1. Type DD anywhere in the line number area for line 00007 to mark the first line affected.
  2. Type DD anywhere in the line number area for line 00009 to mark the final line affected.
  3. Press ENTER to delete lines 00007-00009.

Block Text Editor Commands






Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement