 




<?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: Macro Script on AS/400</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 20:55:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/#comment-95249</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 13 Aug 2011 04:14:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-95249</guid>
		<description><![CDATA[What is the macro selecting from?

Tom]]></description>
		<content:encoded><![CDATA[<p>What is the macro selecting from?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yorkshireman</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/#comment-95216</link>
		<dc:creator>yorkshireman</dc:creator>
		<pubDate>Fri, 12 Aug 2011 07:21:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-95216</guid>
		<description><![CDATA[Am I right in think ing that you run a Client Access transfer to move the dat to a PC, then your script?
If so, you can automate the Client access with the RTOPCB batch transfer.   A STRPCCMD could be automated as a scheduled job within the IBM i Series, run the transfer, call Excel, and IFIRC, the macro set to run on opening the sheet.]]></description>
		<content:encoded><![CDATA[<p>Am I right in think ing that you run a Client Access transfer to move the dat to a PC, then your script?<br />
If so, you can automate the Client access with the RTOPCB batch transfer.   A STRPCCMD could be automated as a scheduled job within the IBM i Series, run the transfer, call Excel, and IFIRC, the macro set to run on opening the sheet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deepu9321</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/#comment-95212</link>
		<dc:creator>deepu9321</dc:creator>
		<pubDate>Fri, 12 Aug 2011 05:20:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-95212</guid>
		<description><![CDATA[It is an Excel compatible macro.
And, As of now we are automating(Scheduled Jobs) all other Reports except Macro scripts. 
Still it will be good if I can know about this.
Here is the structure of the code. I have not included fully.

&lt;pre&gt;Sub Macro1()
&#039;
&#039; Macro1 Macro
&#039; Macro created 5/02/2010 by Allan Guatlo
&#039;

&#039;
    Columns(&quot;A:A&quot;).Select
    Selection.TextToColumns Destination:=Range(&quot;A1&quot;), DataType:=xlFixedWidth, _
        FieldInfo:=Array(Array(0, 1), Array(44, 1), Array(55, 1), Array(64, 1), Array(73, 1), _
        Array(82, 1), Array(91, 1), Array(100, 1), Array(109, 1), Array(118, 1), Array(127, 1), _
        Array(136, 1), Array(145, 1), Array(154, 1), Array(168, 1), Array(176, 1), Array(190, 1))
    Cells.Select
    Cells.EntireColumn.AutoFit
....
...
...
    Columns(&quot;U:U&quot;).Select
    Range(Selection, Selection.End(xlToRight)).Select
    Selection.Delete Shift:=xlToLeft
    
    Rows(&quot;1:1&quot;).Select
    Selection.Insert Shift:=xlDown
    Range(&quot;A1&quot;).Select
    
    ActiveCell.FormulaR1C1 = reportMonth
    
End Sub
&lt;/pre&gt;

Pradeep.]]></description>
		<content:encoded><![CDATA[<p>It is an Excel compatible macro.<br />
And, As of now we are automating(Scheduled Jobs) all other Reports except Macro scripts.<br />
Still it will be good if I can know about this.<br />
Here is the structure of the code. I have not included fully.</p>
<pre>Sub Macro1()
'
' Macro1 Macro
' Macro created 5/02/2010 by Allan Guatlo
'

'
    Columns("A:A").Select
    Selection.TextToColumns Destination:=Range("A1"), DataType:=xlFixedWidth, _
        FieldInfo:=Array(Array(0, 1), Array(44, 1), Array(55, 1), Array(64, 1), Array(73, 1), _
        Array(82, 1), Array(91, 1), Array(100, 1), Array(109, 1), Array(118, 1), Array(127, 1), _
        Array(136, 1), Array(145, 1), Array(154, 1), Array(168, 1), Array(176, 1), Array(190, 1))
    Cells.Select
    Cells.EntireColumn.AutoFit
....
...
...
    Columns("U:U").Select
    Range(Selection, Selection.End(xlToRight)).Select
    Selection.Delete Shift:=xlToLeft
    
    Rows("1:1").Select
    Selection.Insert Shift:=xlDown
    Range("A1").Select
    
    ActiveCell.FormulaR1C1 = reportMonth
    
End Sub
</pre>
<p>Pradeep.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/#comment-95211</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 12 Aug 2011 04:25:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-95211</guid>
		<description><![CDATA[&lt;i&gt;...using it for Extracting Data from Database to Excel Sheet.&lt;/i&gt;

An Excel-compatible file could be generated on the AS/400 on a schedule. The basic question would be about what &quot;Data from Database&quot; is used as input to the macro.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;using it for Extracting Data from Database to Excel Sheet.</i></p>
<p>An Excel-compatible file could be generated on the AS/400 on a schedule. The basic question would be about what &#8220;Data from Database&#8221; is used as input to the macro.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yorkshireman</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/#comment-95135</link>
		<dc:creator>yorkshireman</dc:creator>
		<pubDate>Wed, 10 Aug 2011 08:22:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-95135</guid>
		<description><![CDATA[Perhaps you should give some more details - the term &#039;macro script&#039;  isn&#039;t very precise.  Is it a macro in Client Access?  in Excel?   &#039;macroo&#039;s used to imply a keystroke recorder, but could now include any functionality.

How is the macro started - on which platform?  Can you post the code here ?

Generating a report at a monthend is uitterly fundamental to business processing, and on IBM a Scheduled job entry would be a start point.  


More information please...]]></description>
		<content:encoded><![CDATA[<p>Perhaps you should give some more details &#8211; the term &#8216;macro script&#8217;  isn&#8217;t very precise.  Is it a macro in Client Access?  in Excel?   &#8216;macroo&#8217;s used to imply a keystroke recorder, but could now include any functionality.</p>
<p>How is the macro started &#8211; on which platform?  Can you post the code here ?</p>
<p>Generating a report at a monthend is uitterly fundamental to business processing, and on IBM a Scheduled job entry would be a start point.  </p>
<p>More information please&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deepu9321</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/#comment-95132</link>
		<dc:creator>deepu9321</dc:creator>
		<pubDate>Wed, 10 Aug 2011 04:59:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-95132</guid>
		<description><![CDATA[I am not writing into any Display Files using Macro and using it for Extracting Data from Database to Excel Sheet.

Pradeep.]]></description>
		<content:encoded><![CDATA[<p>I am not writing into any Display Files using Macro and using it for Extracting Data from Database to Excel Sheet.</p>
<p>Pradeep.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/macro-script-on-as400/#comment-95125</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 09 Aug 2011 22:05:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-95125</guid>
		<description><![CDATA[Although there&#039;s not much chance of replicating the actual macro onto your AS/400, the &lt;i&gt;functions&lt;/i&gt; that are done by the macro can usually be duplicated. The difficult parts to duplicate would be any times that your macro entered characters into a display file in one of your applications.

What tasks does your macro do?

Tom]]></description>
		<content:encoded><![CDATA[<p>Although there&#8217;s not much chance of replicating the actual macro onto your AS/400, the <i>functions</i> that are done by the macro can usually be duplicated. The difficult parts to duplicate would be any times that your macro entered characters into a display file in one of your applications.</p>
<p>What tasks does your macro do?</p>
<p>Tom</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.014 seconds using memcached
Object Caching 352/355 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 21:30:06 -->