<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6291205605776810933</id><updated>2024-12-19T09:02:11.827+05:30</updated><category term="CICS"/><category term="DB2"/><category term="COBOL"/><category term="JCL"/><category term="MQ"/><category term="SORT"/><category term="CIEP"/><category term="CPMI"/><category term="DB2 bind process"/><category term="UTILITIES"/><category term="DFSORT"/><category term="ECI"/><category term="ICETOOL"/><category term="VSAM"/><category term="XML"/><category term="php"/><category term="tcpip"/><category term="AOR"/><category term="Abends"/><category term="Application Transaction"/><category term="Batch Transaction"/><category term="Business Logic"/><category term="CEDA"/><category term="Changeman"/><category term="Compilier Listing"/><category term="Cursors"/><category term="FOR"/><category term="INTRDR"/><category term="Intercommunication Features"/><category term="Interview Questions"/><category term="LOCK Parameter"/><category term="MRO"/><category term="OTE"/><category term="REXX"/><category term="SPOOLOPEN"/><category term="TABLESPACE"/><category term="TCP IP"/><category term="TOR"/><category term="Visual COBOL"/><category term="Web Services"/><category term="access sql fields in another page"/><category term="global"/><category term="global variables"/><category term="session start"/><title type='text'>The Big Old Mainframe</title><subtitle type='html'>The most comprehensive resource on the web for mainframe developers</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>raj</name><uri>http://www.blogger.com/profile/02152460365710119892</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxhcMv9zjUot2QqkvPBptD7tAW_X5UOgZPrxTb0UYSkUs3SYpDRPCCw8zH37fjaRFHtYJGRzGxQrAMee0Up0nWe_nNBrkB1Gpx2zRsZ6Lq68AYk05tcJveiuX9eOngA/s1600-r/IMAGE_257.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>55</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-6125544628862968899</id><published>2016-07-31T13:29:00.002+05:30</published><updated>2016-07-31T13:29:09.748+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="access sql fields in another page"/><category scheme="http://www.blogger.com/atom/ns#" term="global"/><category scheme="http://www.blogger.com/atom/ns#" term="global variables"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Dynamic php code to get database fields in sql server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: purple; font-family: Trebuchet MS, sans-serif;&quot;&gt;Here is small code snippet to display php fields dynamically:&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;page.php&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: red; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;....&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;....&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;$sql = &quot;&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;SELECT * FROM xyz where student1 =&#39;$user1&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$stmt = sqlsrv_query($conn, $sql);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if( $stmt === false ) {&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: blue; white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;die( &lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;&#39;&amp;lt;pre&amp;gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;.print_r( sqlsrv_errors(), true).&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;&#39;&amp;lt;/pre&amp;gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt; );&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if( sqlsrv_fetch($stmt) === false ) {&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: blue; white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;die(&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt; &#39;&amp;lt;pre&amp;gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;.print_r( sqlsrv_errors(), true).&lt;/span&gt;&lt;span style=&quot;color: #999999;&quot;&gt;&#39;&amp;lt;/pre&amp;gt;&#39; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;};&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;....&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;....&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: red; font-family: Trebuchet MS, sans-serif;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;page1.php&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;&lt;i style=&quot;color: blue;&quot;&gt;
global $stmt;&lt;/i&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
col4=;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;
echo col4;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;
?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/6125544628862968899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2016/07/dynamic-php-code-to-get-database-fields.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6125544628862968899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6125544628862968899'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2016/07/dynamic-php-code-to-get-database-fields.html' title='Dynamic php code to get database fields in sql server'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-4024812291229507634</id><published>2016-07-31T13:12:00.000+05:30</published><updated>2016-07-31T13:12:37.039+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="session start"/><title type='text'>Php1-Pass a variable from one page to other webpage </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;How to pass a variable from one webpage to another?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Its the simple command to be given in both the pages:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&lt;u&gt;Mypage.php&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&amp;lt;?php&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;session start();&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;row=1;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;?&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&lt;u&gt;Mypage1.php&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;&amp;lt;?php&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;session start ();&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;echo row;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;i&gt;?&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/4024812291229507634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2016/07/php1-pass-variable-from-one-page-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/4024812291229507634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/4024812291229507634'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2016/07/php1-pass-variable-from-one-page-to.html' title='Php1-Pass a variable from one page to other webpage '/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-3064352163077348786</id><published>2015-10-20T21:16:00.001+05:30</published><updated>2015-10-20T21:16:24.981+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DFSORT"/><category scheme="http://www.blogger.com/atom/ns#" term="SORT"/><title type='text'>DFSORT - To search for the string from the file when position is not known</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;_Toc56415170&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;Search for a string when its position not known in the file records&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;To Search for a particular string within a file when
the exact position of that string within a record is not known and to write
that record in the Output file, the following SORT card can be used.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;//SYSIN&amp;nbsp;&amp;nbsp;&amp;nbsp; DD&amp;nbsp;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SORT
FIELDS=COPY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDE
COND=(1,80,SS,EQ,C&#39;PQ2222222222&#39;)&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;Here,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;SS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp;&amp;nbsp; Sub string,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;&amp;nbsp; Starting position of the range&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;80 &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;Width of the search range&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoBodyText&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;EQ &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp;&amp;nbsp;&amp;nbsp;Comparison operators &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;Note:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;Only EQ
     &amp;amp; NE can be used for comparison. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;We can
     even use OMIT COND instead of INCLUDE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;Consider input files:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;ABC.SORTIN&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;PQ000003 1000001 PQ2222222222 123 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;PQ000002 1000002 EF1111111111 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;PQ000004 1000002 AB3333333333 530 PQ2222222222&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;PQ000003 1000001 CD5555555555 005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;PQ000001 1000004 RQ1111111111 &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;PQR.SORTOUT&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;PQ000003 1000001 PQ2222222222 123 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;PQ000004 1000002 AB3333333333 530 PQ2222222222&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;We can also use AND/OR to combine conditions&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;//SYSIN&amp;nbsp;&amp;nbsp;&amp;nbsp; DD&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SORT
FIELDS=COPY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDE
COND=(1,80,SS,EQ,C&#39;PQ2222222222&#39;,AND,&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
1,80,SS,EQ,C&#39;AB3333333333&#39;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;&lt;b&gt;/*&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;XYZ.SORTOUT&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;PQ000004 1000002 AB3333333333 530 PQ2222222222&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-special-character: line-break; page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/3064352163077348786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/10/dfsort-to-search-for-string-from-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3064352163077348786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3064352163077348786'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/10/dfsort-to-search-for-string-from-file.html' title='DFSORT - To search for the string from the file when position is not known'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-4297723114534251201</id><published>2015-10-14T21:17:00.000+05:30</published><updated>2015-10-14T21:17:04.975+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="VSAM"/><title type='text'>KSDS VSAM file creation in read-only mode</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;KSDS VSAM file can be made read only &lt;/span&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;By using &lt;/span&gt;&lt;b style=&quot;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;INHIBIT &lt;/b&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;along with &lt;/span&gt;&lt;b style=&quot;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;ALTER &lt;/b&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;command&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;u&gt;Example:&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;//STEP1 EXEC PGM=IDCAMS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSPRINT DD SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSIN DD *&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;ALTER -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;READ1.KSDS.DATA -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;INHIBIT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;ALTER -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;READ1.KSDS.INDEX -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;INHIBIT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;/*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;Notice that the ALTER command is used with DATA and
INDEX and not with the cluster.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/4297723114534251201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/10/ksds-vsam-file-creation-in-read-only.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/4297723114534251201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/4297723114534251201'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/10/ksds-vsam-file-creation-in-read-only.html' title='KSDS VSAM file creation in read-only mode'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-8404667083999839609</id><published>2015-10-14T21:10:00.001+05:30</published><updated>2015-10-14T21:11:06.046+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><category scheme="http://www.blogger.com/atom/ns#" term="Compilier Listing"/><title type='text'>List possible compiler diagnostic messages</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times-Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 11.5pt; mso-bidi-font-family: Times-Roman;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 15.3333px;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;Use of Compiler diagnostic messages&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times-Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 11.5pt; mso-bidi-font-family: Times-Roman;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;A complete listing of compiler diagnostic
messages can be generated with their explanations, by&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;compiling a program with the program-id of ERRMSG specified in the
PROGRAM-ID&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;paragraph.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Example:&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;IDENTIFICATION DIVISION&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;PROGRAM-ID.ERRMSG.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;ENVIRONMENT DIVISION.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;DATA DIVISION.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;PROCEDURE DIVISION.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;STOP
RUN.&lt;/span&gt;&lt;span style=&quot;font-family: Times-Roman, serif; font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/8404667083999839609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/10/create-compiler-diagnostic-messages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/8404667083999839609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/8404667083999839609'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/10/create-compiler-diagnostic-messages.html' title='List possible compiler diagnostic messages'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-4796169083944479322</id><published>2015-09-25T20:04:00.004+05:30</published><updated>2015-09-25T20:04:54.134+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Batch Transaction"/><category scheme="http://www.blogger.com/atom/ns#" term="CICS"/><title type='text'>Trigger CICS transaction Batch programs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;There are many situations where user has to trigger CICS transaction via batch jobs. This becomes handy when any CICS program is being coded and situation occurs to allocate/de-allocate files.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;However, there is one installation required up hand for CICS to accept the commands from batch; the console definition must be defined in the terminal table. Sample&amp;nbsp;console definitions are provided by IBM supplied resource group DFH$CNSL. You would require your CICS administrator to set up if not done.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Use the MODIFY command to trigger the
transaction from a batch job. MODIFY command is abbreviated to F. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Example:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;Following JCL launches the transaction
TXN1 in the CICS region CICRGN1 &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 6pt 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;span style=&quot;background-color: black; color: lime; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;//CICSBTCH
JOB …&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//STEP001
EXEC ...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//
………..&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//STEP002
EXEC PGM=IEFBR14&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//
COMMAND &#39;F CICRGN11,TRA1&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 6pt 0cm 0pt;&quot;&gt;
&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Note&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 6pt 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;i) The MVS command is directly executed
without waiting for the completion of the STEP001.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot;&gt;ii) The above command triggers the
transaction TRA1 in the region CICRGN11. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot;&gt;iii) The command must be placed between
quotes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;To avoid the execution of the command
before the completion of STEP001, launch the MVS command in separate job. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 6pt 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Example: &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 6pt 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;&lt;span style=&quot;background-color: black; color: lime; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;//BTCHSUB
JOB ......&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//STEP001
EXEC ......&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//
--------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//STEP002&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;EXEC PGM=IEBGENER&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//SYSPRINT
DD SYSOUT=*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//SYSUT1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;DD DATA,DLM=@@&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;//CICSBTCH JOB ……&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;//STEPR&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;EXEC PGM=IEFBR14&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;// COMMAND &#39;F CICRGN11,TRA1&#39;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//SYSUT2
DD SYSOUT=(A,INTRDR)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;span lang=&quot;EN-US&quot; style=&quot;mso-bidi-font-weight: bold;&quot;&gt;//SYSIN
DD DUMMY&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;

