Page 1 of 1

how to insert data to existing lines

PostPosted: Wed Sep 21, 2011 4:49 pm
by Pumpkin
hi, guys
i have a technique question about using the ispf editor. how to insert data to existing lines.thanks !
for example:
the exist lines are:
-----------
aaa
bbb
ccc
-----------
i want to insert some data in front of exist data
------------
123aaa
123bbb
123ccc
-------------

Re: how to insert data to existing lines

PostPosted: Wed Sep 21, 2011 4:55 pm
by BillyBoyo
How long is a piece of string? By which I mean there are many possible answers.

Have a look at the online help/manual for the editor and look at the "change" command. You'll be amazed by what you can do. Also look at data shifting, boundaries.

That'll get you going. Try to pick up something new every few days with the editor. Knowing about its capabilities will save you much time and trouble. You don't have to memorise everything exactly up-front, just know the sort of things that are available and how to find them. With use, memory comes of its own.

Re: how to insert data to existing lines

PostPosted: Wed Sep 21, 2011 5:53 pm
by enrico-sorichetti
EDIT       ENRICO.TEST.JCL(OVERLAY) - 01.00                Columns 00001 00072
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 000001 ABC                                                                     
 000002 DEF                                                                     
 000003 GHI                                                                     
 ****** **************************** Bottom of Data ****************************

 EDIT       ENRICO.TEST.JCL(OVERLAY) - 01.00                Columns 00001 00072
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 ))3 01 ABC                                                                     
 000002 DEF                                                                     
 ))0003 GHI                                                                     
 ****** **************************** Bottom of Data ****************************

 EDIT       ENRICO.TEST.JCL(OVERLAY) - 01.00                Columns 00001 00072
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 000001    ABC                                                                 
 000002    DEF                                                                 
 000003    GHI                                                                 
 ****** **************************** Bottom of Data ****************************

 EDIT       ENRICO.TEST.JCL(OVERLAY) - 01.00                Columns 00001 00072
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 '''''' 123                                                                     
 000001    ABC                                                                 
 000002    DEF                                                                 
 000003    GHI                                                                 
 ****** **************************** Bottom of Data ****************************

 EDIT       ENRICO.TEST.JCL(OVERLAY) - 01.00                Columns 00001 00072
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 m''''' 123                                                                     
 OO0001    ABC                                                                 
 000002    DEF                                                                 
 OO0003    GHI                                                                 
 ****** **************************** Bottom of Data ****************************

 EDIT       ENRICO.TEST.JCL(OVERLAY) - 01.00                Columns 00001 00072
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 000001 123ABC                                                                 
 000002 123DEF                                                                 
 000003 123GHI                                                                 
 ****** **************************** Bottom of Data ****************************

Re: how to insert data to existing lines

PostPosted: Wed Sep 21, 2011 6:15 pm
by Pumpkin
thanks a lot, i got it !