 




<?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: On Line Help Program &#8211; RPGLE</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 17:47:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-85061</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 09 Dec 2010 08:48:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-85061</guid>
		<description><![CDATA[Nick:

Bruce Vining is someone who can make this work. If it has to be done, he is probably the path to the least cost. Not necessarily &#039;cheap&#039;, just &#039;least cost&#039;. Other paths will likely have higher costs.

Tom]]></description>
		<content:encoded><![CDATA[<p>Nick:</p>
<p>Bruce Vining is someone who can make this work. If it has to be done, he is probably the path to the least cost. Not necessarily &#8216;cheap&#8217;, just &#8216;least cost&#8217;. Other paths will likely have higher costs.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bvining</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84992</link>
		<dc:creator>bvining</dc:creator>
		<pubDate>Tue, 07 Dec 2010 23:57:43 +0000</pubDate>
		<guid isPermaLink="false">#comment-84992</guid>
		<description><![CDATA[Assuming that 

1) F1 is currently enabled for the display file record formats (or you can enable it)
2) The application program (A) is not using F1

Then Yes -- a new program (B) could provide online help support without requiring the actual application program (A) to be changed. This help support could, if desired, be field sensitive or generic and tied to the record format being worked with when F1 is used (again with no change to program A).

This is not a trivial task, but I have written such programs in the past as a contractor.

Bruce
&lt;a href=&quot;http://www.brucevining.com/&quot;&gt;Bruce Vining Services&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Assuming that </p>
<p>1) F1 is currently enabled for the display file record formats (or you can enable it)<br />
2) The application program (A) is not using F1</p>
<p>Then Yes &#8212; a new program (B) could provide online help support without requiring the actual application program (A) to be changed. This help support could, if desired, be field sensitive or generic and tied to the record format being worked with when F1 is used (again with no change to program A).</p>
<p>This is not a trivial task, but I have written such programs in the past as a contractor.</p>
<p>Bruce<br />
<a href="http://www.brucevining.com/">Bruce Vining Services</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84955</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 07 Dec 2010 08:06:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-84955</guid>
		<description><![CDATA[&lt;i&gt;How do I get the attention key to call a Group Program ?&lt;/i&gt;

That&#039;s unimportant and generally irrelevant. It would only start a group job if your attention program told it to do so. While it might be helpful, a group job is a complication right now.

&lt;i&gt;Also, how do I get the the program that is currently running (invocation stack).&lt;/i&gt;

Before even thinking to that degree, you probably should just start with seeing what an attention-program does and how it might affect the jobs that it runs in. Technically, we don&#039;t know if they&#039;re even workable in your environment. If one call be used effectively, the call stack will be reasonable.

Here&#039;s a trivial beginning:&lt;pre&gt;
pgm


   monmsg    ( cpf0000 mch0000 ) exec( goto Std_Err )


   setatnpgm   Qsys/QCMD

   go          USER

Exit:
   /* Fall through for exit... */
Std_Err:

   setatnpgm   *PRVINVLVL
   monmsg    ( cpf0000 mch0000 )


   return

endpgm&lt;/pre&gt;
Compile it and call it. You should see that the USER menu appears. You can take any of the menu options or run commands on the command line, e.g., DSPSYSSTS.

If you run a command such as DSPSYSSTS, press the &lt;aTTN] key will it displays. Or press &lt;attn] anywhere else you go while in the USER menu. Each time you press &lt;aTTN], the Command Entry display should appear. When you exit Command Entry, you return to wherever you pressed &lt;attn].

