Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
changing the character from hex(00) to hex(40) in a string

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
lowie82ph

New User


Joined: 07 Mar 2005
Posts: 4

PostPosted: Tue Aug 28, 2007 9:01 am    Post subject: changing the character from hex(00) to hex(40) in a string
Reply with quote

hi to all,

for example i have a record like this(with the corresponding hex values below each char):

Quote:
TEST ONLY.....
ECEE4DDDE00000
35230653800000


how can i change the hex(00) to hex(40)?

thank you...
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Aug 28, 2007 9:39 am    Post subject: Re: changing the character from hex(00) to hex(40) in a stri
Reply with quote

lowie82ph wrote:
hi to all,

for example i have a record like this(with the corresponding hex values below each char):

Quote:
TEST ONLY.....
ECEE4DDDE00000
35230653800000


how can i change the hex(00) to hex(40)?

thank you...


Inspect field_name replacing all x'00' by spaces.
Back to top
View user's profile Send private message
lowie82ph

New User


Joined: 07 Mar 2005
Posts: 4

PostPosted: Tue Aug 28, 2007 12:34 pm    Post subject: Re: changing the character from hex(00) to hex(40) in a stri
Reply with quote

Craq Giegerich wrote:
lowie82ph wrote:
hi to all,

for example i have a record like this(with the corresponding hex values below each char):

Quote:
TEST ONLY.....
ECEE4DDDE00000
35230653800000


how can i change the hex(00) to hex(40)?

thank you...


Inspect field_name replacing all x'00' by spaces.


thanks a lot Craq
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Splitting one row into multiple Rows ... Rajan Moorthy DFSORT/ICETOOL 9 Mon May 14, 2018 10:58 pm
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us