 




<?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: How to pause execution of a macro to allow user input of variable data in iSeries</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-pause-execution-of-a-macro-to-allow-user-input-of-variable-data-in-iseries/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-pause-execution-of-a-macro-to-allow-user-input-of-variable-data-in-iseries/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 18:27:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: mainframemaster</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-pause-execution-of-a-macro-to-allow-user-input-of-variable-data-in-iseries/#comment-89923</link>
		<dc:creator>mainframemaster</dc:creator>
		<pubDate>Thu, 24 Mar 2011 17:47:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-89923</guid>
		<description><![CDATA[Hey!
You can usethe &lt;b&gt;InputBox&lt;/b&gt; function:
&lt;pre&gt;
       Resposta = InputBox (&quot;Message&quot;, &quot;Caption&quot;,&quot;DefaultValue&quot;, xPos, yPos) 
&lt;/pre&gt;
Where:
[ol]
[li]Message (string): an explanation on what you want the user to type;[/li]
[li]Caption (string): the tile of the dialog;[/li]
[li]DefaultValue (Variant): the value will be displayed and assumed if the does not enter anything;[/li]
[li]xPos, xPos (integer): the coordinateds where to position the dialog;[/li][ol]
A dialog with an editing field will be showed waiting for the user to type something and click either the [ ok ] button or [ cancel ] button;
If the user click the cancel button the result of the function will be &quot;&quot; (null);
Example:
&lt;pre&gt;
    Resposta = InputBox (&quot;Currency:&quot;, &quot;Systems automation Inc.&quot;,&quot;********&quot;, 100, 300) 
&lt;/pre&gt;
Obs: Passwords cannot be entered because the function always show the chars typed in.]]></description>
		<content:encoded><![CDATA[<p>Hey!<br />
You can usethe <b>InputBox</b> function:</p>
<pre>
       Resposta = InputBox ("Message", "Caption","DefaultValue", xPos, yPos) 
</pre>
<p>Where:<br />
[ol]<br />
[li]Message (string): an explanation on what you want the user to type;[/li]<br />
[li]Caption (string): the tile of the dialog;[/li]<br />
[li]DefaultValue (Variant): the value will be displayed and assumed if the does not enter anything;[/li]<br />
[li]xPos, xPos (integer): the coordinateds where to position the dialog;[/li][ol]<br />
A dialog with an editing field will be showed waiting for the user to type something and click either the [ ok ] button or [ cancel ] button;<br />
If the user click the cancel button the result of the function will be &#8220;&#8221; (null);<br />
Example:</p>
<pre>
    Resposta = InputBox ("Currency:", "Systems automation Inc.","********", 100, 300) 
</pre>
<p>Obs: Passwords cannot be entered because the function always show the chars typed in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: woodengineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-pause-execution-of-a-macro-to-allow-user-input-of-variable-data-in-iseries/#comment-58140</link>
		<dc:creator>woodengineer</dc:creator>
		<pubDate>Wed, 26 Nov 2008 16:35:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-58140</guid>
		<description><![CDATA[If you have access to TAATOOLS, check out PMTOPR command.
It is designed exactly for what you want.
We&#039;ve used it for many years.  Works great.

One really cool feature is that you can use the command to do some basic validation of the user&#039;s response.  For example, if your program asks the user to enter &quot;Y&quot; to proceed or &quot;N&quot; to stop. the command can require the user to enter Y or N, relieving you from writing validation logic in your program.]]></description>
		<content:encoded><![CDATA[<p>If you have access to TAATOOLS, check out PMTOPR command.<br />
It is designed exactly for what you want.<br />
We&#8217;ve used it for many years.  Works great.</p>
<p>One really cool feature is that you can use the command to do some basic validation of the user&#8217;s response.  For example, if your program asks the user to enter &#8220;Y&#8221; to proceed or &#8220;N&#8221; to stop. the command can require the user to enter Y or N, relieving you from writing validation logic in your program.</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.013 seconds using memcached
Object Caching 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 23:22:35 -->