 




<?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: run a &#8216;.bat file&#8217; with an AS400 function key</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/run-a-bat-file-with-an-as400-function-key/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/run-a-bat-file-with-an-as400-function-key/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 17:13:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: superbru43</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/run-a-bat-file-with-an-as400-function-key/#comment-73884</link>
		<dc:creator>superbru43</dc:creator>
		<pubDate>Wed, 17 Feb 2010 08:08:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-73884</guid>
		<description><![CDATA[Thanks for your answers guys. I managed to sort my problem. The reason I was doing this excercise was to have cash till pop open with the function key. It would seem you cannot override the F2 key so now I just need to write it to my invoice program and it will open after dunning the CL I have found and manhandled, which works.
*************** Beginning of data ********************************
             PGM                                                  
             DCL        VAR(&amp;URL) TYPE(*CHAR) LEN(123) +          
                          VALUE(&#039;&quot;C:till.bat&quot;&#039;)                  
             DCL        VAR(&amp;STRCMD) TYPE(*CHAR) LEN(123)         
             STRPCO     PCTA(*NO)                                 
             MONMSG     MSGID(IWS4010)                            
             CHGVAR     VAR(&amp;STRCMD) VALUE(&#039;C:TILL.BAT&#039;)         
             DMPCLPGM                                             
             STRPCCMD   PCCMD(&amp;STRCMD) PAUSE(*NO)                 
 ENDPGM:     ENDPGM                                               
****************** End of data ***********************************
The CL pops the till neatly when called.
Thanks again]]></description>
		<content:encoded><![CDATA[<p>Thanks for your answers guys. I managed to sort my problem. The reason I was doing this excercise was to have cash till pop open with the function key. It would seem you cannot override the F2 key so now I just need to write it to my invoice program and it will open after dunning the CL I have found and manhandled, which works.<br />
*************** Beginning of data ********************************<br />
             PGM<br />
             DCL        VAR(&amp;URL) TYPE(*CHAR) LEN(123) +<br />
                          VALUE(&#8216;&#8221;C:till.bat&#8221;&#8216;)<br />
             DCL        VAR(&amp;STRCMD) TYPE(*CHAR) LEN(123)<br />
             STRPCO     PCTA(*NO)<br />
             MONMSG     MSGID(IWS4010)<br />
             CHGVAR     VAR(&amp;STRCMD) VALUE(&#8216;C:TILL.BAT&#8217;)<br />
             DMPCLPGM<br />
             STRPCCMD   PCCMD(&amp;STRCMD) PAUSE(*NO)<br />
 ENDPGM:     ENDPGM<br />
****************** End of data ***********************************<br />
The CL pops the till neatly when called.<br />
Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajgoaj</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/run-a-bat-file-with-an-as400-function-key/#comment-73879</link>
		<dc:creator>rajgoaj</dc:creator>
		<pubDate>Wed, 17 Feb 2010 04:16:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-73879</guid>
		<description><![CDATA[Superbru, F2 can be used from your application only, I dont think there is a way to override the F2 key in OS400......  If it is in the application, then RUNRMTCMD, STRPCO &amp; STRPCCMD will also help.

Somebody correct me I am wrong.]]></description>
		<content:encoded><![CDATA[<p>Superbru, F2 can be used from your application only, I dont think there is a way to override the F2 key in OS400&#8230;&#8230;  If it is in the application, then RUNRMTCMD, STRPCO &amp; STRPCCMD will also help.</p>
<p>Somebody correct me I am wrong.</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.043 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 17:21:29 -->