<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: QSH on two differnet iSeries</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/qsh-on-two-differnet-iseries/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/qsh-on-two-differnet-iseries/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 15:28:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/qsh-on-two-differnet-iseries/#comment-72938</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 22 Jan 2010 20:04:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-72938</guid>
		<description><![CDATA[Much internal code is written in C or using C conventions such as null-terminated strings. Every once in a while, a value passed from some internal function to an application is passed by code that neglects to format as the fixed-length, blank-padded values we expect. (And some other times it is documented as a null-terminated string.)

I would immediately suspect either a difference in some product level, e.g., JDK 1.4 vs. JDK 1.5, installed on the system or a slight variation in some PTFs related to the HTTP server. It doesn&#039;t have to be an option that you are deliberately using; it might simply be used internally by the options you are using. I would look for a PTF perhaps for the Read from Stdin (QtmhRdStin) API or similar.

Unless there is no such PTF to be found, I wouldn&#039;t look too hard elsewhere yet.

Tom]]></description>
		<content:encoded><![CDATA[<p>Much internal code is written in C or using C conventions such as null-terminated strings. Every once in a while, a value passed from some internal function to an application is passed by code that neglects to format as the fixed-length, blank-padded values we expect. (And some other times it is documented as a null-terminated string.)</p>
<p>I would immediately suspect either a difference in some product level, e.g., JDK 1.4 vs. JDK 1.5, installed on the system or a slight variation in some PTFs related to the HTTP server. It doesn&#8217;t have to be an option that you are deliberately using; it might simply be used internally by the options you are using. I would look for a PTF perhaps for the Read from Stdin (QtmhRdStin) API or similar.</p>
<p>Unless there is no such PTF to be found, I wouldn&#8217;t look too hard elsewhere yet.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dcantwell</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/qsh-on-two-differnet-iseries/#comment-72924</link>
		<dc:creator>dcantwell</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:48:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-72924</guid>
		<description><![CDATA[Even more information:

The hex values of the strings coming into the program are different as well:

Lets say we have a 20 character string that is &quot;AGRI OTHER&quot; with spaces filling in the rest of the characters.

On the Dev box, the hex appears like this:
C1C7D9C940D6E3C8C5D940404040404040404040 

While on the production box the hex appears like this:
C1C7D9C940D6E3C8C5D900000000000000000000

It looks like the spaces are being treated differently?]]></description>
		<content:encoded><![CDATA[<p>Even more information:</p>
<p>The hex values of the strings coming into the program are different as well:</p>
<p>Lets say we have a 20 character string that is &#8220;AGRI OTHER&#8221; with spaces filling in the rest of the characters.</p>
<p>On the Dev box, the hex appears like this:<br />
C1C7D9C940D6E3C8C5D940404040404040404040 </p>
<p>While on the production box the hex appears like this:<br />
C1C7D9C940D6E3C8C5D900000000000000000000</p>
<p>It looks like the spaces are being treated differently?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/qsh-on-two-differnet-iseries/#comment-72899</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 21 Jan 2010 21:26:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-72899</guid>
		<description><![CDATA[First thing that must be known is the QCCSID system value of both systems. That might help determine what to look at next. Let&#039;s make sure that bits are being encoded similarly on the two systems. This might lead to reviewing server job attributes on the two systems -- job user profile settings, job descriptions, etc.

(V5R4 is on both boxes?)

Tom]]></description>
		<content:encoded><![CDATA[<p>First thing that must be known is the QCCSID system value of both systems. That might help determine what to look at next. Let&#8217;s make sure that bits are being encoded similarly on the two systems. This might lead to reviewing server job attributes on the two systems &#8212; job user profile settings, job descriptions, etc.</p>
<p>(V5R4 is on both boxes?)</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dcantwell</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/qsh-on-two-differnet-iseries/#comment-72896</link>
		<dc:creator>dcantwell</dc:creator>
		<pubDate>Thu, 21 Jan 2010 19:43:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-72896</guid>
		<description><![CDATA[Hey DanD,

I found out some more information. 

While debugging on both boxes I noticed the parameters coming into the CL program are coming in differently. 

Dev - Everything is fine 
Prod - blank spaces come over as reverse image characters

Therefore, when I try to TCAT or BCAT my parameters, it thinks they&#039;re actually characters!

Here&#039;s the big question now:
Why are they coming into the CL program differently? 

Well for a little more information,  we use an old IBM web language called Net.data here.

So, when we call the CL program, the Net.Data code is passing variables from the web. 

As it stands here&#039;s how we are:
&lt;ul&gt;
	&lt;li&gt;Net.Data code is identical&lt;/li&gt;&lt;li&gt;CL code is identical &lt;/li&gt;&lt;li&gt;Dev box gets data fine&lt;/li&gt;&lt;li&gt;Prod data gets reverse image characters for blanks&lt;/li&gt;
&lt;/ul&gt;

It&#039;s gotta be something between the Net.Data code and the call to the CL program.  Unfortunately, I don&#039;t have any control over that! (That I know of)

Any ideas?

Thanks,
Dave]]></description>
		<content:encoded><![CDATA[<p>Hey DanD,</p>
<p>I found out some more information. </p>
<p>While debugging on both boxes I noticed the parameters coming into the CL program are coming in differently. </p>
<p>Dev &#8211; Everything is fine<br />
Prod &#8211; blank spaces come over as reverse image characters</p>
<p>Therefore, when I try to TCAT or BCAT my parameters, it thinks they&#8217;re actually characters!</p>
<p>Here&#8217;s the big question now:<br />
Why are they coming into the CL program differently? </p>
<p>Well for a little more information,  we use an old IBM web language called Net.data here.</p>
<p>So, when we call the CL program, the Net.Data code is passing variables from the web. </p>
<p>As it stands here&#8217;s how we are:</p>
<ul>
<li>Net.Data code is identical</li>
<li>CL code is identical </li>
<li>Dev box gets data fine</li>
<li>Prod data gets reverse image characters for blanks</li>
</ul>
<p>It&#8217;s gotta be something between the Net.Data code and the call to the CL program.  Unfortunately, I don&#8217;t have any control over that! (That I know of)</p>
<p>Any ideas?</p>
<p>Thanks,<br />
Dave</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.038 seconds using memcached
Object Caching 309/315 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 15:37:56 -->