That behavior will continue until you exit the USER menu. At that time, the &lt;attn] key will go back to acting like it did before you called the test program.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>How do I get the attention key to call a Group Program ?</i></p>
<p>That&#8217;s unimportant and generally irrelevant. It would only start a group job if your attention program told it to do so. While it might be helpful, a group job is a complication right now.</p>
<p><i>Also, how do I get the the program that is currently running (invocation stack).</i></p>
<p>Before even thinking to that degree, you probably should just start with seeing what an attention-program does and how it might affect the jobs that it runs in. Technically, we don&#8217;t know if they&#8217;re even workable in your environment. If one call be used effectively, the call stack will be reasonable.</p>
<p>Here&#8217;s a trivial beginning:
<pre>
pgm


   monmsg    ( cpf0000 mch0000 ) exec( goto Std_Err )


   setatnpgm   Qsys/QCMD

   go          USER

Exit:
   /* Fall through for exit... */
Std_Err:

   setatnpgm   *PRVINVLVL
   monmsg    ( cpf0000 mch0000 )


   return

endpgm</pre>
<p>Compile it and call it. You should see that the USER menu appears. You can take any of the menu options or run commands on the command line, e.g., DSPSYSSTS.</p>
<p>If you run a command such as DSPSYSSTS, press the <aTTN] key will it displays. Or press <attn] anywhere else you go while in the USER menu. Each time you press <aTTN], the Command Entry display should appear. When you exit Command Entry, you return to wherever you pressed <attn].</p>
<p>That behavior will continue until you exit the USER menu. At that time, the <attn] key will go back to acting like it did before you called the test program.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Most-Watched IT Questions: December 7, 2010 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84939</link>
		<dc:creator>The Most-Watched IT Questions: December 7, 2010 - ITKE Community Blog</dc:creator>
		<pubDate>Tue, 07 Dec 2010 06:14:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-84939</guid>
		<description><![CDATA[[...] Here&#8217;s another group discussion, this time on online help program in RPGLE. The players: CharlieBrowne, TomLiotta, and [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Here&#8217;s another group discussion, this time on online help program in RPGLE. The players: CharlieBrowne, TomLiotta, and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: piano</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84910</link>
		<dc:creator>piano</dc:creator>
		<pubDate>Mon, 06 Dec 2010 20:22:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-84910</guid>
		<description><![CDATA[Hi

  I like the idea of using the attention key.   How do I get the attention key to call a Group Program ?  I don&#039;t know what you mean here.   Also,  how do I get the the program that is currently running (invocation stack).  Not familiar with how to do this either.  
  If I could see an example,  I think it would be very helpful.  Definitely would like to explore this idea.

 Thanks for your thoughts.

    Nick]]></description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>  I like the idea of using the attention key.   How do I get the attention key to call a Group Program ?  I don&#8217;t know what you mean here.   Also,  how do I get the the program that is currently running (invocation stack).  Not familiar with how to do this either.<br />
  If I could see an example,  I think it would be very helpful.  Definitely would like to explore this idea.</p>
<p> Thanks for your thoughts.</p>
<p>    Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charliebrowne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84903</link>
		<dc:creator>charliebrowne</dc:creator>
		<pubDate>Mon, 06 Dec 2010 17:53:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-84903</guid>
		<description><![CDATA[Here is a wild idea.
Use the Attn Key.
That would start a Group Job.
If you not setting this a the USRPRF, you could set it to call a specific program.
That program would check the invocation stact of the other original job and determine what program was running. The yo call a new program with that as a parm and then you can go out to your help text table and display the help for that program.]]></description>
		<content:encoded><![CDATA[<p>Here is a wild idea.<br />
Use the Attn Key.<br />
That would start a Group Job.<br />
If you not setting this a the USRPRF, you could set it to call a specific program.<br />
That program would check the invocation stact of the other original job and determine what program was running. The yo call a new program with that as a parm and then you can go out to your help text table and display the help for that program.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84304</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 24 Nov 2010 05:48:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-84304</guid>
		<description><![CDATA[&lt;i&gt;This function key will essentially pass the screen name as a parameter,...&lt;/i&gt;

The closest I can think you&#039;ll come is to put all records with the same &quot;screen name&quot; into a document. Perhaps name each document the same as the &quot;screen name&quot;.

You would need to change the DDS for each screen to do something to call a program anyway. You might as well just change the DDS to reference a HLPDOC. This is one of the few things that documents and folders are still good for.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>This function key will essentially pass the screen name as a parameter,&#8230;</i></p>
<p>The closest I can think you&#8217;ll come is to put all records with the same &#8220;screen name&#8221; into a document. Perhaps name each document the same as the &#8220;screen name&#8221;.</p>
<p>You would need to change the DDS for each screen to do something to call a program anyway. You might as well just change the DDS to reference a HLPDOC. This is one of the few things that documents and folders are still good for.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84295</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Wed, 24 Nov 2010 00:45:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-84295</guid>
		<description><![CDATA[Two methods are available
One uses Help/ALTHELP/HLPARA/HLPRCD to display an record in the DDS that contains the help screen.   In your DDS you would add lines like this repeating the HLPARA and HLPRCD for each record that you want to create help for (CURRCD is an existing record) and then adding a new record with the help for each. 
                                               ALTHELP
                                                HELP  
H                                             HLPARA( *RCD CURRCD)
                                                HLPRCD(NEWRCD)

Another built in help method is using PANEL Groups.  These allow you to create a screen that looks and feels like OS/400 Help.  The panel group contains a help script.

Let us know how we can help further.
Phil]]></description>
		<content:encoded><![CDATA[<p>Two methods are available<br />
One uses Help/ALTHELP/HLPARA/HLPRCD to display an record in the DDS that contains the help screen.   In your DDS you would add lines like this repeating the HLPARA and HLPRCD for each record that you want to create help for (CURRCD is an existing record) and then adding a new record with the help for each.<br />
                                               ALTHELP<br />
                                                HELP<br />
H                                             HLPARA( *RCD CURRCD)<br />
                                                HLPRCD(NEWRCD)</p>
<p>Another built in help method is using PANEL Groups.  These allow you to create a screen that looks and feels like OS/400 Help.  The panel group contains a help script.</p>
<p>Let us know how we can help further.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: piano</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84281</link>
		<dc:creator>piano</dc:creator>
		<pubDate>Tue, 23 Nov 2010 21:55:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-84281</guid>
		<description><![CDATA[The issue is that I have 100s maybe 1000s of screen programs.  For any screen format that exists in any of these programs,  I want to add a function key for on line help.  This function key will essentially pass the screen name as a parameter, and then do a reade on a file that has all the help notes using the screen name as the key.
  I don&#039;t necessarily need to be calling an external program, if anyone can think of a better way to do this. I am trying to avoid having to add a call statement into everyone of these screen programs.

  Thanks,

   Nick 

 Thanks,

   Nick]]></description>
		<content:encoded><![CDATA[<p>The issue is that I have 100s maybe 1000s of screen programs.  For any screen format that exists in any of these programs,  I want to add a function key for on line help.  This function key will essentially pass the screen name as a parameter, and then do a reade on a file that has all the help notes using the screen name as the key.<br />
  I don&#8217;t necessarily need to be calling an external program, if anyone can think of a better way to do this. I am trying to avoid having to add a call statement into everyone of these screen programs.</p>
<p>  Thanks,</p>
<p>   Nick </p>
<p> Thanks,</p>
<p>   Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/on-line-help-program-rpgle/#comment-84235</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 23 Nov 2010 11:39:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-84235</guid>
		<description><![CDATA[As Tom said
There is no way that the DDS &quot;calls&quot; another program.  You will have to put the call in your original program.  And, as Tom queried, what are the issues?
Phil]]></description>
		<content:encoded><![CDATA[<p>As Tom said<br />
There is no way that the DDS &#8220;calls&#8221; another program.  You will have to put the call in your original program.  And, as Tom queried, what are the issues?<br />
Phil</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/8 queries in 0.034 seconds using memcached
Object Caching 395/396 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 18:21:51 -->