<?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; Job Control Language</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/job-control-language/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 18:24:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Using an ampersand in JCL</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/in-jcl/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/in-jcl/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 14:00:23 +0000</pubDate>
		<dc:creator>Ankurshankdhar</dc:creator>
				<category><![CDATA[Date in JCL]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[Job Control Language]]></category>
		<category><![CDATA[Programming Languages]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Does anyone know how to handle 2 &#038;&#8217;s together in a JCL ?? I mean in my jcl after replacement of my variables, it is coming like &#8216;&#038;&#038;&#8217;. No errors on jj but run time error &#8216;Incorrect use of ampersand&#8217; !! Please reply asap, urgent requirement. Thanks!!]]></description>
				<content:encoded><![CDATA[<p>Does anyone know how to handle 2 &#038;&#8217;s together in a JCL ?? I mean in my jcl after replacement of my variables, it is coming like &#8216;&#038;&#038;&#8217;. No errors on jj but run time error &#8216;Incorrect use of ampersand&#8217; !! Please reply asap, urgent requirement. Thanks!!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/in-jcl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How do I read a File to end active jobs within my CLP?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-do-i-read-a-file-to-end-active-jobs-within-my-clp/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-do-i-read-a-file-to-end-active-jobs-within-my-clp/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 10:22:13 +0000</pubDate>
		<dc:creator>lotofbad</dc:creator>
				<category><![CDATA[AS/400 jobs]]></category>
		<category><![CDATA[AS/400 Library]]></category>
		<category><![CDATA[CLP]]></category>
		<category><![CDATA[Job Control Language]]></category>
		<category><![CDATA[WRKACTJOB]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[First I would like to say thanks to Tom for always helping. Info: I performed a wrkactjob job(joblog*) and created a spool file based on the results, then I copied that to a pf file call myfile (all within a CLP). I would like to end the jobs that show up in myfile, but im [...]]]></description>
				<content:encoded><![CDATA[<p>First I would like to say thanks to Tom for always helping.<br/><br/> Info: I performed a wrkactjob job(joblog*) and created a spool file based on the results, then I copied that to a pf file call myfile (all within a CLP). I would like to end the jobs that show up in myfile, but im a little lost again. I know what I would like my last command to be  ENDJOB JOB(&#038;NBR/&#038;USER/&#038;JOB) but its the getting to that point that i can not wrap my head around. How do I retrieve the information I need from myfile. by rcvf? or some other means. I would like to keep all this within one cl. below is a draft of this spool file. As you can see there is more data then what im looking for. All I need is the job number, user and job. <br/><br/>  <br/><br/>  Browse : MYLIB/MYFILE(MYFILE)                                                                                                        Record :    1   of   17 by  18  Column : 1    132 by 131                                               Control :                                                                                                                                                                                                                                                              &#8230;.+&#8230;.1&#8230;.+&#8230;.2&#8230;.+&#8230;.3&#8230;.+&#8230;.4&#8230;.+&#8230;.5&#8230;.+&#8230;&#8230;..              ************Beginning of data**************                                                                             5722SS1 V5R4M0 060210                  Work with Active Jobs                                    Reset . . . . . . . . . . . . . . . :   *NO                                                                                     Subsystems  . . . . . . . . . . :   QALLWRK                                                                                 CPU Percent Limit . . . . .  . :   *NONE                                                                                   Response Time Limit . . . . :   *NONE                                                                                   Sequence  . . . . . . . . . . .. :   *SBS                                                                                    Job name  . . . . . . . . . .  . :   JOBLOG*                                                                                            Subsystem/Job  User   Number   User   Type Pool&#8230;.     JOBLOG01     USER1  000001   USER1  BCH    2 &#8230;..    JOBLOG02     USER2  000002   USER2  BCH    2 &#8230;..     JOBLOG03     USER3  000003   USER3  BCH    2 &#8230;..    JOBLOG04     USER4  000004   USER4  BCH    2 &#8230;..    JOBLOG05     USER5  000005   USER5  bCH    2 &#8230;..    JOBLOG06     USER6  000006   USER6  BCH    2 &#8230;..      * * * * *  E N D  O F  L I S T I N G  * * * * *                                                                 ************End of Data********************                                                                            <br/><br/>                                                                <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-do-i-read-a-file-to-end-active-jobs-within-my-clp/feed/</wfw:commentRss>
		<slash:comments>4</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>NDM Pull</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ndm-pull/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/ndm-pull/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 11:07:24 +0000</pubDate>
		<dc:creator>TSPMBR</dc:creator>
				<category><![CDATA[Control Card]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[Job Control Language]]></category>
		<category><![CDATA[Mainframe]]></category>
		<category><![CDATA[NDM]]></category>
		<category><![CDATA[PULL]]></category>
		<category><![CDATA[Scripting languages]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Provide me JCL &#038; Control card to pull a file from server to Mainframe]]></description>
				<content:encoded><![CDATA[<p>Provide me JCL &#038; Control card to pull a file from server to Mainframe</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/ndm-pull/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IKJEFT01 job giving SYSTEM COMPLETION CODE=0C4  REASON CODE=00000011</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ikjeft01-job-giving-system-completion-code0c4-reason-code00000011/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/ikjeft01-job-giving-system-completion-code0c4-reason-code00000011/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 17:22:34 +0000</pubDate>
		<dc:creator>Saurabhgargava</dc:creator>
				<category><![CDATA[ABEND]]></category>
		<category><![CDATA[IKJEFT01]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[Job Control Language]]></category>
		<category><![CDATA[RC=000011]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[One of my job is trying to search the reagions which are holding a file and run this step //PSTY0020 EXEC PGM=IKJEFT01,DYNAMNBR=8, // PARM=(&#8216;%ISFSCAN,&#038;INS..PO.STDATM.JOURNAL&#8217;, // &#8216;DD(2&#038;DD),NONCICSABORT&#8217;) //SYSPROC DD DSN=CSG.CTLCARD,DISP=SHR //SYSTSIN DD DUMMY //SYSTSPRT DD SYSOUT=* //SYSOUT DD SYSOUT=* //ISFSINFO DD DSN=&#038;FSINFO,DISP=SHR //ISFDADS DD DSN=&#038;SEQ..PB.STDATM.ISFDADS, // DISP=(MOD,CATLG,DELETE), // DATACLAS=SMALL //ISFDADR DD DSN=&#038;SEQ..PB.STDATM.ISFDADR, // DISP=(MOD,CATLG,DELETE), // DATACLAS=SMALL [...]]]></description>
				<content:encoded><![CDATA[<p>One of my job is trying to search the reagions which are holding a file and run this step<br />
//PSTY0020 EXEC PGM=IKJEFT01,DYNAMNBR=8,<br />
// PARM=(&#8216;%ISFSCAN,&#038;INS..PO.STDATM.JOURNAL&#8217;,<br />
//   &#8216;DD(2&#038;DD),NONCICSABORT&#8217;)<br />
//SYSPROC   DD  DSN=CSG.CTLCARD,DISP=SHR<br />
//SYSTSIN   DD DUMMY<br />
//SYSTSPRT  DD SYSOUT=*<br />
//SYSOUT    DD SYSOUT=*<br />
//ISFSINFO  DD DSN=&#038;FSINFO,DISP=SHR<br />
//ISFDADS  DD  DSN=&#038;SEQ..PB.STDATM.ISFDADS,<br />
//             DISP=(MOD,CATLG,DELETE),<br />
//             DATACLAS=SMALL<br />
//ISFDADR  DD  DSN=&#038;SEQ..PB.STDATM.ISFDADR,<br />
//             DISP=(MOD,CATLG,DELETE),<br />
//             DATACLAS=SMALL<br />
//*<br />
This Stp is alway&#8217;s getting ended with  Soc 4 and reason code =11<br />
Please can somebody help !!!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/ikjeft01-job-giving-system-completion-code0c4-reason-code00000011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making OMIT command inactive after a some count</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/making-omit-command-inactive-after-a-some-count/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/making-omit-command-inactive-after-a-some-count/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 07:24:54 +0000</pubDate>
		<dc:creator>VisionPlus</dc:creator>
				<category><![CDATA[JCL]]></category>
		<category><![CDATA[Job Control Language]]></category>
		<category><![CDATA[OMIT statement]]></category>
		<category><![CDATA[SORT statement]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have to write a JCL step in which I have to copy a file in to another file after omitting ONLY 5 records in which starting 4 position are having character 1644. Can you please help? Thanks in advance, Sushant Sharma]]></description>
				<content:encoded><![CDATA[<p>I have to write a JCL step in which I have to copy a file in to<br />
another file after omitting ONLY 5 records in which starting 4<br />
position are having character 1644. Can you please help?</p>
<p>Thanks in advance,<br />
Sushant Sharma</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/making-omit-command-inactive-after-a-some-count/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to change name of file to include date in the name of the file</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-change-name-of-file-to-include-date-in-the-name-of-the-file/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-change-name-of-file-to-include-date-in-the-name-of-the-file/#comments</comments>
		<pubDate>Thu, 15 May 2008 04:30:00 +0000</pubDate>
		<dc:creator>Newcoboluser</dc:creator>
				<category><![CDATA[FTP]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[Job Control Language]]></category>
		<category><![CDATA[Mainframe]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I want to FTP from mainframe to PC. We run the JCL to do that and this JOB should run every day. Is it possible to change the name of the file that I want to send to the PC everytime? For instance, I&#8217;d like to put the month/date/year in the file name. //********************************************************************** //* [...]]]></description>
				<content:encoded><![CDATA[<p><b>I want to FTP from mainframe to PC. We run the JCL to do that and this JOB should run every day. Is it possible to change the name of the file that I want to send to the PC everytime? For instance, I&#8217;d like to put the month/date/year in the file name.   </b><br />
//**********************************************************************<br />
//* THIS STEP FTP THE REPORT      *<br />
//**********************************************************************<br />
//NVBC31B EXEC FTP,<br />
//             COND=(0,NE,NVBC31A.D)<br />
//SYSPRINT  DD SYSOUT=*<br />
//OUTPUT    DD SYSOUT=*<br />
//INPUT     DD DSN=PTSO.FC500.NVLF01AA(NVM000AD),DISP=SHR<br />
//          DD *<br />
CD PROMO_PAYMENT_BALANCING_REPORTS<br />
CD PCRCREATION<br />
PUT &#8216;P1OPSBP.F9999.NVBF31AB&#8217; &#8216;<b>PCR CREATION REP.XLT</b>&#8216;<br />
quit<br />
//*                                                                             </p>
<p>So in the above example file name &#8216; <b>PCR CREATION REP.XLT </b>&#8216; should be created as <b>PCR CREATION REP MM-DD-YYYY.XLT.</b></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-change-name-of-file-to-include-date-in-the-name-of-the-file/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/26 queries in 0.041 seconds using memcached
Object Caching 729/849 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 18:30:03 -->