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
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm


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