&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;//*&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 6pt 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;In the above job, STEP002 submits the
batch interface job (CICSBTCH) to internal reader upon the completion of the
step STEP001. Thus the transaction TRA1 is triggered only after the completion
of STEP001.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;

&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/4796169083944479322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/trigger-cics-transaction-batch-programs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/4796169083944479322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/4796169083944479322'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/trigger-cics-transaction-batch-programs.html' title='Trigger CICS transaction Batch programs'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-3232529538292368159</id><published>2015-09-25T17:32:00.001+05:30</published><updated>2015-09-25T17:36:26.381+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CICS"/><category scheme="http://www.blogger.com/atom/ns#" term="INTRDR"/><category scheme="http://www.blogger.com/atom/ns#" term="SPOOLOPEN"/><title type='text'>Trigger JCL via SPOOL option in CICS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;CODE SNIPPET&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;IDENTIFICATION DIVISION.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PROGRAM-ID. SAMPLE.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;AUTHOR. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DATE-WRITTEN. 04/01/XXXX. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DATE-COMPILED. 04/01/XXXX. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;******************************************************************* &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;* CODE SNIPPET TO FORM JCL VIA CICS. &lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;* &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;*&amp;nbsp;ONLINE PROGRAM CALLED THROUGH TRANSACTION &lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;* &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;******************************************************************* &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;ENVIRONMENT DIVISION. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;CONFIGURATION SECTION. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DATA DIVISION. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;WORKING-STORAGE SECTION. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;01 WS-T PIC X (8). &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;01 JCL-CARDS. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X (80) VALUE &#39;//SAMPLE JOB (XYZ),&quot;BATCH RUN&quot;&#39;,&#39;.00&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;// CLASS=E,MSGLEVEL=(1,1),REGION=0M,MSGCLASS=X&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//THREAD EXEC PGM=IKJEFT01,DYNAMNBR=20&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//STEPLIB DD DSN=CEE.SCEERUN,DISP=SHR&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;// DD DSN=CEE.SCEECICS,DISP=SHR&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;// DD DSN=CEE.SCEELKED,DISP=SHR&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;// DD DSN=SYS1.DSNXXX.SDSNLOAD,DISP=SHR&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;// DD DSN=DSNXXX.DBXX.RUNLIB.LOAD,DISP=SHR&#39;.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;// DD DSN=ABCD.XXX.COBLOAD,DISP=SHR&#39;. &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;// DD DSN=ABCD.XXX.ASMLOAD,DISP=SHR&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSTSPRT DD SYSOUT=*&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSPRINT DD SYSOUT=*&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSABOUT DD SYSOUT=*&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSDBOUT DD SYSOUT=*&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSUDUMP DD SYSOUT=*&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSOUT DD SYSOUT=*&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSIN DD *&#39;.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 WS-THREAD-DTLS. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;10 FILLER PIC X(12) VALUE &#39;CTRANSAC 0001&#39;.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;10 FILLER PIC X(68) VALUE &#39; &#39;. &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39; &#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;/*&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//SYSTSIN DD *&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39; DSN SYSTEM(DBXX)&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39; RUN PROGRAM(PXXXXXX)-&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39; PLAN(PXXXX)&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;END&#39;.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;//*&#39;. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;05 FILLER PIC X(80) VALUE &#39;/*EOF&#39;. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;01 FILLER REDEFINES JCL-CARDS. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp; 05 CARD OCCURS 27 TIMES INDEXED BY CARD-INDEX PIC X(80). &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;01 WS-JCL-LINES PIC 9(3) VALUE 27. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PROCEDURE DIVISION. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;A-MAIN-PARA. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PERFORM B-MAIN-PROCESS THRU B-MAIN-PROCESS-EXIT &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PERFORM C-TERMINATION THRU C-TERMINATION-EXIT &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;A-MAIN-PARA-EXIT. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;EXIT. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;B-MAIN-PROCESS. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;EXEC CICS &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SPOOLOPEN OUTPUT &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;USERID(&#39;INTRDR&#39;) &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NODE(&#39;XXXX&#39;) &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;TOKEN(WS-T)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NOHANDLE &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;END-EXEC &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PERFORM VARYING CARD-INDEX FROM 1 BY 1 UNTIL CARD-INDEX &amp;gt; WS-JCL-LINES &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;EXEC CICS SPOOLWRITE &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;TOKEN(WS-T) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-left: 36pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;FROM(CARD(CARD-INDEX)) &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 36pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;FLENGTH(80) &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 36pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NOHANDLE &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;END-EXEC &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;END-PERFORM &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: Courier New;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;EXEC CICS SPOOLCLOSE &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;TOKEN(WS-T) &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NOHANDLE &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;END-EXEC.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;B-MAIN-PROCESS-EXIT. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;EXIT. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;C-TERMINATION. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;GOBACK. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;C-TERMINATION-EXIT. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;EXIT. &lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Sample JCL: &lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: Courier New;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SAMPLE JOB (XYZ),&#39;BATCH
RUN&#39;,0.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//CLASS=E,MSGLEVEL=(1,1),REGION=0M,MSGCLASS=X &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//THREAD EXEC
PGM=IKJEFT01,DYNAMNBR=20 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//STEPLIB DD
DSN=CEE.SCEERUN,DISP=SHR &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// DD
DSN=CEE.SCEECICS,DISP=SHR &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// DD
DSN=CEE.SCEELKED,DISP=SHR &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// DD DSN=SYS1.DSNXXX.SDSNLOAD,DISP=SHR
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// DD DSN=DSNXXX.DBXX.RUNLIB.LOAD,DISP=SHR
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// DD DSN=ABCD.XYZ.COBLOAD,DISP=SHR
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;// DD DSN=ABCD.XYZ.ASMLOAD,DISP=SHR
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SYSTSPRT DD
SYSOUT=* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SYSPRINT DD
SYSOUT=* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SYSABOUT DD
SYSOUT=* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SYSDBOUT DD
SYSOUT=* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SYSUDUMP DD
SYSOUT=* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SYSOUT DD
SYSOUT=* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//SYSIN DD * &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp;CTRANSC 0001 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;/* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;//SYSTSIN DD * &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;DSN SYSTEM(DBXX) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;RUN
PROGRAM(PXXXXXX)- &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;PLAN(PXXXX) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;END &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;//*&amp;nbsp;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Times New Roman;&quot;&gt;

