Thanks to all who replied. You are correct. Adding an EBCDIC to ASCII 
conversion routine resolved the problem. 

Thanks for all the replies. 

-----Original Message-----
From: Alex Kodat [mailto:ako...@rocketsoftware.com] 
Sent: Friday, August 08, 2014 9:14 AM
To: ASSEMBLER-LIST@listserv.uga.edu; Ward, Mike S
Subject: Re: Convert to base64 help (Cross posted from IBM-Main)

Mike,

Are you sure the strings on the mainframe are being represented as ASCII (or 
UTF-8)? Obviously, the base64 encoding of an EBCDIC string will have a 
different value from the base64 encoding of the equivalent ASCII string.

On Fri, 08 Aug 2014 09:52:08 -0400, Ward, Mike S <mw...@ssfcu.org> wrote:

> Hello all, I have found two assembler programs that are supposed to 
> convert data to base64. They do not seem to be working correctly. I 
> have gone to two sites on the internet that do online base64 
> conversions. I place a 32 byte string of data into the input area and 
> press the encode button. The data returned does not match what the 
> mainframe base64 assembler program returned. I tried the data at 3 
> different internet sites. All three sited returned the same results. I 
> tried both assembler programs and used the same input string that I 
> used at the internet sites. The string generated on the mainframe does 
> not match what was returned at the internet sites. Ami missing 
> something? Are the programs broken? Any help appreciated. (Z/os V1.13)
>
> TIA
> Mike.
>
> ==========================
> This email, and any files transmitted with it, is confidential and 
> intended solely for the use of the individual or entity to which it is 
> addressed. If you have received this email in error, please notify the 
> system manager. This message contains confidential information and is 
> intended only for the individual named. If you are not the named 
> addressee, you should not disseminate, distribute or copy this e-mail.
> Please notify the sender immediately by e-mail if you have received 
> this message by mistake and delete this e-mail from your system. If 
> you are not the intended recipient, you are notified that disclosing, 
> copying, distributing or taking any action in reliance on the contents 
> of this information is strictly prohibited.


--
Alex Kodat
Senior Product Architect
Rocket Software
t: +1 781 684 2294 • m: +1 315 527 4764
e: ako...@rocketsoftware.com • w: www.rocketsoftware.com 
================================ Rocket Software, Inc. and subsidiaries ■ 77 
Fourth Avenue, Waltham MA 02451 ■ +1 800.966.3270 ■ +1 781.577.4321 Unsubscribe 
From Commercial Email – unsubscr...@rocketsoftware.com Manage Your Subscription 
Preferences - 
http://info.rocketsoftware.com/GlobalSubscriptionManagementEmailFooter_SubscriptionCenter.html
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

==========================
This email, and any files transmitted with it, is confidential and intended 
solely for the use of the individual or entity to which it is addressed. If you 
have received this email in error, please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee, you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this message by mistake and delete 
this e-mail from your system. If you are not the intended recipient, you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.

Reply via email to