IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

C ALL ':' ';' giving error


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Fri Sep 16, 2005 11:08 am
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
jyothireddy

New User


Joined: 16 Sep 2005
Posts: 1

PostPosted: Fri Sep 16, 2005 1:26 pm
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: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Fri Sep 16, 2005 2:24 pm
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

Active User


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

PostPosted: Fri Sep 16, 2005 6:03 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top