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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm

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