how to insert data to existing lines



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

how to insert data to existing lines

Postby Pumpkin » Wed Sep 21, 2011 4:49 pm

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
-------------
-------------------
Pumpkin
Pumpkin
 
Posts: 55
Joined: Sat Mar 05, 2011 9:12 am
Has thanked: 0 time
Been thanked: 0 time

Re: how to insert data to existing lines

Postby BillyBoyo » Wed Sep 21, 2011 4:55 pm

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: how to insert data to existing lines

Postby enrico-sorichetti » Wed Sep 21, 2011 5:53 pm

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 ****************************
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: how to insert data to existing lines

Postby Pumpkin » Wed Sep 21, 2011 6:15 pm

thanks a lot, i got it !
-------------------
Pumpkin
Pumpkin
 
Posts: 55
Joined: Sat Mar 05, 2011 9:12 am
Has thanked: 0 time
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post