 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; Control Language Programming</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/control-language-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 12:12:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>creating VL, PO, data selection for CL</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/creating-vl-po-data-selection-for-cl/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/creating-vl-po-data-selection-for-cl/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 04:59:17 +0000</pubDate>
		<dc:creator>VJayashree</dc:creator>
				<category><![CDATA[Control Language Programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, Is it possible to create VL, PO, data selection for a CL program?]]></description>
				<content:encoded><![CDATA[<p>Hi, Is it possible to create VL, PO, data selection for a CL program?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/creating-vl-po-data-selection-for-cl/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Handling errors in CL Programs</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/handling-errors-in-cl-programs/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/handling-errors-in-cl-programs/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 21:10:13 +0000</pubDate>
		<dc:creator>Dcantwell</dc:creator>
				<category><![CDATA[CL Program]]></category>
		<category><![CDATA[Control Language Programming]]></category>
		<category><![CDATA[ILE Program]]></category>
		<category><![CDATA[iSeries]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I&#8217;ve been searching all over the internet (and this site) looking for a good way to generically handle errors within a CL program.  Everything&#8217;s seems very vauge to me. What I&#8217;m looking to do is something like this: CHGSPLFA   FILE(&#038;SPOOLFILE) SAVE(*NO)  MONMSG     MSGID(CPF0000)  EXEC('SEND EMAIL WITH ERROR MESSAGE DETAILS TO A USER AND EXIT PROGRAM') [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been searching all over the internet (and this site) looking for a good way to generically handle errors within a CL program.  Everything&#8217;s seems very vauge to me. </p>
<p>What I&#8217;m looking to do is something like this:</p>
<pre>
CHGSPLFA   FILE(&#038;SPOOLFILE) SAVE(*NO)  
MONMSG     MSGID(CPF0000)  EXEC('SEND EMAIL WITH ERROR MESSAGE DETAILS TO A USER AND EXIT PROGRAM')        
</pre>
<p>I&#8217;d like to know the line it failed at, and all of the message details in the email.  </p>
<p>I know you can do EXEC(GOTO CMDLBL(ERROR)) and use SNDDST to send the email.  I&#8217;m not really sure how to pull the information our of the exception thrown.</p>
<p>I&#8217;m so used to taking care of business with try{} catch(e){} in other languages that I never really learned about proper error handling in CL.</p>
<p>Thanks in advance for the help!<br />
Dave</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/handling-errors-in-cl-programs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simulate a key stroke using CL on an AS/400 system?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/simulate-a-key-stroke-using-cl-on-an-as400-system/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/simulate-a-key-stroke-using-cl-on-an-as400-system/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 10:14:59 +0000</pubDate>
		<dc:creator>lotofbad</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[AS400 iseries]]></category>
		<category><![CDATA[CL Commands]]></category>
		<category><![CDATA[CL programming]]></category>
		<category><![CDATA[Control Language Programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Just currious, but is there a way to simulate a key stroke like the &#62;enter&#60; key within a cl prog on an as400 system?    Thanks.]]></description>
				<content:encoded><![CDATA[<p>Just currious, but is there a way to simulate a key stroke like the &gt;enter&lt; key within a cl prog on an as400 system?   <br/><br/> Thanks.<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/simulate-a-key-stroke-using-cl-on-an-as400-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resources for programmable logic controller (PLC)</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/what-is-plc/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/what-is-plc/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 09:29:21 +0000</pubDate>
		<dc:creator>Ermaldina</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Control Language Programming]]></category>
		<category><![CDATA[PLC]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Can any one help me to find something about PLC ? I have a great book for this topic &#8220;Automating Manufacturing Systems with PLCs&#8221; but i need some videos, an online link to practice and anything else that would help me.]]></description>
				<content:encoded><![CDATA[<p>Can any one help me to find something about PLC ?</p>
<div>
<div>I have a great book for this topic &#8220;Automating Manufacturing Systems</div>
<div>with PLCs&#8221; but i need some videos, an online link to practice and anything else that would help me.</div>
</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/what-is-plc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CL for Backup Alerts</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cl-for-backup-alerts/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/cl-for-backup-alerts/#comments</comments>
		<pubDate>Wed, 19 May 2010 04:48:03 +0000</pubDate>
		<dc:creator>Hugheswilliams</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[AS/400 Control Language]]></category>
		<category><![CDATA[Control Language Programming]]></category>
		<category><![CDATA[Job Control Language]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I have to set up alert at a specific time on AS400 which will check if the backup job is running. If the backup is not running at that specific time,it should send an alert&#8217;Backup Not Running&#8217; else it should send an alert&#8217;Backup is running&#8217;/'Backup is in Message Wait&#8217;. Can anyone please suggest me [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,<br/><br/> I have to set up alert at a specific time on AS400 which will check if the backup job is running.<br/><br/> If the backup is not running at that specific time,it should send an alert&#8217;Backup Not Running&#8217; else it should send an alert&#8217;Backup is running&#8217;/'Backup is in Message Wait&#8217;.<br/><br/> Can anyone please suggest me a CL which will check this.I am new to CL and I have been unable to put the above logic.<br/><br/> I have an idea where we need to run WRKJOB &lt;Backup Job Name&gt; and then trap the status of the job ie.whether ACTIVE/MSGW or NOT FOUND .But unfortunately I have been unable to code this logic.<br/><br/> Please can anyone help me with this.<br/><br/> Many Thanks<br/><br/>  <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/cl-for-backup-alerts/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Question On CL400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/question-on-cl400/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/question-on-cl400/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 15:17:11 +0000</pubDate>
		<dc:creator>Rpgrpgile</dc:creator>
				<category><![CDATA[Control Language Programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Through CL code or command how achieve the particular record of Physical File.In a 100 record I just  want to see only 54th record of PF through Cl how? In RPG or ILE we handle through the Chain or in Subfile we use  RRN but in CL i can&#8217;t do?]]></description>
				<content:encoded><![CDATA[<p>Through CL code or command how achieve the particular record of Physical File.In a 100 record I just  want to see only 54th record of PF through Cl how? In RPG or ILE we handle through the Chain or in Subfile we use  RRN but in CL i can&#8217;t do?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/question-on-cl400/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>AS/400 CL Auto Reply to &#8220;Load Next Tape messages&#8221;</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-cl-auto-reply-to-load-next-tape-messages/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/as400-cl-auto-reply-to-load-next-tape-messages/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 05:05:58 +0000</pubDate>
		<dc:creator>Techman96</dc:creator>
				<category><![CDATA[AS/400 backup]]></category>
		<category><![CDATA[CL]]></category>
		<category><![CDATA[CLP]]></category>
		<category><![CDATA[Control Language Programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Would like to auto reply to this message without amending the system reply list entries, rather just from within the Backup CLP itself.]]></description>
				<content:encoded><![CDATA[<p>Would like to auto reply to this message without amending the system reply list entries, rather just from within the Backup CLP itself.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/as400-cl-auto-reply-to-load-next-tape-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</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/14 queries in 0.024 seconds using memcached
Object Caching 715/772 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 16:21:03 -->