Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ISPF / EDIT command to copy a few chars alone of all lines

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
bharathatibmmf

New User


Joined: 26 Apr 2010
Posts: 5
Location: UK

PostPosted: Thu Apr 29, 2010 4:29 pm    Post subject: ISPF / EDIT command to copy a few chars alone of all lines
Reply with quote

Hi
I am trying to remove the first 10 chars alone from each line of a dataset and out it into other. I know I can use JCL or REXX but just wanted to know if there are any ISPF EDIT commands available to just copy first 10 chars of each line in a flat dataset ?

Thanks
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Apr 29, 2010 4:56 pm    Post subject:
Reply with quote

why not
  1. allocate a new 10 char ps - 3.2
  2. copy the old to the new 3.3
or
  1. VIEW the old
  2. chg all P'=' ' ' 11 <record length>
  3. COPY .zf .zl
Back to top
View user's profile Send private message
bharathatibmmf

New User


Joined: 26 Apr 2010
Posts: 5
Location: UK

PostPosted: Thu Apr 29, 2010 5:07 pm    Post subject: THANKS DICK
Reply with quote

Thanks Dick! that was really helpful..
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Apr 29, 2010 5:51 pm    Post subject:
Reply with quote

glad I was able to help.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us