<?xml version="1.0" encoding="windows-1252"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Code400 -The Support Alternative - Forums</title>
		<link>https://code400.com/forum/</link>
		<description>vBulletin Forums</description>
		<language>en</language>
		<lastBuildDate>Sun, 25 Oct 2026 05:06:47 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>images/misc/rss.png</url>
			<title>Code400 -The Support Alternative - Forums</title>
			<link>https://code400.com/forum/</link>
		</image>
		<item>
			<title>A Most Grave Grievance Concerning the Absence of WEEKS in Db2</title>
			<link>https://code400.com/forum/forum/iseries-programming-languages/sql/159553-a-most-grave-grievance-concerning-the-absence-of-weeks-in-db2</link>
			<pubDate>Fri, 23 Oct 2026 16:53:33 GMT</pubDate>
			<description>Unto the Esteemed Sirs Scott Klement and Bob Cozzi, Defenders of the IBM i Realm, Keepers of the Sacred RPG, and Scholars of the Ancient SQL Scrolls, 
 
Hear ye! Hear ye! 
 
I, Lord of the House of Db2, Master of the Query, and Rightful Keeper of the Royal SYSDUMMY1, do hereby lodge a most grievous...</description>
			<content:encoded><![CDATA[<b>Unto the Esteemed Sirs Scott Klement and Bob Cozzi, Defenders of the IBM i Realm, Keepers of the Sacred RPG, and Scholars of the Ancient SQL Scrolls,</b><br />
<br />
Hear ye! Hear ye!<br />
<br />
I, Lord of the House of Db2, Master of the Query, and Rightful Keeper of the Royal SYSDUMMY1, do hereby lodge a most grievous complaint against the dark sorcery that hath befallen our noble kingdom.<br />
<br />
For lo, upon this very morn, I sought to subtract eight WEEKS from the CURRENT_DATE, a task so humble that even the lowliest stable boy could reckon it upon his fingers.<br />
<br />
Yet the mighty Db2, in all its supposed wisdom, did cast mine query into the abyss!<br />
<br />
<b>EIGHT WEEKS, GOOD SIRS! EIGHT WEEKS!</b><br />
<br />
Forsooth! The wretched engine doth gladly accept 56 DAYS, yet trembles before the mere utterance of 8 WEEKS!<br />
<br />
What manner of witchcraft is this?!<br />
<br />
Hath the scholars of Rochester forgotten the existence of the seven-day week? Must I summon the royal mathematician to multiply eight by seven, as though we still dwell in the age of the abacus?!<br />
<br />
I say thee NAY!<br />
<br />
I have commanded my finest scribes to examine the sacred manuals, yet nowhere do they find salvation from this most ridiculous affliction.<br />
<br />
Therefore, I demand that ye petition the High Council of IBM forthwith, that WEEKS be restored to their rightful place among the noble units of time.<br />
<br />
Should this injustice remain unanswered, I shall have no recourse but to summon my knights, raise the banners of rebellion, and lay siege to the gates of Rochester itself!<br />
<br />
And let it be known throughout the land:<br />
<br />
<b>I SHALL NOT BE FORCED TO MULTIPLY BY SEVEN LIKE SOME COMMON PEASANT!</b><br />
<br />
May thy compilers be merciful, thy job queues forever empty, and thy PTFs never require an IPL.<br />
<br />
By mine own hand and royal decree,<br />
<br />
<b>His Lordship, Baron von Queryshire</b><br />
Duke of Date Arithmetic<br />
Protector of the Seven-Day Week<br />
Keeper of the Green Screen<br />
First of His Name, Breaker of Queries<br />
Defender of the AS/400 Realm<br />
<br />
<i>Given under mine seal, this sixteenth day of October, in the Year of Our Lord Two Thousand and Twenty-Six.</i><br />
<br />
<b>P.S.</b> Should either of thee dare suggest that I write an RPG subprocedure to resolve this matter, I shall consider it an act of WAR.<br />
&#8203;]]></content:encoded>
			<category domain="https://code400.com/forum/forum/iseries-programming-languages/sql">SQL</category>
			<dc:creator>BaronVonQueryshire</dc:creator>
			<guid isPermaLink="true">https://code400.com/forum/forum/iseries-programming-languages/sql/159553-a-most-grave-grievance-concerning-the-absence-of-weeks-in-db2</guid>
		</item>
		<item>
			<title>RPGLE program that converts a spool file to PDF and puts on the IFS</title>
			<link>https://code400.com/forum/forum/iseries-programming-languages/ifs/159552-rpgle-program-that-converts-a-spool-file-to-pdf-and-puts-on-the-ifs</link>
			<pubDate>Thu, 22 Oct 2026 14:18:27 GMT</pubDate>
			<description>I have a spool file and I convert it to a pdf.  I then drop it on the IFS.  Majority of files are fine, but every now and then it creates a file with 0 bytes and I have to run it again.  Anyone have any idea why?</description>
			<content:encoded>I have a spool file and I convert it to a pdf.  I then drop it on the IFS.  Majority of files are fine, but every now and then it creates a file with 0 bytes and I have to run it again.  Anyone have any idea why?</content:encoded>
			<category domain="https://code400.com/forum/forum/iseries-programming-languages/ifs">IFS</category>
			<dc:creator>Danba</dc:creator>
			<guid isPermaLink="true">https://code400.com/forum/forum/iseries-programming-languages/ifs/159552-rpgle-program-that-converts-a-spool-file-to-pdf-and-puts-on-the-ifs</guid>
		</item>
		<item>
			<title>HTTPAPI - HTTP_REQ Error MCH1210 Receiver value too small to hold result</title>
			<link>https://code400.com/forum/forum/iseries-programming-languages/rpg-rpgle/159551-httpapi-http_req-error-mch1210-receiver-value-too-small-to-hold-result</link>
			<pubDate>Mon, 21 Sep 2026 21:39:06 GMT</pubDate>
			<description><![CDATA[Every now and then we are receiving a MSGW and this error when passing a URL to HTTP_REQ. 
We are storing the result as a string into same parameter size len(16000000) varying. 
MCH1210 Receiver value too small to hold result. 
 
I'm assuming the endpoint we are calling the route is getting lost,...]]></description>
			<content:encoded><![CDATA[Every now and then we are receiving a MSGW and this error when passing a URL to HTTP_REQ.<br />
We are storing the result as a string into same parameter size len(16000000) varying.<br />
MCH1210 Receiver value too small to hold result.<br />
<br />
I'm assuming the endpoint we are calling the route is getting lost, and causing large data to be returned.  The result should never approach something that size.<br />
<br />
This seems to be an intermittent issue and unable to reproduce.<br />
Anyone have a good way to trap and log this error?<br />
Are there other functions within HTTAPI that we should be using instead?<br />
<br />
 ]]></content:encoded>
			<category domain="https://code400.com/forum/forum/iseries-programming-languages/rpg-rpgle">RPG/RPGLE</category>
			<dc:creator>AnthonyO</dc:creator>
			<guid isPermaLink="true">https://code400.com/forum/forum/iseries-programming-languages/rpg-rpgle/159551-httpapi-http_req-error-mch1210-receiver-value-too-small-to-hold-result</guid>
		</item>
	</channel>
</rss>
