Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Command to change ; to ,

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Command to change ; to ,
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: 3158
Location: Tucson AZ

PostPosted: Mon Jan 08, 2007 9:17 pm    Post subject:
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    Post subject: Re: Command to change ; to ,
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

Moderator Team Head


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

PostPosted: Mon Jan 08, 2007 9:49 pm    Post subject: Re: Command to change ; to ,
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

Active Member


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

PostPosted: Mon Jan 08, 2007 11:26 pm    Post subject:
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    Post subject: Re: Command to change ; to ,
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

Moderator Team Head


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

PostPosted: Tue Jan 09, 2007 12:03 am    Post subject: Re: Command to change ; to ,
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: 456
Location: Belgium

PostPosted: Tue Jan 09, 2007 12:12 am    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

Hi Spark,
I found the documentation,,, Thanks

www.jbmelectronics.com/tech/e2a.htm
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


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

PostPosted: Tue Jan 09, 2007 1:23 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us