&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/3232529538292368159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/trigger-jcl-via-spool-option.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3232529538292368159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3232529538292368159'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/trigger-jcl-via-spool-option.html' title='Trigger JCL via SPOOL option in CICS'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-2932030391617849863</id><published>2015-09-25T16:10:00.001+05:30</published><updated>2015-09-25T16:14:56.791+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cursors"/><category scheme="http://www.blogger.com/atom/ns#" term="DB2"/><title type='text'>Advanced Cursors in DB2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-size: x-large;&quot;&gt;CURSORS IN DB2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Use of DB2 Cursors in Application Program &lt;/span&gt;&lt;/h3&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Mechanism that allows the SELECT statement to find a set of rows from table &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;It return rows one at a time&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Used as similar to a File which can be Opened, Read and Closed &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;‘Fetch’ terminology is used instead of ‘Read’&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Can be declared in both ‘Working Storage’ and ‘Procedure Division’ &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Should always be declared before the ‘Open’ Cursor statement&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Types of Cursors &lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- Row Positioned Cursor&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- RowSet Positioned Cursor&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- Scrollable &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- Non Scrollable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- Held &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- Non-Held&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- Returnable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;- Non-Returnable&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Brief Description for cursors&amp;nbsp;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;Row Positioned Cursor&lt;/strong&gt; : Standard common cursor used for DB2-COBOL programs. Returns on row from the table at a time into host variables. The steps for this cursor are Declare, Open, Fetch and Close operations.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;RowSet Positioned Cursor&lt;/strong&gt;: RowSet positioned cursor retrieves 0, 1 or many records at a time into host variables array. This array will be declared within application program. The steps for this cursor are Declare, Open, Fetch and Close operations.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;Scrollable&lt;/strong&gt;: This is&amp;nbsp;identified&amp;nbsp;with SCROLL keyword in the Declare&amp;nbsp;statement of cursor. The behaviour of the scrollable cursor is governed based on the sensitivity with cursor is declared. It can be row positioned or row set positioned. The steps for this cursor are Declare, Open, Fetch and Close operations. There are subtypes to this one as insensitive and sensitive. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;Non-Scrollable: &lt;/strong&gt;Do not have key word SCROLL. A simple Row or rowset cursor postioned cursor without a scroll clause is a non-scrollable cursor&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;Held: &lt;/strong&gt;This type of cursor is not closed explicitly after commit operation is complete. It returns only 1 row at a time into host variables&lt;strong&gt;.&lt;/strong&gt;The steps for this cursor are Declare, Open, Fetch and Close operations. Application programmer can issue close or rollback operation to the held cursor; if not issued cursor is closed when the application program terminates.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;Non-Held: &lt;/strong&gt;This is similar to row positioned cursor. This is closed after a Commit operation is complete.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;Returnable: &lt;/strong&gt;This type of cursors are generally used in stored procedures. This are mainly used to return set of records directly in application program. All the rows selected by the cursor are output at the same time.The steps for this cursor are only open and close statements. More than 1 cursor can be present in single application program.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;strong&gt;Non-Returnable: &lt;/strong&gt;This is similar to non-held cursor. It returns only 1 row at a time.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;





