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
 

 

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
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts How to insert a lengthy string havin... vidyaa DB2 7 Thu Aug 25, 2016 5:20 pm
No new posts Continuation Character ballaswaroop SYNCSORT 8 Thu Aug 25, 2016 4:46 pm


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