View previous topic :: View next topic
|
Author |
Message |
alluri12
New User
Joined: 15 Aug 2006 Posts: 44 Location: Virginia, USA
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Chg ';' ',' all |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
alluri12
New User
Joined: 15 Aug 2006 Posts: 44 Location: Virginia, USA
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Wait a minute.
The command:
C ALL X'5E' ','
or
C ALL X'5E' X'6B'
didn't work? |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
... or change temporarily ( or definitively as I did ) the Command delimiter from ; to i.e. ? ( option 0 - ISPF settings ) |
|
Back to top |
|
|
alluri12
New User
Joined: 15 Aug 2006 Posts: 44 Location: Virginia, USA
|
|
|
|
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 |
|
|
alluri12
New User
Joined: 15 Aug 2006 Posts: 44 Location: Virginia, USA
|
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
|