Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
C ALL ':' ';' giving error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 200
Location: Keane India Ltd., Hyderabad

PostPosted: Fri Sep 16, 2005 11:08 am    Post subject: C ALL ':' ';' giving error
Reply with quote

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
View user's profile Send private message
References
jyothireddy

New User


Joined: 16 Sep 2005
Posts: 1

PostPosted: Fri Sep 16, 2005 1:26 pm    Post subject: C ALL ':' ';'
Reply with quote

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
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 200
Location: Keane India Ltd., Hyderabad

PostPosted: Fri Sep 16, 2005 2:24 pm    Post subject:
Reply with quote

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
View user's profile Send private message
MGIndaco

Moderator


Joined: 10 Mar 2005
Posts: 478
Location: Milan, Italy

PostPosted: Fri Sep 16, 2005 6:03 pm    Post subject:
Reply with quote

Another way is using the hexadeciam code i.e. x'5E' without touching the settings.

I hope in this help
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1