Consecutive Block Commands

The following commands work with consecutive blocks of lines and consist of two characters:
DD
Delete a block of lines
CC
Copy a block of lines
MM
Move a block of lines
RR
Replicate a block of lines
""
Synonym for replicate

Block commands are processed in pairs. You place one command in the prefix area of the first line of the block and place the same command in the prefix area of the last line of the block. For example, to delete a block of lines, you place a "DD" in the prefix area of line 00001 and another "DD" in the prefix area of line 00005. This deletes all lines between line 00001 and line 00005, inclusive. The only block prefix command that allows a replication factor is the replicate command. So, when you specify a number with the replicate block command you need to know how many times you want the block (not individual lines) replicated. The replication factor must be specified with the first RR replication command.


Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/dfhrx00087.html