View previous topic :: View next topic
|
Author |
Message |
bharathatibmmf
New User
Joined: 26 Apr 2010 Posts: 5 Location: UK
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
why not - allocate a new 10 char ps - 3.2
- copy the old to the new 3.3
or - VIEW the old
- chg all P'=' ' ' 11 <record length>
- COPY .zf .zl
|
|
Back to top |
|
|
bharathatibmmf
New User
Joined: 26 Apr 2010 Posts: 5 Location: UK
|
|
|
|
Thanks Dick! that was really helpful.. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
glad I was able to help. |
|
Back to top |
|
|
|