Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 6966
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: 6966
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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us