View previous topic :: View next topic
|
Author |
Message |
rickyc.mathew
New User
Joined: 06 Mar 2008 Posts: 30 Location: kottayam
|
|
|
|
Hi All,
Can anyone help me to resolve an issue.I have a file which has some data at its 150th position.I want to change all the existing data at 150th position with spaces.Is there any command available for doing that.
Thanks ,
Rck |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
this is a command: (ispf edit macro command)
Code: |
chg all p'=' ' ' 150 150 |
now since you posted this in the JCL forum
(which history proves that it does not mean the question pertains to JCL
i assume you are looking for CONTROL CARDS for some utility to cause the change.
what utilities do you have available?
DFSORT
FILEAID
SYNCSORT
CA-SORT
.....
....
...
and as far as resolving the issue....
the issue seems to be your ignorance of mainframe utilities
and resolving the issue would require education. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Do you have this running as needed?
If not, where are you stuck. . . |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Can anyone help me to resolve an issue.I have a file which has some data at its 150th position.I want to change all the existing data at 150th position with spaces.Is there any command available for doing that.
|
If you want to overlay position 150 in every record with a blank, you can use these DFSORT control statements:
Code: |
OPTION COPY
INREC OVERLAY=(150:X)
|
If you want to do something else, you need to explain more clearly what exactly it is you want to do. |
|
Back to top |
|
|
|