&lt;/span&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/2932030391617849863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/advanced-cursors-in-db2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2932030391617849863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2932030391617849863'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/advanced-cursors-in-db2.html' title='Advanced Cursors in DB2'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-2622848342600744185</id><published>2015-09-13T15:00:00.003+05:30</published><updated>2015-09-13T15:01:27.156+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AOR"/><category scheme="http://www.blogger.com/atom/ns#" term="CICS"/><category scheme="http://www.blogger.com/atom/ns#" term="FOR"/><category scheme="http://www.blogger.com/atom/ns#" term="Intercommunication Features"/><category scheme="http://www.blogger.com/atom/ns#" term="MRO"/><category scheme="http://www.blogger.com/atom/ns#" term="TOR"/><title type='text'>What is MRO - Multi Region Operation! Why is it useful! How is TOR, AOR and FOR linked?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;b&gt;Using Intercommunication Features in CICS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;MRO - Multi Region Operation is used connect CICS region running on the same processor.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;Each System has its own address space&amp;nbsp;independently, hence if any region goes down others are not&amp;nbsp;affected.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;Typical MRO includes&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;TOR - Terminal Owning Region which owns all the Terminal&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;AOR - An Application Owning Region that owns all the Applications&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;FOR - File Owning Region that owns all the Files&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;How transaction routes from TOR to AOR?&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;The PCT entry in the Terminal Owning Region is defined as below:&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;Terminal Owing Region (PRVT)&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Transaction: ABC1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; Remote&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Sysid: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRVA&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;Application Owing Region(PRVA)&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Transaction: ABC1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Local&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Program: XYZ123P&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;- Any transaction is triggered in the TOR terminal. It checks PCT entry for type and sysid for AOR&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;- Transactions then routes to the AOR where its defined local in PCT and hits program defined in it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;- Any I/O transaction to be done is routed back to TOR&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;How transaction is shipped from AOR to FOR?&lt;/span&gt;&lt;/h3&gt;
&lt;h4&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;In Application Owing Region(PRVA)&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;XYZ123P&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Reads Customer1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;File Control Table&amp;nbsp;Definition&amp;nbsp;in AOR&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Type: Remote&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;File : Customer1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;SYSID: PRVF&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Reclen: 258&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Key: 25&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;In File Owing Region(PRVF)&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;File Control Table&amp;nbsp;Definition&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp;in FOR&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;Type: Local&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;File : Customer1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;Access: VSAM KSDS&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Function shipping allows to access resource defined in the other region.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;If Program defined in AOR, needs to access file which is defined local in other region, FCT entry is defined with sysid of the FOR region and file type is defined as remote&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Once the program needs to read this file, the control is transferred to the FOR region&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;where file is residing as local.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Program accesses required information and passes control back to AOR region.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/2622848342600744185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/what-is-mro-multi-region-operation-why.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2622848342600744185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2622848342600744185'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/what-is-mro-multi-region-operation-why.html' title='What is MRO - Multi Region Operation! Why is it useful! How is TOR, AOR and FOR linked?'/><author><name>raj</name><uri>http://www.blogger.com/profile/02152460365710119892</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxhcMv9zjUot2QqkvPBptD7tAW_X5UOgZPrxTb0UYSkUs3SYpDRPCCw8zH37fjaRFHtYJGRzGxQrAMee0Up0nWe_nNBrkB1Gpx2zRsZ6Lq68AYk05tcJveiuX9eOngA/s1600-r/IMAGE_257.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-2165065484113928221</id><published>2015-09-13T13:56:00.003+05:30</published><updated>2015-09-13T13:56:49.895+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Application Transaction"/><category scheme="http://www.blogger.com/atom/ns#" term="Business Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="CEDA"/><category scheme="http://www.blogger.com/atom/ns#" term="CICS"/><category scheme="http://www.blogger.com/atom/ns#" term="CIEP"/><category scheme="http://www.blogger.com/atom/ns#" term="CPMI"/><category scheme="http://www.blogger.com/atom/ns#" term="ECI"/><title type='text'>Separate CICS Business Application Transactions and CICS Default Communication Transactions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Separate Default and Application Level Transaction&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;This is kind of good practice to always separate Default CICS Transaction from the application level of Transaction.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;Once the TCPIP connections are established between Web Services and CICS;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;- All the CICS services runs under CIEP transaction as its defined and linked to the TCP IP service and port/host of the Web Services&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;- All the services running under default is copied to the mirror transaction as its defined as communication parameter for Web Services&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;- Also when messages are serviced from the Web Services, generally CICS receives program which needs to be invoked and that application level program runs under default transaction&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;- In these cases, if any application level service is invoked it runs under default transaction CIEP which creates problem if any user needs to debug&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;The Flow is&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;Web Service Intiates communication via defined port and CICS CPMI Mirror transaction&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;Port is linked to the CICS default transaction CIEP&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;Any service that runs under CIEP will be copied on mirror transaction CPMI&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;Application program is invoked &amp;nbsp;(Example : PKAABC) as its received in the message from Web Service&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;This transaction ideally runs under CIEP if specific application level transactions is not linked&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;Hence, always have separate transaction defined for the application level program and&amp;nbsp;separate&amp;nbsp;it&amp;nbsp;from the communication parameters&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;CEDA DEFINE TRANSACTION(XYZ1) PROGRAM(XYZ2)
GROUP(AAA2)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Hence this &amp;nbsp;program XYZ2 received in the message from Web Services will under XYZ1 transaction. And this transaction will run under CIEP CICS default transaction. As explained above complete CIEP transaction will be mirrored under CPMI transaction linked to Web Service by TCP IP set up.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Read Related Article:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2015/09/what-is-eci.html&quot;&gt;External Call Interface&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2015/09/establishing-tcp-ip-service-between-web.html&quot;&gt;Establish TCP IP Service Between Web and CICS&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/2165065484113928221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/separate-cics-business-application.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2165065484113928221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2165065484113928221'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/separate-cics-business-application.html' title='Separate CICS Business Application Transactions and CICS Default Communication Transactions'/><author><name>raj</name><uri>http://www.blogger.com/profile/02152460365710119892</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxhcMv9zjUot2QqkvPBptD7tAW_X5UOgZPrxTb0UYSkUs3SYpDRPCCw8zH37fjaRFHtYJGRzGxQrAMee0Up0nWe_nNBrkB1Gpx2zRsZ6Lq68AYk05tcJveiuX9eOngA/s1600-r/IMAGE_257.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-3121703935510814122</id><published>2015-09-13T12:56:00.000+05:30</published><updated>2015-09-13T12:59:20.464+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CICS"/><category scheme="http://www.blogger.com/atom/ns#" term="CIEP"/><category scheme="http://www.blogger.com/atom/ns#" term="CPMI"/><category scheme="http://www.blogger.com/atom/ns#" term="ECI"/><category scheme="http://www.blogger.com/atom/ns#" term="tcpip"/><title type='text'>What is ECI?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;External Call Interface&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;ECI calls are the way of communication between CICS and Web Services which uses TCP IP connections.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Client Side or Web Service need not use BMI setups to connect to CICS online transactions.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;ECI calls are set up and linked the CICS default transaction. And on the client side or Web Service side can be set up in a way where it can run on mirror transactions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Read Blog for more reference &amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #20124d; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: x-small; text-transform: uppercase;&quot;&gt;&lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2015/09/establishing-tcp-ip-service-between-web.html&quot;&gt;TCPIP CONNECTION BETWEEN CICS AND WEB SERVICES&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/3121703935510814122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/what-is-eci.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3121703935510814122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3121703935510814122'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/what-is-eci.html' title='What is ECI?'/><author><name>raj</name><uri>http://www.blogger.com/profile/02152460365710119892</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxhcMv9zjUot2QqkvPBptD7tAW_X5UOgZPrxTb0UYSkUs3SYpDRPCCw8zH37fjaRFHtYJGRzGxQrAMee0Up0nWe_nNBrkB1Gpx2zRsZ6Lq68AYk05tcJveiuX9eOngA/s1600-r/IMAGE_257.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-6994569029185298383</id><published>2015-09-13T12:53:00.001+05:30</published><updated>2015-09-13T13:58:35.757+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CICS"/><category scheme="http://www.blogger.com/atom/ns#" term="CIEP"/><category scheme="http://www.blogger.com/atom/ns#" term="CPMI"/><category scheme="http://www.blogger.com/atom/ns#" term="TCP IP"/><category scheme="http://www.blogger.com/atom/ns#" term="tcpip"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Services"/><title type='text'>Establishing TCP IP service between Web Services and CICS via CIEP Default transactions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TCPIP Connection between CICS and Web Services&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;If you have any Java front end connected to CICS via Web Services following parameters needs to be taken care of:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;Currently, I have tested with the Web Services using WSDL objects. There are&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Web services use the standard web protocols HTTP, XML, SOAP, WSDL, and UDDI.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;WSDL (Web Services Description Language) is an XML-based language used to define web services and to describe how to access them.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;- Connection between CICS and Web Method Serivces via TCP IP protocols&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;- Define TCP IP Service and link it to the port number&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Command in CICS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;tcpips(WEBM234) Ope Por(01234) ECI Nos Trans(CIEP)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;This port is connected to the listener transaction in CICS CIEP which invokes default listener program&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;DFHIEP.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 18px;&quot;&gt;This would enable the ECI (&lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2015/09/what-is-eci.html&quot;&gt;External Call Interface&lt;/a&gt;) calls via TCP/IP provided the client is setup.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;On the client side that is on Web Services Methods there are communication parameters to be defined that is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 18px;&quot;&gt;Host Name - Example &lt;/span&gt;&lt;i style=&quot;background-color: white; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 18px;&quot;&gt;pkam.mf.xyz.net&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 18px;&quot;&gt;Port Name &amp;nbsp;- The above mentioned host name is linked to CICS port defined &lt;/span&gt;&lt;i style=&quot;background-color: white; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 18px;&quot;&gt;01234&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;CICS Mirror Transaction CPMI - Any service which runs under CIEP transaction defined above is linked here and it runs under mirror transaction CPMI&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;Read Related Blog:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2015/09/separate-cics-business-application.html&quot;&gt;Separate CICS Default Transactions and Business Application Logic Transactions&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/6994569029185298383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/establishing-tcp-ip-service-between-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6994569029185298383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6994569029185298383'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2015/09/establishing-tcp-ip-service-between-web.html' title='Establishing TCP IP service between Web Services and CICS via CIEP Default transactions'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-1019938545048485077</id><published>2014-08-12T11:40:00.001+05:30</published><updated>2014-08-12T11:49:50.445+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><category scheme="http://www.blogger.com/atom/ns#" term="JCL"/><category scheme="http://www.blogger.com/atom/ns#" term="VSAM"/><title type='text'>Resolving error 37 of the Vsam file </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;Resolving error 37 of the Vsam alternate index&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;Whenever we define Vsam Alternate Index File we might face error 37 when we use to process the file via JCL first time:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;The solution mentioned to resolve this is to&amp;nbsp;initialize&amp;nbsp;Vsam file once before directly opening in the&amp;nbsp;program. But still many times you must have faced same error again and again whenever you try to read alternate index vsam file via a cobol program and through JCL.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;Whenever we define VSAM alternate index file we have following components:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #351c75; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Cluster: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: navy;&quot;&gt;OLDMF.DATA.KSDALT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Data:              &lt;span style=&quot;white-space: normal;&quot;&gt;OLDMF.DATA.KSDALT&lt;/span&gt;.DAT&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;INDEX:            &lt;span style=&quot;white-space: normal;&quot;&gt;OLDMF.DATA.KSDALT&lt;/span&gt;.INX&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;AIX :               OLDMF.DATA.KSDALT1&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;PATH:             OLDMS.DATA.KSDALT.PATH&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;This filename and alternate index is used in the JCL to read the Cobol program and in JCL it is placed with its logical name as:&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: navy; font-family: Trebuchet MS, sans-serif;&quot;&gt;//OLDMF     DD   DSN=&lt;span style=&quot;color: #351c75; white-space: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;OLDMF.DATA.KSDALT&lt;/span&gt;,DISP=OLD&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: navy;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;//OLDMFD&lt;/span&gt;    DD   DSN=OLDMF.DATA.KSDALT1,DISP=OLD&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: navy;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;The problem is in the way we write our logical name. Even if you try to initialize file and you may still face the error. It will be resolved by the way we write logical name for the alternate index in the JCLs.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;Correct declaration:&lt;/span&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//OLDMF     DD   DSN=&lt;span style=&quot;color: #351c75; white-space: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;OLDMF.DATA.KSDALT&lt;/span&gt;,DISP=OLD&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;//OLDMF1&lt;/span&gt;    DD   DSN=OLDMF.DATA.KSDALT1,DISP=OLD&lt;/span&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Always the logical name will be appended with the next sequence number starting from 1.&lt;/span&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/1019938545048485077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2014/08/resolving-error-37-of-vsam-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/1019938545048485077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/1019938545048485077'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2014/08/resolving-error-37-of-vsam-file.html' title='Resolving error 37 of the Vsam file '/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-8125137352748960905</id><published>2013-05-11T18:01:00.003+05:30</published><updated>2013-05-11T18:01:23.263+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="MQ"/><title type='text'>Writing MQ Batch Program and MQ JCL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;How to start MQ batch program and MQ JCL?&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify;&quot;&gt;Message Queuing is the bridge between agile world today. Today there are lot of variations in programming language. There is need of hour to make different systems integrate; talk with each other and to make this happen MQ series is one of the best option.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I have written couple of blogs on MQ&amp;nbsp;efficiency&amp;nbsp; use etc.Today I will write MQ blog to understand how easy is to use MQ .&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;There are few steps which MQ batch&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;program/JCL requires it:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;b&gt;MQ JCL&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;1. There is MQ load library which has in build objects which is needed by any MQ JCL and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;its is mostly named as from MQM*. in your mainframe system&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;2. &amp;nbsp;Check if the Queue Manager is passes to get connected to Queue Manager.Typically, all the mainframe system as SySplex.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Now what is Sysplex? Sysplex is the word derived from system complex. This means generally the mainframe server are divided into one or more LPARs. LPARs are logical partition. This is done to use mainframe server efficiently. I will not go in this details now.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;So coming back to point 2, due to Sysplex&amp;nbsp;environment&amp;nbsp; each LPAR has its Queue Manager. And generally MQ admin group, mergers all the Queue Manager into one. So always confirm for Queue Manager from MQ admin. Due to this, it gives flexibility to MQ JCL to run against any Queue Manager available. Even if one is down, job will not fail it will run against next avaliable.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;3. &amp;nbsp;Make sure you have correct Message Queue Names.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Logic is all the Message Queues are controlled by its Queue Manager. Queue Manager has couple of setting for Queues.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;b&gt;MQ Program&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;1. Check to include IBM MQ copy books. Its for MQ Manager Check, Message Queue Check, Parameters for both of them and return code checks. These copybooks are&amp;nbsp;available&amp;nbsp;on IBM site and they are pretty much standard for all the MQ programs.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;2. Check that you have placed calls correctly. All the call along with parameters are&amp;nbsp;available&amp;nbsp;at IBM website.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Generally to read MQ it goes as:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;a. Connect Queue Manager&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;b. Open Queue&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;c. Browse Message Queue - Keep it destructive read preferbly&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;d. Process the message&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;e. Close Queue&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;f. Disconnect Queue Manage&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Generally to write MQ it goes as:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Make sure you read the file from where you want to write message to Queue into working storage variable passed to Queue.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;a. Connect Queue Manager&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;b. Open Queue&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;c. Write Message into Queue&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;e. Close Queue&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;f. Disconnect Queue Manage&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Best practice is to check return code after every call.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;3. Also check do MQDISCONNECT at the end. This helps to free resource&amp;nbsp;immediately.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/8125137352748960905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/05/writing-mq-batch-program-and-mq-jcl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/8125137352748960905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/8125137352748960905'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/05/writing-mq-batch-program-and-mq-jcl.html' title='Writing MQ Batch Program and MQ JCL'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-3221139907454217750</id><published>2013-04-21T19:24:00.001+05:30</published><updated>2013-04-21T19:24:41.174+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB2"/><title type='text'>DB2 Performance Tips - EXPLAIN</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;DB2 EXPLAIN Explained&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;What is DB2 Explain?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;It is an DB2 aid for optimization.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;What does DB2 Explain does?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;All the SQL statements are passed through DB2 optimizer and the access path are externalized. This means any DBA doing performance test can get correct access path by using EXPLAIN. All the access path are recorded in PLAN_TABLE.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;What is PLAN_TABLE?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Important coloumns for PLAN_TABLE are as following:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;QUERYNO&lt;/b&gt; : This is the query number user should assigned to identify query.&lt;br /&gt;&lt;b&gt;QBLOCKNO&lt;/b&gt;: &amp;nbsp;Position of query in the statement being EXPLAINED&lt;br /&gt;&lt;b&gt;APPLNAME&lt;/b&gt; : This is PLAN Name&lt;br /&gt;&lt;b&gt;PROGNAME&lt;/b&gt; : Program/Package Name&lt;br /&gt;&lt;b&gt;METHOD&lt;/b&gt; : There are 4 options and each number signifies type of join&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;0 Table Access&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;1 Nested Loop&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;2 Merge Scan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;3 Sort needed by ORDER BY, GROUP BY, SELECT, DISTINCT or UNION&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;4 Hybrid&lt;br /&gt;&lt;b&gt;CREATOR&lt;/b&gt; : User id&lt;br /&gt;&lt;b&gt;TNAME&lt;/b&gt; : Tablename&lt;br /&gt;&lt;b&gt;TABNO&lt;/b&gt; : position and reserved for IBM only&lt;br /&gt;&lt;b&gt;ACCESSTYPE&lt;/b&gt; :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I - by index&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;N - indexscan when predicate is IN&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;R - Table Space Scan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;M - Multiple Index Scan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;MX - Index Scan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;MI - Intersection of multiple index&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;MU - Union of multiplex index&lt;br /&gt;&lt;b&gt;MATCHCOLS&lt;/b&gt; : number of keys used in index scan&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;&lt;b&gt;ACCESSCREATOR &lt;/b&gt;: Creator of Index&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;

