×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Bingo!!
Log on
CHGJOB CCSID(37)
strsql
Select
cast(systools.httpgetclob
('
http://tinyurl.com/api-create.php?url=http://twitter.com/hashtag/i
bmi',
'') as varchar(35)) as tinyurl
From sysibm.sysdummy1
....+....1....+....2....+....3....+
TINYURL
http://tinyurl.com/ydyy8uo2
******** End of data ********
Awesome!!
Thanks
Don Brown
From: John Yeung <gallium.arsenide@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 30/08/2017 10:03 AM
Subject: Re: Newsletter / Marketing: URL shorting
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
On Tue, Aug 29, 2017 at 7:36 PM, Don Brown <DBrown@xxxxxxxxxx> wrote:
I tried your example and received an error; Query cannot be run. See
lower level messages.
1 -- The external program or service program returned SQLSTATE
57017.
I got this error the first time I tried it also. What I found by
Googling is advice to change the *job* CCSID, and leave the statement
alone:
https://stackoverflow.com/questions/7507719/sqlstate-57017-character-conversion-problemfor-sql-udf-java-program-on-the-i?rq=1
If it's something you'll be doing a lot, and you don't want to change
the system value or your user profile, then I would create a wrapper
for it which sets the CCSID and submit that.
John Y.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.