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: 6970
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: 6970
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 Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am
No new posts presentation for ISPF developer newby Pedro TSO/ISPF 3 Tue Feb 13, 2018 4:37 am

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