Sunday 10 March 2013

EDIT Line commands - Excluding and Redisplaying



X
Exclude this line.
Xn
Exclude n lines starting with this line.
XX
Exclude a block of lines.

XX00       M0001.D00.TEST.JCL(TESTJCL1) - 03.10           Columns 00001 00072
Command ===>                                                  Scroll ===> CSR 
****** ***************************** Top of Data ******************************
x70001 //DWJ030C0 EXEC PGM=TESTPGM1                                           

After hitting Enter

XX00       M0001.D00.TEST.JCL(TESTJCL1) - 03.10           Columns 00001 00072
Command ===>                                                  Scroll ===> CSR 
****** ***************************** Top of Data ******************************
- - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  7 Line(s) not Displayed
000008 MAHADIK                                                                

S
Show one line of the excluded text.
Sn
Show n lines.

Type S2 on the line

XX00       M0001.D00.TEST.JCL(TESTJCL1) - 03.10           Columns 00001 00072
Command ===>                                                  Scroll ===> CSR 
****** ***************************** Top of Data ******************************
s2- -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  7 Line(s) not Displayed
000008 MAHADIK                                                                

After hitting enter:

XX00       M0001.D00.TEST.JCL(TESTJCL1) - 03.10           Columns 00001 00072
Command ===>                                                  Scroll ===> CSR 
****** ***************************** Top of Data ******************************
000001 //DWJ030C0 EXEC PGM=TESTPGM1                                           
000002 //STEPLIB DD DSN=CMN.D00S.STGO.#001621.LOD,DISP=SHR                    
- - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  5 Line(s) not Displayed
000008 MAHADIK                                                                

F
Show the first line of the excluded text.
Fn
Show the first n lines of the excluded text.

L
Show the last line of the excluded text.
Ln
Show the last n lines of the excluded text.

Type L2 on the line

XX00       M0001.D00.TEST.JCL(TESTJCL1) - 03.10           Columns 00001 00072
Command ===>                                                  Scroll ===> CSR
****** ***************************** Top of Data *****************************
000001 //DWJ030C0 EXEC PGM=TESTPGM1                                          
000002 //STEPLIB DD DSN=CMN.D00S.STGO.#001621.LOD,DISP=SHR                    
l2- -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  5 Line(s) not Displayed
000008 MAHADIK                                                               

XX00       M0001.D00.TEST.JCL(TESTJCL1) - 03.10           Columns 00001 00072
Command ===>                                                  Scroll ===> CSR 
****** ***************************** Top of Data ******************************
000001 //DWJ030C0 EXEC PGM=TESTPGM1                                           
000002 //STEPLIB DD DSN=CMN.D00S.STGO.#001621.LOD,DISP=SHR                    
- - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  3 Line(s) not Displayed
.LABEL 12                                                                     
000007 SUKUL                                                                   
000008 MAHADIK                                                                

 

No comments:

Post a Comment