View previous topic :: View next topic
|
Author |
Message |
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
Hi All,
My requirement is I need to change all the occurrances of ':' ( Column) to ';' (Semi column) in a file. I gave CHANGE ALL command in command line after editing the file as follows..
C ALL ':' ';'
But I am getting the error as "Incomplete string". I know ';' is a part or the syntax thats why I am getting this error. Is there any way to do this in simple manner using CHANGE please let me know ASAP.
Thanks,
Reddy. |
|
Back to top |
|
|
jyothireddy
New User
Joined: 16 Sep 2005 Posts: 1
|
|
|
|
Hi Ovreddy,
By default ';' (semicolon) is the Command Delimiter. The Edit FIND, CHANGE, and EXCLUDE commands do not work with a search argument that contains the command delimiter, even if string delimiters are used.
so the better way is
1. use the ISPF Option 0 to change the Command Delimiter to different character.
2. then give C ALL ':' ';' where it is required.
3. Reset Command Delimiter back to ';' (semicolon)
Regards
Jyothi |
|
Back to top |
|
|
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
Hi Jyothi,
Thanks a lot for your reply. I tried and it worked. I am greatful to you for your immediate help. Once again thanks alot for quick reply.
Thanks,
Reddy. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Another way is using the hexadeciam code i.e. x'5E' without touching the settings.
I hope in this help |
|
Back to top |
|
|
|