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: 6967
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: 6967
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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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