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

Command to change ; to ,


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
alluri12

New User


Joined: 15 Aug 2006
Posts: 44
Location: Virginia, USA

PostPosted: Mon Jan 08, 2007 9:07 pm
Reply with quote

Hi,
I have below data in my dataset. I need to do change all on ";" to ", " . Could anybody please provide me commad to do that

'AA_USER_LD1';
'AA_USER_LD2';
'AA_USER_LD3;
'AA_USER_LD4';
'AA_USER_LD5';
'AA_USER_LD6';
'AA_USER_LD7';
'AA_USER_LD8';
'AA_USER_LD9';
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jan 08, 2007 9:17 pm
Reply with quote

Chg ';' ',' all
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Mon Jan 08, 2007 9:32 pm
Reply with quote

Just to add what William suggested.

You will have to change the Command delimiter first.(ISPF settings) if that is set to ';' which is default I believe. After that you can use it.

Hope it is clear.

David.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jan 08, 2007 9:49 pm
Reply with quote

Or, as has been posted before, change the characters hex value from one to the other. That way, you don't need to change the default delimiter setting.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Mon Jan 08, 2007 11:26 pm
Reply with quote

Or, if you know the position, which your example implies, use p'=' (any char) and the position as the first parm and ',' as the 2nd
Back to top
View user's profile Send private message
alluri12

New User


Joined: 15 Aug 2006
Posts: 44
Location: Virginia, USA

PostPosted: Mon Jan 08, 2007 11:56 pm
Reply with quote

Chg ';' ',' all
This command doesn not work. It says Incomplete string.
Also i tried to hex and got the same error (Incomplete Stirng).
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jan 09, 2007 12:03 am
Reply with quote

Wait a minute.

The command:

C ALL X'5E' ','

or

C ALL X'5E' X'6B'

didn't work?
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Tue Jan 09, 2007 12:12 am
Reply with quote

... or change temporarily ( or definitively as I did ) the Command delimiter from ; to i.e. ? ( option 0 - ISPF settings )
Back to top
View user's profile Send private message
alluri12

New User


Joined: 15 Aug 2006
Posts: 44
Location: Virginia, USA

PostPosted: Tue Jan 09, 2007 12:34 am
Reply with quote

Hi Superk,
It worked with your command. Thanks you verymuch. Could you please send me the document of hex

C ALL X'5E' X'6B'
What 5E AND 6B etc is
Also if there are anyothers like 5A, 5B, 5C etc
Back to top
View user's profile Send private message
alluri12

New User


Joined: 15 Aug 2006
Posts: 44
Location: Virginia, USA

PostPosted: Tue Jan 09, 2007 1:15 am
Reply with quote

Hi Spark,
I found the documentation,,, Thanks

Use [URL] BBCode for External Links
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Jan 09, 2007 1:23 am
Reply with quote

If you edit or browse a file, then use the HEX command, it will show you the hex for every char below it.

Use HEX OFF to revert.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top