×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




No more need for that DUMMY table, whatever it's name was.

Just use VALUES and everyone is happy.


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Gerald Magnuson
Sent: Friday, June 24, 2016 10:55 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Char to hex

omg......
I can just type "values......", without doing a select?

that is cool!


On Fri, Jun 24, 2016 at 11:33 AM, Darren Strong <darren@xxxxxxxxx> wrote:

SQL can do it. Try the following in an SQL screen, like STRSQL:

values(char(hex(12345678901)))

Gives:
VALUES
00000002DFDC1C35
___________________________________
Darren Strong
Dekko

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.