Here is a technique for inactivating RPG source statements by converting them to comment statements. You can also activate statements that were converted to comments. Use the CHANGE SEU line command in combination with the F17 (Repeat change) key. Here's how it works.
To convert a statement to a comment, key the following in the SEU command line:
CHANGE ' ' '*' 7
Position the cursor on the statement you want to convert to a comment and press Enter. An asterisk is placed in position 7 of the statement. Then, if you want to convert the next statement to a comment, press F17. Continue to press F17 until every statement you want to convert becomes a comment.
To convert a commented statement to an active statement, key the following in the SEU command line:
CHANGE '*' ' ' 7
Position the cursor on the statement you want to activate and press Enter. You can use the F17 key to activate the next commented statement in the source member.
You can use the F17 key to convert a block of source statements; however, if there are many statements in the block, you may get tired of pressing the F17 key. A better approach to converting a block of source statements to comments is to exclude the block of statements with the Exclude lines (Xn) command or the Block Exclude (XX) command. Then, key this in the SEU command line:
CHANGE ' ' '*' ALL X 7
All of the excluded statements will change to comments. To activate a block of comments, follow the same procedure, except key this in the SEU command line:
CHANGE '*' ' ' ALL X 7
? Jim Schecklman
LATEST COMMENTS
MC Press Online