&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;ACCESSNAME&lt;/b&gt; : Name of Index&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;INDEXONLY&lt;/b&gt; : Y/N ( Yes is index is sufficient to get required data)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;SORTN_UNIQ&lt;/b&gt; : Y/D (Yes if Sort performed to remove duplicates )&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;SORTN_JOIN&lt;/b&gt; : Sort is performed on table when method is 2 or 4&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;SORTN_ORDERBY&lt;/b&gt; : if query results in order by&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;SORTN_GROUPBY&lt;/b&gt; : if query results in group by&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;&lt;b&gt;TSLOCKMODE&lt;/b&gt; : Lock Mode of table or tablespace&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;IS : Intent Share Lock&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;IX : Intent Exclusive Lock&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;S : Share Lock&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;U : Update Lock&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;X : Exclusive Lock&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;SIX: &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Share with intent exclusive lock&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;dt class=&quot;dt dlterm&quot; style=&quot;background-color: white; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;N : UR isolation; no lock&lt;/span&gt;&lt;/dt&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;&lt;b&gt;TIMESTAMP&lt;/b&gt; : Timestamp at which explain statement is bound&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;&lt;b&gt;PREFETCH&lt;/b&gt; : List Prefetch or Sequential Prefetch&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 5.76pt; text-indent: -0.38in; unicode-bidi: embed; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.38in;&quot;&gt;&lt;b&gt;MIXOPSEQ&lt;/b&gt; : Sequence&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;


















