12.07.2015 Views

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EDIT—MOVE SubcommandJJJJJJJJJJJJJJJJJJJJKKKKKKKKKKK or KKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLmove ’gg’Note: The effect of the operation is an unchanged data set.Example 3: Operation: Illustrate an attempt to move a line to a line before it.Known:v Data set contains lines 10 through 120.v Source line is 60.v Target line is 40.v EDIT supplies an increment of 10.Before: Enter: After:0010 A move 60 60 40 0010 A0020 BB 0020 BB0030 CCC 0030 CCC0040 DDDD 0040 DDDD0050 EEEEE CLP 0050 FFFFFF0060 FFFFFF 0051 EEEEE0070 GGGGGGG 0070 GGGGGGG0080 HHHHHHHH 0080 HHHHHHHH0090 IIIIIIIII 0090 IIIIIIIII0100 JJJJJJJJJJ 0100 JJJJJJJJJJ0110 KKKKKKKKKKK 0110 KKKKKKKKKKK0120 LLLLLLLLLLLL 0120 LLLLLLLLLLLLExample 4: Operation: Find the line containing a specific word and move it to thebottom of the data set.Known:v Data set contains nine lines of text.v Word to be found is men.v Data set is unnumbered.Before: Enter: After:NOW IS top NOW ISTHE TIME move ’men’ 1 99999999 THE TIMEFOR ALL FOR ALLGOOD MEN TO COMETO COME TO THETO THE AID OFAID OF THEIRTHEIRCOUNTRYCOUNTRY CLP GOOD MENExample 5: Operation: Move lines 10, 20, and 30 into a target area starting atline 100, using an increment of 5.Known:v Data set contains line 10 through 120.Before: Enter: After:0010 A move 10 30 100 incr(5) 0040 DDDD0020 BB 0050 EEEEE0030 CCC or 0060 FFFFFF0040 DDDD 0070 GGGGGGG0050 EEEEE move 9 31 100 incr(5) 0080 HHHHHHHH0060 FFFFFF 0090 IIIIIIIIIChapter 1. <strong>TSO</strong>/E commands and subcommands 113

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

Saved successfully!

Ooh no, something went wrong!