 




<?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: H Spec</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/h-spec/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 22:12:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-84197</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 23 Nov 2010 02:56:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-84197</guid>
		<description><![CDATA[&lt;i&gt;You can add a default H spec with various options...&lt;/i&gt;

True. Unfortunately none of the options will set the compiler DBGVIEW() parameter. And I haven&#039;t quite come up with a good reason for having it done. It doesn&#039;t seem to me to be useful for individual programs when the command can be used as needed.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>You can add a default H spec with various options&#8230;</i></p>
<p>True. Unfortunately none of the options will set the compiler DBGVIEW() parameter. And I haven&#8217;t quite come up with a good reason for having it done. It doesn&#8217;t seem to me to be useful for individual programs when the command can be used as needed.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graybeard52</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-84193</link>
		<dc:creator>graybeard52</dc:creator>
		<pubDate>Tue, 23 Nov 2010 00:46:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-84193</guid>
		<description><![CDATA[You can add a default H spec with various options, depending what you need.  For example if you put &lt;pre&gt;Option(*SRCSTMT:*NODEBUGIO:*XREF) &lt;/pre&gt;  in the data area  QRPGLE/DFTLEHSPEC    this H-spec will get included in every RPGLE compile, unless the H-spec is specfically included.]]></description>
		<content:encoded><![CDATA[<p>You can add a default H spec with various options, depending what you need.  For example if you put
<pre>Option(*SRCSTMT:*NODEBUGIO:*XREF) </pre>
<p>  in the data area  QRPGLE/DFTLEHSPEC    this H-spec will get included in every RPGLE compile, unless the H-spec is specfically included.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-84123</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sun, 21 Nov 2010 11:10:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-84123</guid>
		<description><![CDATA[&lt;i&gt;why not just do as WaltZ400 said and just change the command default...&lt;/i&gt;

Because an H-spec affects a specific program permanently (until the H-spec is changed). Changing a command default affects every program compiled from then on, and upgrades or PTFs can remove the changed default. When you want a specific program to have options, it doesn&#039;t make much sense to set every other program the same way.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>why not just do as WaltZ400 said and just change the command default&#8230;</i></p>
<p>Because an H-spec affects a specific program permanently (until the H-spec is changed). Changing a command default affects every program compiled from then on, and upgrades or PTFs can remove the changed default. When you want a specific program to have options, it doesn&#8217;t make much sense to set every other program the same way.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-71317</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Mon, 07 Dec 2009 21:32:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-71317</guid>
		<description><![CDATA[My question would be, why not just do as WaltZ400 said and just change the command default to something like this?
&lt;pre&gt;

CHGCMDDFT  CMD(CRTBNDRPG) NEWDFT(&#039;DBGVIEW(*ALL) 

&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>My question would be, why not just do as WaltZ400 said and just change the command default to something like this?</p>
<pre>

CHGCMDDFT  CMD(CRTBNDRPG) NEWDFT('DBGVIEW(*ALL) 

</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-71289</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Mon, 07 Dec 2009 03:29:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-71289</guid>
		<description><![CDATA[DBGVIEW() is an option for the system debugger, not a RPG option. DBGVIEW() isn&#039;t specific to a given programming language.

Debug options in RPG source code are more directed to support supplied by the RPG compiler rather than by the system itself.

If the options were available in source code, how would you expect the command parameter to work? If the command parameter said *LIST and program source said *NONE, which would you expect to have precedence?

BTW, please don&#039;t ask two unrelated questions in a single post. It makes it extremely difficult for others who come later to search for useful answers.

Tom]]></description>
		<content:encoded><![CDATA[<p>DBGVIEW() is an option for the system debugger, not a RPG option. DBGVIEW() isn&#8217;t specific to a given programming language.</p>
<p>Debug options in RPG source code are more directed to support supplied by the RPG compiler rather than by the system itself.</p>
<p>If the options were available in source code, how would you expect the command parameter to work? If the command parameter said *LIST and program source said *NONE, which would you expect to have precedence?</p>
<p>BTW, please don&#8217;t ask two unrelated questions in a single post. It makes it extremely difficult for others who come later to search for useful answers.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geneburns</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-49425</link>
		<dc:creator>geneburns</dc:creator>
		<pubDate>Fri, 19 May 2006 17:11:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-49425</guid>
		<description><![CDATA[
Q1. Can we define the compile option - debugging view (DBGVIEW) = *all in H spec ???

Would this be what your are looking for?
OPTION(*SRCSTMT)

If *SRCSTMT is specified, statement numbers for the listing are generated from the source ID and SEU sequence numbers as follows:

stmt_num = source_ID * 1000000 + source_SEU_sequence_number
For example, the main source member has a source ID of 0. If the first line in the source file has sequence number 000100, then the statement number for this specification would be 100. A line from a /COPY file member with source ID 27 and source sequence number 000100 would have statement number 27000100. *NOSRCSTMT indicates that line numbers are assigned sequentially.


]]></description>
		<content:encoded><![CDATA[<p>Q1. Can we define the compile option &#8211; debugging view (DBGVIEW) = *all in H spec ???</p>
<p>Would this be what your are looking for?<br />
OPTION(*SRCSTMT)</p>
<p>If *SRCSTMT is specified, statement numbers for the listing are generated from the source ID and SEU sequence numbers as follows:</p>
<p>stmt_num = source_ID * 1000000 + source_SEU_sequence_number<br />
For example, the main source member has a source ID of 0. If the first line in the source file has sequence number 000100, then the statement number for this specification would be 100. A line from a /COPY file member with source ID 27 and source sequence number 000100 would have statement number 27000100. *NOSRCSTMT indicates that line numbers are assigned sequentially.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edi4colorado</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-49426</link>
		<dc:creator>edi4colorado</dc:creator>
		<pubDate>Thu, 18 May 2006 09:18:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-49426</guid>
		<description><![CDATA[No, you cannot code a control spec so that it compiles as debug *yes.

]]></description>
		<content:encoded><![CDATA[<p>No, you cannot code a control spec so that it compiles as debug *yes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uppikal</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/h-spec/#comment-49427</link>
		<dc:creator>uppikal</dc:creator>
		<pubDate>Thu, 18 May 2006 01:42:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-49427</guid>
		<description><![CDATA[
Thanks very much for the %DATE solution !!!

but what I ment by H-Spec is the control specification declaration spec in RPG. e.g.

... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 
HOPTION (*NODEBUGIO)

so, now while compiling the program we need not define *nodebugio. This declaration will take care off..
Similarly can we declare for dbgview ??

Thanks and regards,
Kalpesh
]]></description>
		<content:encoded><![CDATA[<p>Thanks very much for the %DATE solution !!!</p>
<p>but what I ment by H-Spec is the control specification declaration spec in RPG. e.g.</p>
<p>&#8230; 1 &#8230;+&#8230; 2 &#8230;+&#8230; 3 &#8230;+&#8230; 4 &#8230;+&#8230; 5 &#8230;+&#8230;<br />
HOPTION (*NODEBUGIO)</p>
<p>so, now while compiling the program we need not define *nodebugio. This declaration will take care off..<br />
Similarly can we declare for dbgview ??</p>
<p>Thanks and regards,<br />
Kalpesh</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 6/9 queries in 0.012 seconds using memcached
Object Caching 366/369 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 22:46:42 -->