&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/3221139907454217750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/04/db2-performance-tips-explain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3221139907454217750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/3221139907454217750'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/04/db2-performance-tips-explain.html' title='DB2 Performance Tips - EXPLAIN'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-6463497855662896752</id><published>2013-04-21T18:54:00.003+05:30</published><updated>2013-04-21T18:54:51.819+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB2"/><title type='text'>DB2 performance tips - PART 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;DB2 Queries that can optimize performance&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;1. Select columns which are required&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;2. Use where clause for queries where ever possible&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;3. Avoid using NOT in Queries as NOT is non-indexable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;4. Use DATE Functions wherever possible to get number of days.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Eg: Select DATE(&#39;25-04-1986&#39;) - DATE(&#39;04-09-1995&#39;) &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;5. Details on Index and EXPLAIN:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Before and After creating index always use EXPLAIN functionality of DB2 to measure how &amp;nbsp; and index is working.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;If the index you created is being used then you will get that in your query once explain runs.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;If you want to see when your index is last used you can do that by this query:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;SELECT * FROM SYSIBM.SYSINDEXES where NAME = &#39;your index name&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I will give details on EXPLAIN in my next DB2 blog.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/6463497855662896752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/04/db2-performance-tips-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6463497855662896752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6463497855662896752'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/04/db2-performance-tips-part-1.html' title='DB2 performance tips - PART 1'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-6713577819049787320</id><published>2013-03-24T16:00:00.001+05:30</published><updated>2013-03-24T16:13:15.014+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ICETOOL"/><category scheme="http://www.blogger.com/atom/ns#" term="JCL"/><category scheme="http://www.blogger.com/atom/ns#" term="SORT"/><title type='text'>SYNCSORT or DFSORT - PART 3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Problem
Statement&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//*********************************************************************&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//* I have two files.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
//* FILEA contains only timestamp X(26).&lt;br /&gt;
//* FILEB contains Office X(3), Account X(6),
timestamp X(26) and Identity number X(3)&lt;br /&gt;
//* I want all records of FILEB for timestamp
values not present in FILEA&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//*********************************************************************&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;SORT JCL Used: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 1: Sorted FILEB with timestamp as first field.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORT01&amp;nbsp;&amp;nbsp;
EXEC PGM=SORT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORTIN&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; DSN= REC.FILE, ---FILE B(WITH
LAYOUT GIVEN)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DISP=SHR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORTOUT&amp;nbsp;
DD&amp;nbsp; DSN=OUTOUT.FILE,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DISP=(OLD,CATLG,DELETE),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
SPACE=(CYL,(10,50),RLSE),VOL=(,,,40),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DCB=(RECFM=FB,BLKSIZE=0,LRECL=80)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSOUT&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSPRINT DD&amp;nbsp;
SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORTLIST DD&amp;nbsp;
SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSIN&amp;nbsp;&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; *&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INREC
FIELDS=(10,26,1,9,36,3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SORT
FIELDS=(1,26,CH,A)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;/*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 2
Remove/Discard duplicates on from the sorted file and the FILE A which is
sorted on timestamp.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORT02&amp;nbsp; &amp;nbsp;EXEC PGM=ICETOOL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; DSN=OUTOUT.FILE,DISP=OLD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; DSN=TMSTMP.FILE,DISP=OLD
--FILE A(TIMESTAMPS)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//OUTPUT&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; DSN=FILE.DISCARD,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DISP=(OLD,CATLG,DELETE),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
SPACE=(TRK,(1,5),RLSE),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DCB=(RECFM=FB,BLKSIZE=0,LRECL=80)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//FINAL1&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; DSN=FINAL.FILE,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DISP=(OLD,CATLG,DELETE),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
SPACE=(TRK,(1,5),RLSE),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DCB=(RECFM=FB,BLKSIZE=0,LRECL=80)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//TOOLMSG&amp;nbsp;
DD&amp;nbsp; SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//DFSMSG&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//TOOLIN DD *&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; SELECT FROM(INPUT)
TO(OUTPUT) ON(1,26,CH) ALLDUPS DISCARD(FINAL1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;/*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;o:p&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;ICETOOL is used here to sort on timestamp and remove dupicate timestamp records.&lt;/span&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;o:p&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Step 3
Sorted as per layout in FILE B.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORT03&amp;nbsp;&amp;nbsp;
EXEC PGM=SORT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORTIN&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; DSN=FINAL.FILE,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DISP=SHR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORTOUT&amp;nbsp;
DD&amp;nbsp; DSN=FINAL1.FILE,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DISP=(OLD,CATLG,DELETE),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
SPACE=(CYL,(10,50),RLSE),VOL=(,,,40),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
DCB=(RECFM=FB,BLKSIZE=0,LRECL=80)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSOUT&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSPRINT DD&amp;nbsp;
SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SORTLIST DD&amp;nbsp;
SYSOUT=*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;//SYSIN&amp;nbsp;&amp;nbsp;&amp;nbsp;
DD&amp;nbsp; *&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INREC
FIELDS=(27,9,1,26,36,3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SORT
FIELDS=(1,26,CH,A)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;/*&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Sorted again in original file form.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Please refer &lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2012/10/syncsort-or-dfsort-part-1.html&quot; target=&quot;_blank&quot;&gt;PART1&lt;/a&gt; and &lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2012/10/syncsort-or-dfsort-part-2.html&quot; target=&quot;_blank&quot;&gt;PART2&lt;/a&gt; here.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/6713577819049787320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/syncsort-or-dfsort-part-3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6713577819049787320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6713577819049787320'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/syncsort-or-dfsort-part-3.html' title='SYNCSORT or DFSORT - PART 3'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-301017512574435076</id><published>2013-03-22T10:58:00.002+05:30</published><updated>2013-03-23T10:56:47.470+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="JCL"/><title type='text'>JCL System Abend:  SOC 1 and SOC 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;SYSTEM ABENDS&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;I am sure everyone is aware of system ABENDS. I have tried to list ABENDS for all the possible reasons. Hope you all find it useful.&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;SOC 1&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;This abend can be faced in following situations. Rule out following&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;possibilities&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.31in;&quot;&gt;Any file doesn&#39;t have open statement and directly trying to read it&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.31in;&quot;&gt;The subscript it may be out of boundary for a defined COBOL table&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -29.760000228881836px;&quot;&gt;Review JCL for m&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.31in;&quot;&gt;issing or misspelled DD name&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -29.760000228881836px;&quot;&gt;Problem in parm passed to subroutine related to addressing mode or Data mode&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.31in;&quot;&gt;Recording
mode may be wrong&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -29.760000228881836px;&quot;&gt;Sub program called is not found problem in dynamic link or static link&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -29.760000228881836px;&quot;&gt;C&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -29.760000228881836px;&quot;&gt;heck load module there can be a possibility if subroutine program id and program name not same. This means bad load module.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;text-indent: -29.760000228881836px;&quot;&gt;&lt;span style=&quot;text-align: start; text-indent: 0px;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;An uncontrolled loop moved data on top of instructions.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -0.31in;&quot;&gt;Problem can be same
name for array and subroutine&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -29.760000228881836px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-indent: -29.760000228881836px;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -29.760000228881836px;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-indent: -29.760000228881836px;&quot;&gt;
&lt;div style=&quot;text-indent: -29.760000228881836px;&quot;&gt;
&lt;span style=&quot;background-color: white; text-indent: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;SOC 7&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;This&lt;span style=&quot;color: #222222;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;is a data exception and can only occur when decimal (packed) instructions are&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: 0px;&quot;&gt;used.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; text-indent: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; text-indent: 0px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; text-indent: 0px;&quot;&gt;
&lt;li&gt;When alphanumeric data moved to packed decimal data (COMP 3).&lt;/li&gt;
&lt;li&gt;When Programmer use a variable, which is not defined in working storage.&lt;/li&gt;
&lt;li&gt;Period missing after imperative statements within AT END clause.&lt;/li&gt;
&lt;li&gt;Binary field in an arithmetic operation is not large enough to accept result.&lt;/li&gt;
&lt;li&gt;Failure to initialize a counter.&lt;/li&gt;
&lt;li&gt;Invalid incoming data (e.g., blanks, decimal points, or commas in a numeric field).&lt;/li&gt;
&lt;li&gt;Exceeding a table via a subscript (index) error, causing a reference to invalid data.&lt;/li&gt;
&lt;li&gt;Moving zeroes or low-values to a group field defined as numeric.&lt;/li&gt;
&lt;li&gt;An omitted or erroneous usage clause.&lt;/li&gt;
&lt;li&gt;Passing parameters between programs in the wrong order.&lt;/li&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; text-indent: 0px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/301017512574435076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/jcl-system-abend-soc-1-and-soc-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/301017512574435076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/301017512574435076'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/jcl-system-abend-soc-1-and-soc-7.html' title='JCL System Abend:  SOC 1 and SOC 7'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-2890798669317998763</id><published>2013-03-17T16:57:00.002+05:30</published><updated>2013-03-23T11:03:07.846+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><title type='text'>Options to recover deleted flat files or member for PDS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Options to recover deleted files&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 10.909090995788574px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4703690467003079242&quot; style=&quot;background-color: white; position: relative; text-align: justify; width: 800px;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: Trebuchet MS, sans-serif; line-height: 1.4;&quot;&gt;There is option on mainframe to recover flat files. Here are the various commands to&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: Trebuchet MS, sans-serif; line-height: 1.4;&quot;&gt;do that:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4703690467003079242&quot; style=&quot;position: relative; width: 850px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 15.1875px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 1.4; text-align: justify;&quot;&gt;Go to Start 6&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #3333ff; font-style: italic; font-weight: bold; line-height: 1.4; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; line-height: 1.4; text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;HLIST BCDS DSN(&#39;filename&#39;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 1.4; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; line-height: 1.4; text-align: justify;&quot;&gt;Wait for system response&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; line-height: 1.4; text-align: justify;&quot;&gt;Issue command&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: black; line-height: 1.4; text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;HRECOVER &#39;filename&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; line-height: 1.4; text-align: justify;&quot;&gt;&amp;nbsp;and wait for system response.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 15.199999809265137px;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 15.199999809265137px;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 15.199999809265137px;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #222222; line-height: 1.4;&quot;&gt;There are various ways to use HRECOVER as mentioned below:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;ul style=&quot;background-color: white; color: #222222; line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;HRECOVER &#39;filename&#39; recovers with same name&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;HRECOVER ‘old filename’ NEW (&#39;new filename&#39;) recovers and assigns new name&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;HRECOVER &#39;file name&#39; REPLACE recovers replacing a file with same name&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt; &lt;span style=&quot;color: #222222; line-height: 1.4;&quot;&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #222222; line-height: 1.4;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;The recovery might take some time. HSM dump(s) of the volume(s) where the dataset&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #222222; line-height: 1.4;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;resided&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;for HRECOVER should be present to recover files successfully. If those dump(s)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;are not&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;color: #222222; line-height: 1.4;&quot;&gt;avaliable &amp;nbsp;user will recieve a&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;message &quot;BACKUP/DUMP COPY DOES NOT EXIST&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4703690467003079242&quot; style=&quot;position: relative; text-align: justify; width: 850px;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;background-color: white; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;&lt;b&gt;Options to recover member from PDS&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;background-color: black; line-height: 18px; text-align: start;&quot;&gt;&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;HRECOVER &#39;PDS.NAME&#39; NEWNAME(&#39;PDS.RESTORED.NAME&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; line-height: 18px; text-align: start;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;background-color: white; line-height: 18px; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;OR&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; line-height: 18px; text-align: start;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 18px; text-align: start;&quot;&gt;In 3.4, access the dataset and enter the following command next to it&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 18px; text-align: start;&quot; /&gt;&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;&lt;span style=&quot;line-height: 18px; text-align: start;&quot;&gt;PDS / RES XXX FIND(?info inside the lost member?) REPEAT NOPROMPT&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;line-height: 18px; text-align: start;&quot; /&gt;&lt;span style=&quot;line-height: 18px; text-align: start;&quot;&gt;PDS / RES XXX FIND(?????) REPEAT NOPROMPT&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 18px; text-align: start;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 18px; text-align: start;&quot;&gt;Members will be restored in the PDS with XXX00001, XXX00002, etc.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 18px; text-align: start;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 18px; text-align: start;&quot;&gt;OR we too have TSO Command:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 18px; text-align: start;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;background-color: black; text-align: start;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;TSO HLIST BCDS DSN (&#39;Dataset Name&#39;)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; text-align: start;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;USed incase backup are taken in generations.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; text-align: start;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;TSO HRECOVER &#39;Original Dataset Name&#39; GEN(005) NEWNAME&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; text-align: start;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4703690467003079242&quot; style=&quot;position: relative; text-align: justify; width: 850px;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4703690467003079242&quot; style=&quot;position: relative; text-align: justify; width: 850px;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 1.4;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/2890798669317998763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/options-to-recover-deleted-flat-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2890798669317998763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/2890798669317998763'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/options-to-recover-deleted-flat-files.html' title='Options to recover deleted flat files or member for PDS'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-6979288016505523422</id><published>2013-03-17T16:44:00.001+05:30</published><updated>2013-03-17T17:12:24.893+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DB2"/><title type='text'>Introduction to most useful SYSIBM DB2 tables - PART 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; margin: 0px; position: relative; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Here comes some more SYSIBM tables&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;SYSIBM.SYSSTMT : This table is input to bind process. It contains statements for every plan known in DB2.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; text-align: justify;&quot;&gt;
&lt;div style=&quot;color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;SYSIBM.SYSPLANS:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana, sans-serif; font-size: 16px; line-height: 22.046875px; text-align: left;&quot;&gt;contains information on every plan known to DB2. The plan name is unique in the DB2 subsystem.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Trebuchet MS, sans-serif; font-size: 17px; line-height: normal; text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Trebuchet MS, sans-serif; font-size: 17px; line-height: normal; text-align: start;&quot;&gt;SYSIBM.SYSFOREIGNKEYS&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 15px;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-family: verdana, sans-serif; font-size: 16px; line-height: 22.046875px; text-align: start;&quot;&gt;contains information foreign keys for table.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://supportline.microfocus.com/documentation/books/sx51/rhsqst12.htm&quot; style=&quot;font-family: verdana, sans-serif; line-height: 22.037500381469727px; text-align: left;&quot;&gt;http://supportline.microfocus.com/documentation/books/sx51/rhsqst12.htm&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: transparent; font-family: Trebuchet MS, sans-serif; font-size: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: transparent; font-family: Trebuchet MS, sans-serif; font-size: 17px;&quot;&gt;SYSIBM.SYSDBAUTH:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Contains information on database level authorizations for each user of each database. &amp;nbsp;Entries are made into this table when database-related GRANT or REVOKE commands are issued for the location.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;a href=&quot;http://supportline.microfocus.com/documentation/books/sx51/rhsqst0y.htm&quot;&gt;http://supportline.microfocus.com/documentation/books/sx51/rhsqst0y.htm&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: &#39;Trebuchet MS&#39;, Trebuchet, sans-serif; font-size: 15px; line-height: 21px; text-align: justify;&quot;&gt;
&lt;div style=&quot;font-size: 15px; line-height: 21px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Please refer &lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2013/01/introduction-to-most-useful-sysibm-db2.html#more&quot; target=&quot;_blank&quot;&gt;PART1&lt;/a&gt; link to get more information on SYSIBM tables.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/6979288016505523422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/introduction-to-most-useful-sysibm-db2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6979288016505523422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/6979288016505523422'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/introduction-to-most-useful-sysibm-db2.html' title='Introduction to most useful SYSIBM DB2 tables - PART 2'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-1972419126162215994</id><published>2013-03-17T16:09:00.000+05:30</published><updated>2013-03-17T16:15:07.024+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual COBOL"/><title type='text'>Useful free webinars for COBOL developers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Hello COBOL Developers!!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Here is amazing site for COBOL development, here there are web seminars where we can register and view them:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;https://www.microfocus.com/resources/events/VCwebinars/VCwebinars.aspx&quot;&gt;https://www.microfocus.com/resources/events/VCwebinars/VCwebinars.aspx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Topics included range from Visual COBOL, Using COBOL with JAVA, .NET etc.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/1972419126162215994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/amazing-seminars-for-cobol-development.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/1972419126162215994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/1972419126162215994'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/amazing-seminars-for-cobol-development.html' title='Useful free webinars for COBOL developers'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-9043203607987609565</id><published>2013-03-17T15:39:00.005+05:30</published><updated>2013-03-17T15:44:18.824+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>XML with COBOL Basics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;Introduction to XML coding with COBOL&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;By the growing&amp;nbsp;Global&amp;nbsp;transactions, its need of an hour to introduce common language that can be used cross platform. Here comes introduction to XML on COBOL. This blog gives brief introduction on XML usage with COBOL. It includes:&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;1. XML Introduction&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;2. XML Tags&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I have focus on how actually developer can code in COBOL language as you can find lot of literature online.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;XML :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;It is Extensible Markup Language. It can be used cross platform hence universal in nature.&lt;/span&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;It has tag language.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Tags can be single or nested depending upon requirements.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Eg: &amp;lt;a&amp;gt;...&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Tag documents can be designed in free flow way.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Tags can&#39;t overlap each other. Eg &amp;lt;p&amp;gt;&amp;lt;r&amp;gt;... &amp;lt;/p&amp;gt;&amp;lt;/r&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: red; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&amp;lt;-- &amp;nbsp;This is not allowed. &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;There are few more rules which I will point it out in my example.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red; font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Example:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;?xml version = &quot;1.0&quot;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;!--comment line--&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: black; color: lime; font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;As you can see above XML are:&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;1. Text based can be saved as .txt file or .xml file or as PS file in Mainframe environments.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;2. It is case sensitive&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;3. Contains one root&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;4. Starts and end with matching tags&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;5. Any attribute value should be in quotes&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;6. Properly nested&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;You will find usage of XML Parser and XML-COBOL coding in my up coming blogs.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/9043203607987609565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/xml-with-cobol-basics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/9043203607987609565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/9043203607987609565'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/xml-with-cobol-basics.html' title='XML with COBOL Basics'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-5467566054060710075</id><published>2013-03-17T15:19:00.000+05:30</published><updated>2013-03-17T15:19:11.353+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>EBCDIC characters required in COBOL programing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Here is the chart for EBCDIC characters&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgByQbAorOY5bDDjYLV6kdpl5QChXoHRwOABidfDgRHf6RrltjFU651fNut3I-WwDzIUvcQfyh1z51rmQMeeJPTZyO-oXynrENRb0RRlSOc4yjTgKgSHleRwdQLHQKWCuB_IZIva-1ywTE/s1600/Characters.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Chart for EBCDIC characters&quot; border=&quot;0&quot; height=&quot;354&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgByQbAorOY5bDDjYLV6kdpl5QChXoHRwOABidfDgRHf6RrltjFU651fNut3I-WwDzIUvcQfyh1z51rmQMeeJPTZyO-oXynrENRb0RRlSOc4yjTgKgSHleRwdQLHQKWCuB_IZIva-1ywTE/s640/Characters.png&quot; title=&quot;Chart for EBCDIC characters&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/5467566054060710075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/ebcdic-characters-required-in-cobol.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/5467566054060710075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/5467566054060710075'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/ebcdic-characters-required-in-cobol.html' title='EBCDIC characters required in COBOL programing'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgByQbAorOY5bDDjYLV6kdpl5QChXoHRwOABidfDgRHf6RrltjFU651fNut3I-WwDzIUvcQfyh1z51rmQMeeJPTZyO-oXynrENRb0RRlSOc4yjTgKgSHleRwdQLHQKWCuB_IZIva-1ywTE/s72-c/Characters.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-116839760276813127</id><published>2013-03-16T16:27:00.003+05:30</published><updated>2013-03-16T16:29:24.715+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><title type='text'>Creating Different Dimension Tables in COBOL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;As we saw single dimension table in my blog &lt;/span&gt;&lt;span id=&quot;goog_952834181&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://thebigoldmainframe.blogspot.in/2013/03/search-option-of-cobol.html&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;linked here&lt;/a&gt;&lt;span id=&quot;goog_952834182&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt; . There are many other ways to use COBOL table.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;Another Way of Single Dimension TABLE:&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;COBOL Declaration:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;01 &amp;nbsp;A1-TABLE.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 05 A2-TABLE OCCURS 100 TIMES&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15 P1-NO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PIC X(05).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15 P1-NAME &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PIC X(10).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15 P1-TEL NO.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25 &amp;nbsp; LAND-LINE &amp;nbsp;PIC 9(10).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25 &amp;nbsp; MOBILE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PIC 9(11).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12.800000190734863px;&quot;&gt;
&lt;span style=&quot;color: #222222; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #222222; font-family: Trebuchet MS, sans-serif;&quot;&gt;This declarlation will work in COBOL as table described below:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
&lt;span style=&quot;color: #222222; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
&lt;span style=&quot;color: #222222; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;color: #222222; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
&lt;span style=&quot;color: #222222; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: arial, sans-serif; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipYelq7IY7saKnXXHZ9qTv3IsGSCWHcgNz1i56zx4sXKInUTCnoAod_ULnSSLrQwMLlQJmfi5-4xt15Fe0hDIy9egCvhS3X7YXnkqPmxmiCanLk6kfpkUg-tfl-mvi66muc7ddko53IhnU/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Single Dimension Table&quot; border=&quot;0&quot; height=&quot;456&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipYelq7IY7saKnXXHZ9qTv3IsGSCWHcgNz1i56zx4sXKInUTCnoAod_ULnSSLrQwMLlQJmfi5-4xt15Fe0hDIy9egCvhS3X7YXnkqPmxmiCanLk6kfpkUg-tfl-mvi66muc7ddko53IhnU/s640/Untitled.png&quot; title=&quot;Single Dimension Table&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
&lt;span style=&quot;color: #222222; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/116839760276813127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/creating-different-dimension-tables-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/116839760276813127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/116839760276813127'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/creating-different-dimension-tables-in.html' title='Creating Different Dimension Tables in COBOL'/><author><name>raj</name><uri>http://www.blogger.com/profile/02152460365710119892</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxhcMv9zjUot2QqkvPBptD7tAW_X5UOgZPrxTb0UYSkUs3SYpDRPCCw8zH37fjaRFHtYJGRzGxQrAMee0Up0nWe_nNBrkB1Gpx2zRsZ6Lq68AYk05tcJveiuX9eOngA/s1600-r/IMAGE_257.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipYelq7IY7saKnXXHZ9qTv3IsGSCWHcgNz1i56zx4sXKInUTCnoAod_ULnSSLrQwMLlQJmfi5-4xt15Fe0hDIy9egCvhS3X7YXnkqPmxmiCanLk6kfpkUg-tfl-mvi66muc7ddko53IhnU/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6291205605776810933.post-5245500669851785970</id><published>2013-03-16T15:43:00.001+05:30</published><updated>2013-03-16T15:48:59.784+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="COBOL"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="SORT"/><title type='text'>Interview Questions for COBOL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoHeading9&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Trebuchet MS, sans-serif; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;b&gt;How do you do in-line PERFORM?&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoHeading9&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; text-indent: -18pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoHeading9&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; text-indent: -18pt;&quot;&gt;PERFORM ... &amp;lt;UNTIL&amp;gt; ...&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoHeader&quot; style=&quot;tab-stops: 27.0pt; text-indent: 27.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Trebuchet MS, sans-serif; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;lt;sentences&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoHeader&quot; style=&quot;tab-stops: 27.0pt; text-indent: 27.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; text-indent: 27pt;&quot;&gt;END-PERFORM&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;When would you use in-line perform?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; mso-list: l0 level1 lfo2; tab-stops: list 27.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Trebuchet MS, sans-serif; mso-fareast-font-family: &amp;quot;Lucida Sans Unicode&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt; text-align: justify; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;When the body of the perform will not be used in other
paragraphs. If the body of the perform is a generic type of code&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: 27pt;&quot;&gt;(used from various other places in the program), it would be
better to put the code in a separate Para and use&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt; text-align: justify; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; text-indent: 27pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; PERFORM Para name rather than in-line perform.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;What is the difference between CONTINUE
&amp;amp; NEXT SENTENCE ?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; mso-list: l0 level1 lfo2; tab-stops: list 27.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: -18pt;&quot;&gt;&amp;nbsp;They appear to be similar,
that is, the control goes to the next sentence in the paragraph.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;/ol&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: -18pt;&quot;&gt;&amp;nbsp;But, Next
Sentence would&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: 27pt;&quot;&gt;take the control to the
sentence after it finds a full stop (.).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: 27pt;&quot;&gt;&amp;nbsp;Check out by writing the following
code example, one if&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: 27pt;&quot;&gt;sentence followed by 3
display statements&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;/ol&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: 27pt;&quot;&gt;&amp;nbsp;If 1 &amp;gt; 0&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: 27pt;&quot;&gt;then next sentence end if
display &#39;line 1&#39; display &#39;line 2&#39;. display &#39;line 3&#39;. Note- there is a dot
(.) only at the end of&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-align: justify; text-indent: 27pt;&quot;&gt;the last 2 statements, see
the effect by replacing Next Sentence with Continue. &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;What does EXIT do ?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; mso-list: l0 level1 lfo2; tab-stops: list 27.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Trebuchet MS, sans-serif; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Does nothing ! If used, must be the only sentence within a
paragraph.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; mso-list: l0 level1 lfo2; tab-stops: list 27.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;b style=&quot;text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; mso-list: l0 level1 lfo2; tab-stops: list 27.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;text-indent: -18pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;Explain the difference between an
internal and an external sort, the pros and cons, internal sort syntax etc.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 18.0pt; mso-list: l0 level1 lfo2; tab-stops: list 27.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Trebuchet MS, sans-serif; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;b&gt;

&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 27pt; text-align: left; text-indent: -27pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 27pt; text-align: justify; text-indent: -27pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;An external sort is not COBOL; it is
performed through JCL and PGM=SORT.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 27pt; text-align: justify; text-indent: -27pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -27pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -27pt;&quot;&gt;An internal sort can use two
different syntax’s:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; text-indent: -27pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 27pt; text-align: justify; text-indent: -27pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; text-indent: -27pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1) USING, GIVING sorts are comparable to external sorts
with no extra file processing;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 27pt; text-align: justify; text-indent: -27pt;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; text-indent: -27pt;&quot;&gt;&amp;nbsp; &amp;nbsp;2) INPUT
PROCEDURE, OUTPUT PROCEDURE sorts allow for data manipulation before and/or
after the sort.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thebigoldmainframe.blogspot.com/feeds/5245500669851785970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/interview-questions-for-cobol.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/5245500669851785970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6291205605776810933/posts/default/5245500669851785970'/><link rel='alternate' type='text/html' href='http://thebigoldmainframe.blogspot.com/2013/03/interview-questions-for-cobol.html' title='Interview Questions for COBOL'/><author><name>The Big Old Mainframe Team</name><uri>http://www.blogger.com/profile/02470199130571670572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuDNoSkNdvMWK-J47MZ-9ThpUPBMIN7hMuy6lG7UEn1G9Kl4q35tpKz1cLKTsub_CgIVS7gfzqmNj66cXdqM58Hq57UpcGwVqRJDw436dfAIMsYP3VTMykwAexEYAmDc/s220/DSC04134.jpg'/></author><thr:total>0</thr:total></entry></feed>