Looks like everyone had the same idea.

Just to correct this however, I typed it out incorrectly.

Should have been:

EQU DATA.IN.STR TO 1
EQU RST.IN.STR TO 1
EQU ENC TO 1
RET = ENCODE("Base64", ENC, "My data to encode!", DATA.IN.STR, OUT,
RST.IN.STR)

-----Original Message-----
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: Wednesday, 6 May 2009 8:18 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] encode to base64 in universe?

In Unidata we have a function called ENCODE

EQU DATA.IN.STR TO 1
EQU RST.IN.STR TO 1
RET = ENCODE("Base64", DATA.IN.STR, "My data to encode!", OUT,
RST.IN.STR)

CRT RET
CRT OUT ;* This is your encoded string


If Universe doesn't have that, maybe 'uuencode' in Unix would help?

-----Original Message-----
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of doug chanco
Sent: Wednesday, 6 May 2009 7:09 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] encode to base64 in universe?

Short of writing my own encoder function is there any other way to 
encode a pick item to base64?

thoughts/suggestions/ideas welcomed!

OS - AIX 5.x
universe 10.2.x

thanks

dougc
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
########################################################################
###################
The information transmitted in this message and attachments (if any) is
intended only
for the person or entity to which it is addressed. The message may
contain confidential
and/or privileged material.  Any review, retransmission, dissemination
or other use of
or taking of any action in reliance upon this information by persons or
entities other
than the intended recipient is prohibited.  If you received this in
error, please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose
or distribute
the information contained in this e-mail and any attached files with the
permission of IMB.
########################################################################
###################
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
###########################################################################################
The information transmitted in this message and attachments (if any) is 
intended only
for the person or entity to which it is addressed. The message may contain 
confidential
and/or privileged material.  Any review, retransmission, dissemination or other 
use of
or taking of any action in reliance upon this information by persons or 
entities other
than the intended recipient is prohibited.  If you received this in error, 
please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute
the information contained in this e-mail and any attached files with the 
permission of IMB.
###########################################################################################
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to