<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkIDQnw9eyp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448</id><updated>2011-11-27T16:02:53.263-08:00</updated><category term="Others" /><category term="Q.A" /><category term="Jcl" /><category term="Cobol" /><category term="DB2" /><category term="eBook" /><title>IBM Mainframe Tutorial</title><subtitle type="html">Step by step Study to Mainframe...</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://mainframe-tutor.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://mainframe-tutor.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>108</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/IbmMainframeTutorial" /><feedburner:info uri="ibmmainframetutorial" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUECRHo6eip7ImA9WxBbGEo.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-7224673425331859750</id><published>2010-03-17T19:01:00.001-07:00</published><updated>2010-03-17T19:01:05.412-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-17T19:01:05.412-07:00</app:edited><title>A mainframe (also known as "big iron")</title><content type="html">&lt;span xmlns=''&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;A mainframe (also known as "big iron") is a high-performance computer used for large-scale computing purposes that require greater availability and security than a smaller-scale machine can offer. Historically, mainframes have been associated with centralized rather than distributed computing, although that distinction is blurring as smaller computers become more powerful and mainframes become more multi-purpose. Today, &lt;span style='color:blue; text-decoration:underline'&gt;IBM&lt;/span&gt; emphasizes that their mainframes can be used to serve distributed users and smaller servers in a computing network. &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;The mainframe is sometimes referred to as a "dinosaur" not only because of its size but because of reports, going back many years, that it's becoming extinct. In 1991 Stewart Alsop, the editor of &lt;em&gt;InfoWorld&lt;/em&gt;, predicted that the last mainframe would be retired by 1996. However, in February 2008 &lt;span style='color:blue; text-decoration:underline'&gt;IBM&lt;/span&gt; released a new mainframe, the z10. Steve Lohr wrote about the mainframe as "the classic survivor technology" in &lt;em&gt;The New York Times&lt;/em&gt; ("Why old technologies are still kicking"): &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;I.B.M. overhauled the insides of the mainframe, using low-cost microprocessors as the computing engine. The company invested and updated the mainframe software, so that banks, corporations and government agencies could still rely on the mainframe as the rock-solid reliable and secure computer for vital transactions and data, while allowing it to take on new chores like running Web-based programs.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;The original mainframes were housed in room-sized metal frames, which is probably where the name derives from. In the past, a typical mainframe might have occupied 2,000 - 10,000 square feet. Newer mainframes are about the same size as a large refrigerator. &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-7224673425331859750?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Pq4bw2Zrk8xXwz5hUjO7Se2OrYs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Pq4bw2Zrk8xXwz5hUjO7Se2OrYs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Pq4bw2Zrk8xXwz5hUjO7Se2OrYs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Pq4bw2Zrk8xXwz5hUjO7Se2OrYs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/Yu36-jQLRnw" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/7224673425331859750?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/7224673425331859750?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/Yu36-jQLRnw/mainframe-also-known-as-iron.html" title="A mainframe (also known as &amp;quot;big iron&amp;quot;)" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2010/03/mainframe-also-known-as-iron.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcNR3c-fyp7ImA9WxBbGEo.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-4776596878667062873</id><published>2010-03-17T18:48:00.001-07:00</published><updated>2010-03-17T18:51:36.957-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-17T18:51:36.957-07:00</app:edited><title>What is Mainframe?</title><content type="html">&lt;span xmlns=''&gt;&lt;p&gt;  &lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;Mainframe is a High performance Multi User computer system which is the most scalable, available, reliable and secured machine in the world capable of performing some Million Instructions per second (upto 569,632 MIPS) with the following characteristics:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;1) &lt;strong&gt;Reliable single-thread performance&lt;/strong&gt;, which is essential for reasonable operations against a database.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;2) &lt;strong&gt;Maximum I/O connectivity&lt;/strong&gt;, which means mainframes excel at providing for huge disk farms.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;3) &lt;strong&gt;Maximum I/O bandwidth&lt;/strong&gt;, so connections between drives and processors have few choke-points.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;4) &lt;strong&gt;Reliability-&lt;/strong&gt;-mainframes often allow for "graceful degradation" and service while the system is running. &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-family:Times New Roman; font-size:12pt'&gt;                                                                    Applications of mainframe various from computing the Random number series to census, industry and consumer statistics, ERP and financial transaction processing..                                    &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-4776596878667062873?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2plnZKIo8bG430EvzvMe6DfQKM4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2plnZKIo8bG430EvzvMe6DfQKM4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2plnZKIo8bG430EvzvMe6DfQKM4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2plnZKIo8bG430EvzvMe6DfQKM4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/axlyztzqdK8" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/4776596878667062873?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/4776596878667062873?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/axlyztzqdK8/mainframe.html" title="What is Mainframe?" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2010/03/mainframe.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8ESX49fCp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-8002590249365313295</id><published>2009-09-05T23:16:00.003-07:00</published><updated>2009-09-05T23:16:48.064-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:16:48.064-07:00</app:edited><title>SPECIAL-NAMES</title><content type="html">&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;This optional paragraph may be used to associate a name with a variety of items, such as system functions, alphabets, symbolic characters, classes, special currency signs or decimal point character. For example:&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman'; "&gt;&lt;span style="font-family: Courier; "&gt;SPECIAL-NAMES. CLASS HEX-CHARACTER IS &amp;quot;0&amp;quot; THRU &amp;quot;9&amp;quot; &amp;quot;A&amp;quot; THRU &amp;quot;F&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-8002590249365313295?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vrhiN1Oc-lZLXsRF-lYmqD3RcFw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vrhiN1Oc-lZLXsRF-lYmqD3RcFw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vrhiN1Oc-lZLXsRF-lYmqD3RcFw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vrhiN1Oc-lZLXsRF-lYmqD3RcFw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/Kl49sNixeEI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8002590249365313295?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8002590249365313295?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/Kl49sNixeEI/special-names.html" title="SPECIAL-NAMES" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/special-names.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAMRH4_cCp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-3661572433684035282</id><published>2009-09-05T23:16:00.001-07:00</published><updated>2009-09-05T23:16:25.048-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:16:25.048-07:00</app:edited><title>INPUT-OUTPUT SECTION</title><content type="html">&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;This section is primarily used to code the FILE-CONTROL paragraph.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-3661572433684035282?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/J6bk7YEVhZB326otKHNCnPxaqt4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/J6bk7YEVhZB326otKHNCnPxaqt4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/J6bk7YEVhZB326otKHNCnPxaqt4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/J6bk7YEVhZB326otKHNCnPxaqt4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/erhBn1Fy1sk" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/3661572433684035282?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/3661572433684035282?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/erhBn1Fy1sk/input-output-section.html" title="INPUT-OUTPUT SECTION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/input-output-section.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEMR3w5fSp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-8730387268564992155</id><published>2009-09-05T23:14:00.007-07:00</published><updated>2009-09-05T23:14:46.225-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:14:46.225-07:00</app:edited><title>FILE-CONTROL</title><content type="html">&lt;h4 style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; font-weight: bold; "&gt;FILE-CONTROL&lt;/h4&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;This paragraph is used to associate the files to be used in the program with specific I/O devices. For example:&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;FILE-CONTROL.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;SELECT PRINTER-FILE&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;ASSIGN TO SYS015-UR-1403-S.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman'; "&gt;In the example, PRINTER-FILE is the name of the file to be used throughout the program. SYS015-UR-1403-S is a system name, which will be used to link the file to something in the operating system. The method of such connection varies from system to system&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-8730387268564992155?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AQe0m5pwnTQh99cn1rUIFdaevaE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AQe0m5pwnTQh99cn1rUIFdaevaE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AQe0m5pwnTQh99cn1rUIFdaevaE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AQe0m5pwnTQh99cn1rUIFdaevaE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/b6flC-V5LQE" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8730387268564992155?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8730387268564992155?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/b6flC-V5LQE/file-control.html" title="FILE-CONTROL" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/file-control.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEDRX05fCp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-1054732903553923131</id><published>2009-09-05T23:14:00.005-07:00</published><updated>2009-09-05T23:14:34.324-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:14:34.324-07:00</app:edited><title>DATA DIVISION</title><content type="html">&lt;h2 style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; page-break-after: avoid; font-size: 10pt; font-family: 'Times New Roman'; font-weight: bold; "&gt;DATA DIVISION&lt;/h2&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;The DATA DIVISION is where all of the data used by a program is defined. It is divided into five sections: the FILE, WORKING-STORAGE, LINKAGE, REPORT, and COMMUNICATION SECTIONs, although most programs only include the FILE and WORKING-STORAGE SECTIONs. The purpose of each of the sections follows&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-1054732903553923131?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vALYKzFjt6K4-MpqM8tUgk4anaU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vALYKzFjt6K4-MpqM8tUgk4anaU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vALYKzFjt6K4-MpqM8tUgk4anaU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vALYKzFjt6K4-MpqM8tUgk4anaU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/ZMw-7J4G58Q" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1054732903553923131?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1054732903553923131?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/ZMw-7J4G58Q/data-division_05.html" title="DATA DIVISION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/data-division_05.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUECQ3o8cSp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-2588524902685189937</id><published>2009-09-05T23:14:00.003-07:00</published><updated>2009-09-05T23:14:22.479-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:14:22.479-07:00</app:edited><title>FILE SECTION</title><content type="html">&lt;h3 style="margin-right: 0in; margin-left: 0in; font-size: 13.5pt; font-family: 'Times New Roman'; font-weight: bold; "&gt;FILE SECTION&lt;/h3&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;The FILE SECTION is used to define the files that will be used in the program. There will be on file description (FD) for each file followed by a record description for each different record format associated with the file. For example:&lt;/p&gt;&lt;br /&gt;&lt;table border="0" style="margin-left: 0.5in; " class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tbody&gt;&lt;br /&gt;        &lt;tr&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;FD&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; " colspan="2"&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;FILE-NAME.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;        &lt;/tr&gt;&lt;br /&gt;        &lt;tr&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;01&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; " colspan="2"&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;RECORD-NAME.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;        &lt;/tr&gt;&lt;br /&gt;        &lt;tr&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;05&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;FIELD-NAME-1&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;PIC X(5).&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;        &lt;/tr&gt;&lt;br /&gt;        &lt;tr&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;05&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;FIELD-NAME-2&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;PIC 99V99.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;        &lt;/tr&gt;&lt;br /&gt;        &lt;tr&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;05&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;FIELD-NAME-3&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;            &lt;td style="padding-top: 0.75pt; padding-right: 0.75pt; padding-bottom: 0.75pt; padding-left: 0.75pt; "&gt;&lt;br /&gt;                &lt;p style="margin-right: 0in; margin-left: 0in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;&lt;span style="font-family: Courier; "&gt;PIC X(20).&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;            &lt;/td&gt;&lt;br /&gt;        &lt;/tr&gt;&lt;br /&gt;    &lt;/tbody&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman'; "&gt;In the example, the file is named FILE-NAME-1. It is the same file name that was specified in the&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a href="http://flashpages.prodigy.net/bettys1/qoc/#Select" style="color: blue; text-decoration: underline; "&gt;SELECT&lt;/a&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;statement for the file. The 01 following the FD is called a record description entry. Multiple 01 entries can be included if there is more than one applicable record format for the file. See&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a href="http://flashpages.prodigy.net/bettys1/qoc/dataitems.html" style="color: blue; text-decoration: underline; "&gt;Data Items&lt;/a&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;for further information on the record description and its subordinate items.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-2588524902685189937?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4dHAXgjkjTRWn58G6BOovCyGbNg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4dHAXgjkjTRWn58G6BOovCyGbNg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4dHAXgjkjTRWn58G6BOovCyGbNg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4dHAXgjkjTRWn58G6BOovCyGbNg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/e1lakby4-Wg" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/2588524902685189937?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/2588524902685189937?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/e1lakby4-Wg/file-section.html" title="FILE SECTION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/file-section.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEASXg8fCp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-6867577849296881786</id><published>2009-09-05T23:14:00.001-07:00</published><updated>2009-09-05T23:14:08.674-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:14:08.674-07:00</app:edited><title>WORKING-STORAGE SECTION</title><content type="html">&lt;h3 style="margin-right: 0in; margin-left: 0in; font-size: 13.5pt; font-family: 'Times New Roman'; font-weight: bold; "&gt;WORKING-STORAGE SECTION&lt;/h3&gt;&lt;br /&gt;&lt;p style="margin-right: 0in; margin-left: 0.5in; font-size: 10pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; " class="MsoNormal"&gt;The WORKING-STORAGE SECTION is used to define any data that will be used in the program that is not part of a file. These may include, but are not limited to accumulators, lookup tables, print line formats, save fields, etc. The structure of the items is as described in the&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a href="http://flashpages.prodigy.net/bettys1/qoc/dataitems.html" style="color: blue; text-decoration: underline; "&gt;Data Items&lt;/a&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;section of this tutorial.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-6867577849296881786?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OrEu16Zy5t9cBHrHRLYub-pAYF4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OrEu16Zy5t9cBHrHRLYub-pAYF4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OrEu16Zy5t9cBHrHRLYub-pAYF4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OrEu16Zy5t9cBHrHRLYub-pAYF4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/Nl9vXJwlqDc" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/6867577849296881786?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/6867577849296881786?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/Nl9vXJwlqDc/working-storage-section.html" title="WORKING-STORAGE SECTION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/working-storage-section.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIGRHg5eip7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-5458225844860796933</id><published>2009-09-05T23:12:00.001-07:00</published><updated>2009-09-05T23:12:05.622-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:12:05.622-07:00</app:edited><title>LINKAGE SECTION</title><content type="html">&lt;h3&gt;LINKAGE SECTION&lt;/h3&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;The LINKAGE SECTION is used in a subprogram to define data that will be passed as arguments to the routine. The structure of the items is as described in the &lt;a href="http://flashpages.prodigy.net/bettys1/qoc/dataitems.html"&gt;Data Items&lt;/a&gt; section of this tutorial. Each 01 level item in the LINKAGE SECTION should be included in the PROCEDURE DIVISION USING heading. For example:&lt;/p&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt; margin-left:.5in" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;PROCEDURE DIVISION USING&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;PARAMETER-1&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;    &lt;tr&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;PARAMETER-2&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;PARAMETER-3.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;p style="margin-left:.5in"&gt;In this example, the subprogram would have 3 passed parameters called PARAMETER-1, PARAMETER-2, and PARAMETER-3. Each of them would be defined as an 01 level item in the LINKAGE SECTION. The order that the items are defined in the LINKAGE SECTION is unimportant.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-5458225844860796933?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NrjQQpBaFN1wHz6pRjvMVnfkS3I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NrjQQpBaFN1wHz6pRjvMVnfkS3I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NrjQQpBaFN1wHz6pRjvMVnfkS3I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NrjQQpBaFN1wHz6pRjvMVnfkS3I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/6La9qOFtTQU" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/5458225844860796933?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/5458225844860796933?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/6La9qOFtTQU/linkage-section.html" title="LINKAGE SECTION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/linkage-section.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIERXw9eip7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-2377320488635471203</id><published>2009-09-05T23:11:00.003-07:00</published><updated>2009-09-05T23:11:44.262-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:11:44.262-07:00</app:edited><title>REPORT SECTION</title><content type="html">&lt;h3&gt;REPORT SECTION&lt;/h3&gt;&lt;br /&gt;&lt;span style='font-size:10.0pt;font-family:"Times New Roman";mso-fareast-font-family: "Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:EN-US; mso-bidi-language:AR-SA'&gt;The REPORT SECTION can be used to produce standard control break driven reports. It is not commonly used&lt;/span&gt; &lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-2377320488635471203?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c87jrJ_BgXwPvbw8vAGIXBrYMjo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c87jrJ_BgXwPvbw8vAGIXBrYMjo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c87jrJ_BgXwPvbw8vAGIXBrYMjo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c87jrJ_BgXwPvbw8vAGIXBrYMjo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/LgxuBN2afN4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/2377320488635471203?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/2377320488635471203?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/LgxuBN2afN4/report-section.html" title="REPORT SECTION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/report-section.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMDRHoyeyp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-8945633684327291227</id><published>2009-09-05T23:11:00.001-07:00</published><updated>2009-09-05T23:11:15.493-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:11:15.493-07:00</app:edited><title>COMMUNICATION SECTION</title><content type="html">&lt;h3&gt;COMMUNICATION SECTION&lt;/h3&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;The COMMUNICATION SECTION is used for communicating between two programs running simultaneously on a computer which supports such operations. It is not commonly used.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-8945633684327291227?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wIDZoNCHCI_JXVldHoO5gNG2nFo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wIDZoNCHCI_JXVldHoO5gNG2nFo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wIDZoNCHCI_JXVldHoO5gNG2nFo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wIDZoNCHCI_JXVldHoO5gNG2nFo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/jsIuV7n4tqU" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8945633684327291227?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8945633684327291227?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/jsIuV7n4tqU/communication-section.html" title="COMMUNICATION SECTION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/communication-section.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUHR3Y4fSp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-8796270771150643942</id><published>2009-09-05T23:07:00.001-07:00</published><updated>2009-09-05T23:07:16.835-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:07:16.835-07:00</app:edited><title>PROCEDURE DIVISION</title><content type="html">&lt;h2&gt;&lt;/h2&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;The PROCEDURE DIVISION consists of a series of &lt;a href="http://flashpages.prodigy.net/bettys1/qoc/procedures.html"&gt;procedures&lt;/a&gt; called paragraphs, each designed to perform a specific function. A paragraph consists of a paragraph name coded in Area A and a series of procedural statements designed to perform a desired function coded in Area B. Procedures frequently execute other procedures as indicated in the following example:&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;0000-MAIN-DRIVER.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;PERFORM 1000-INITIALIZATION-ROUTINE.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;PERFORM 2000-MAIN-PROCESSING&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;UNTIL END-OF-FILE.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;PERFORM 3000-FINALIZE-ROUTINE.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;&lt;span style="font-family:Courier"&gt;STOP RUN.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in"&gt;Notice the use of punctuation in the preceding paragraph. Each statement should be a sentence, that is, it should end with a period unless it is part of a conditional sentence. Sentences which are continued across multiple lines should be indented on the succeeding lines. Phrases which modify the behavior of a statement such as UNTIL in the PERFORM statement should be coded on a new line so that they stand out. For more tips on making your code easy to follow, see &lt;a href="http://flashpages.prodigy.net/bettys1/qoc/stylebody.html" target="Main"&gt;Style&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-8796270771150643942?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NPbLBn-YPnYnSHTXyIRiqdxBVqk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NPbLBn-YPnYnSHTXyIRiqdxBVqk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NPbLBn-YPnYnSHTXyIRiqdxBVqk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NPbLBn-YPnYnSHTXyIRiqdxBVqk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/IchUwbNPXrg" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8796270771150643942?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/8796270771150643942?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/IchUwbNPXrg/procedure-division_05.html" title="PROCEDURE DIVISION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/procedure-division_05.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYEQHw8fCp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-3486902944310566431</id><published>2009-09-05T23:05:00.001-07:00</published><updated>2009-09-05T23:05:01.274-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:05:01.274-07:00</app:edited><title>REMARKS</title><content type="html">&lt;h3&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p style="margin-left:.5in" class="MsoNormal"&gt;This optional paragraph was removed from the standard in 1985, but many COBOL compilers still support its use. Code the paragraph name followed by any desired comments, such as the primary purpose of the program. For example:&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-left:.5in"&gt;&lt;span style="font-family:Courier"&gt;REMARKS. THIS IS THE MAIN SCREEN HANDLER FOR EMPLOYEE FILE MAINTENANCE.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="color:#008;text-align:right;"&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-3486902944310566431?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/K33bOXw3eP6ewiMOGejroZrPGwI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K33bOXw3eP6ewiMOGejroZrPGwI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/K33bOXw3eP6ewiMOGejroZrPGwI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K33bOXw3eP6ewiMOGejroZrPGwI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/wgHpj4IWW_8" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/3486902944310566431?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/3486902944310566431?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/wgHpj4IWW_8/remarks.html" title="REMARKS" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/remarks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4ARnc8eip7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-770267289914513212</id><published>2009-09-05T23:02:00.001-07:00</published><updated>2009-09-05T23:02:27.972-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T23:02:27.972-07:00</app:edited><title>The SET Statement</title><content type="html">&lt;h1&gt;Syntax&lt;/h1&gt;&lt;br /&gt;&lt;h2&gt;Format 1&lt;/h2&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;em&gt;index-name-1&lt;br /&gt; identifier-1&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;... &lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;TO&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:36.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;em&gt;index-name-2&lt;br /&gt; identifier-2&lt;br /&gt; integer-1&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:36.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;h3&gt;Format 2&lt;/h3&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt; {&lt;em&gt;index-name-3&lt;/em&gt;} ...&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;UP&lt;br /&gt; DOWN&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;BY&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;em&gt;identifier-3&lt;br /&gt; integer-2&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;h3&gt;Format 3&lt;/h3&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;{&lt;em&gt;mnemonic-name-1&lt;/em&gt;}&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;... &lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;TO&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;ON&lt;br /&gt; OFF&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;...&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;h3&gt;Format 4&lt;/h3&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt; {&lt;em&gt;condition-name-1&lt;/em&gt;} ... &lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;TO TRUE&lt;/span&gt;&lt;/span&gt;...&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;h2&gt;Description&lt;/h2&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;The SET statement is used to set values for indices and conditions. Each of the four formats works differently and is described below in the correspondingly numbered item.&lt;/p&gt;&lt;br /&gt;&lt;ol type="1" start="1"&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The first format of the SET statement is used to assign values to indices or assign the value of an index to another variable. The variable(s) between SET and TO is set to the value of the data item or literal following TO.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The second format of the SET statement is used to increase or decrease the value of an index. The variable(s) between SET and UP or DOWN is INCREASED (for UP) or DECREASED (for DOWN) by the value of the data item or literal following BY.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The third format of the SET statement is used to set the value of an external switch. The mnemonic(s) between SET and TO is set to ON or OFF according to the ON or OFF option supplied.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The fourth format of the SET statement is used to set the condition-name conditions to true. The condition(s) between SET and TO is set to TRUE.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h2&gt;Tips&lt;/h2&gt;&lt;br /&gt;&lt;ol type="1" start="1"&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l1 level1 lfo2;tab-stops:list .5in" class="MsoNormal"&gt;Regular MOVE and mathematical statements do not work on indices. Use the SET statement to manipulate an index.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l1 level1 lfo2;tab-stops:list .5in" class="MsoNormal"&gt;For format 4, if more than one value is associated with the condition-name being true, the first value listed is the one that will be used.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-770267289914513212?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uFaI8SIcSDJZdPRhGme3pjLCIuY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uFaI8SIcSDJZdPRhGme3pjLCIuY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uFaI8SIcSDJZdPRhGme3pjLCIuY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uFaI8SIcSDJZdPRhGme3pjLCIuY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/MJwRxPfemKU" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/770267289914513212?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/770267289914513212?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/MJwRxPfemKU/set-statement_470.html" title="The SET Statement" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/set-statement_470.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEINQ3o6fSp7ImA9WxNREkw.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-9189374707321792466</id><published>2009-09-05T22:56:00.001-07:00</published><updated>2009-09-05T22:56:32.415-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T22:56:32.415-07:00</app:edited><title>The SET Statement</title><content type="html">&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;h1&gt;The SET Statement&lt;/h1&gt;&lt;br /&gt;&lt;h2&gt;Syntax&lt;/h2&gt;&lt;br /&gt;&lt;h3&gt;Format 1&lt;/h3&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;em&gt;index-name-1&lt;br /&gt; identifier-1&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;... &lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;TO&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:36.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;em&gt;index-name-2&lt;br /&gt; identifier-2&lt;br /&gt; integer-1&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:36.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;a href="http://ads.adgenta.com/ads/ads.dll/click?client=Midhunsh&amp;amp;GUID=09%2F06%2F09+11%3A26%3A11" target="_blank"&gt;&lt;img height="70" border="0" style="border:none;margin:4px;" width="364" ismap="ismap" alt="Ads by AdGenta.com" src="http://ads.adgenta.com/ads/ads.dll/view?client=Midhunsh&amp;amp;GUID=09%2F06%2F09+11%3A26%3A11&amp;amp;width=364&amp;amp;height=70&amp;amp;bgColor=ffffff&amp;amp;FOOTER_COLOR=ffffff&amp;amp;FOOTER_GRADIENT=0&amp;amp;TF_C=0000ff&amp;amp;DF_C=000000&amp;amp;DMF_C=0000ff&amp;amp;FF_C=000000&amp;amp;keywords=SET+statment" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Format 2&lt;/h3&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt; {&lt;em&gt;index-name-3&lt;/em&gt;} ...&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;UP&lt;br /&gt; DOWN&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;BY&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;em&gt;identifier-3&lt;br /&gt; integer-2&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Format 3&lt;/h3&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;{&lt;em&gt;mnemonic-name-1&lt;/em&gt;}&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;... &lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;TO&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;ON&lt;br /&gt; OFF&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="font-size:24.0pt"&gt;}}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;...&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Format 4&lt;/h3&gt;&lt;br /&gt;&lt;table border="0" style="mso-cellspacing:1.5pt" class="MsoNormalTable" cellpadding="0"&gt;&lt;br /&gt;    &lt;tr style="mso-yfti-lastrow:yes"&gt;&lt;br /&gt;        &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;br /&gt;            &lt;p class="MsoNormal"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;SET&lt;/span&gt;&lt;/span&gt; {&lt;em&gt;condition-name-1&lt;/em&gt;} ... &lt;span style="text-decoration:underline;"&gt;&lt;span style="font-family:Courier"&gt;TO TRUE&lt;/span&gt;&lt;/span&gt;...&lt;/p&gt;&lt;br /&gt;        &lt;/td&gt;&lt;br /&gt;    &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h2&gt;Description&lt;/h2&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;The SET statement is used to set values for indices and conditions. Each of the four formats works differently and is described below in the correspondingly numbered item.&lt;/p&gt;&lt;br /&gt;&lt;ol type="1" start="1"&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The first format of the SET statement is used to assign values to indices or assign the value of an index to another variable. The variable(s) between SET and TO is set to the value of the data item or literal following TO.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The second format of the SET statement is used to increase or decrease the value of an index. The variable(s) between SET and UP or DOWN is INCREASED (for UP) or DECREASED (for DOWN) by the value of the data item or literal following BY.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The third format of the SET statement is used to set the value of an external switch. The mnemonic(s) between SET and TO is set to ON or OFF according to the ON or OFF option supplied.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l0 level1 lfo1;tab-stops:list .5in" class="MsoNormal"&gt;The fourth format of the SET statement is used to set the condition-name conditions to true. The condition(s) between SET and TO is set to TRUE.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h2&gt;Tips&lt;/h2&gt;&lt;br /&gt;&lt;ol type="1" start="1"&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l1 level1 lfo2;tab-stops:list .5in" class="MsoNormal"&gt;Regular MOVE and mathematical statements do not work on indices. Use the SET statement to manipulate an index.&lt;/li&gt;&lt;br /&gt;    &lt;li style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; mso-list:l1 level1 lfo2;tab-stops:list .5in" class="MsoNormal"&gt;For format 4, if more than one value is associated with the condition-name being true, the first value listed is the one that will be used.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p style="color:#008;text-align:right;"&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-9189374707321792466?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/E98PFUqnr-vSLtdrccm8npkVXO8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E98PFUqnr-vSLtdrccm8npkVXO8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/E98PFUqnr-vSLtdrccm8npkVXO8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/E98PFUqnr-vSLtdrccm8npkVXO8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/uXYtjD88R5s" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/9189374707321792466?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/9189374707321792466?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/uXYtjD88R5s/set-statement_05.html" title="The SET Statement" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/set-statement_05.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQER38ycCp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-1295611615808448048</id><published>2009-09-04T05:25:00.005-07:00</published><updated>2009-09-04T05:28:26.198-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T05:28:26.198-07:00</app:edited><title>ENVIRONMENT DIVISION</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;ENVIRONMENT DIVISION&lt;br/&gt;"	ALPHABET&lt;br/&gt;"	CLASS&lt;br/&gt;"	CONFIGURATION SECTION&lt;br/&gt;"	CURRENCY&lt;br/&gt;"	DECIMAL-POINT&lt;br/&gt;"	FILE-CONTROL&lt;br/&gt;"	INPUT-OUTPUT SECTION&lt;br/&gt;"	OBJECT-COMPUTER&lt;br/&gt;"	SELECT&lt;br/&gt;"	SOURCE-COMPUTER&lt;br/&gt;"	SPECIAL-NAMES and SYMBOLIC.&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-1295611615808448048?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XiSwHw5ILwk902knaL0D_rbKUQQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XiSwHw5ILwk902knaL0D_rbKUQQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XiSwHw5ILwk902knaL0D_rbKUQQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XiSwHw5ILwk902knaL0D_rbKUQQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/NANFXEHl86g" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1295611615808448048?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1295611615808448048?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/NANFXEHl86g/environment-division.html" title="ENVIRONMENT DIVISION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/environment-division.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQFSX8-cSp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-971898862662195097</id><published>2009-09-04T05:25:00.004-07:00</published><updated>2009-09-04T05:28:38.159-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T05:28:38.159-07:00</app:edited><title>DATA DIVISION</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;DATA DIVISION&lt;br/&gt;"	CD (Communication Description)&lt;br/&gt;"	COMMUNICATION SECTION&lt;br/&gt;"	Condition Name&lt;br/&gt;"	Data Description&lt;br/&gt;"	FD (File Description)&lt;br/&gt;"	FILE SECTION&lt;br/&gt;"	LINKAGE SECTION&lt;br/&gt;"	Record Description&lt;br/&gt;"	RD (Report Description)&lt;br/&gt;"	Reference Modification&lt;br/&gt;"	SCREEN SECTION&lt;br/&gt;"	SD (Sort Description)&lt;br/&gt;"	Subscripting&lt;br/&gt;"	Table Handling&lt;br/&gt;"	WORKING-STORAGE SECTION&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-971898862662195097?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HOM0y1v97JwlEiwV5aEuqaEITLo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HOM0y1v97JwlEiwV5aEuqaEITLo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HOM0y1v97JwlEiwV5aEuqaEITLo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HOM0y1v97JwlEiwV5aEuqaEITLo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/Anx9UpjxtQc" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/971898862662195097?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/971898862662195097?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/Anx9UpjxtQc/data-division.html" title="DATA DIVISION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/data-division.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQCRng5fyp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-5097224586775472005</id><published>2009-09-04T05:25:00.003-07:00</published><updated>2009-09-04T05:29:27.627-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T05:29:27.627-07:00</app:edited><title>PROCEDURE DIVISION</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;PROCEDURE DIVISION&lt;br/&gt;&lt;br/&gt;&lt;br/&gt; &lt;br/&gt;"	ACCEPT &lt;br/&gt;"	ADD &lt;br/&gt;"	ALTER &lt;br/&gt;"	CALL &lt;br/&gt;"	CANCEL &lt;br/&gt;"	CLOSE &lt;br/&gt;"	COMPUTE &lt;br/&gt;"	CONTINUE &lt;br/&gt;"	DELETE &lt;br/&gt;"	DISPLAY &lt;br/&gt;"	DIVIDE &lt;br/&gt;"	ENTER &lt;br/&gt;"	EVALUATE &lt;br/&gt;"	EXIT &lt;br/&gt;"	GENERATE &lt;br/&gt;"	GO &lt;br/&gt;"	GOBACK &lt;br/&gt;"	IF &lt;br/&gt;"	INITIALIZE &lt;br/&gt;"	INITIATE &lt;br/&gt;"	INSPECT &lt;br/&gt;"	MERGE &lt;br/&gt;"	MOVE &lt;br/&gt;"	MULTIPLY &lt;br/&gt;"	OPEN &lt;br/&gt;"	PERFORM &lt;br/&gt;"	READ&lt;br/&gt;"	RECEIVE&lt;br/&gt;"	RELEASE &lt;br/&gt;"	RETURN &lt;br/&gt;"	REWRITE &lt;br/&gt;"	SEARCH &lt;br/&gt;"	SEND &lt;br/&gt;"	SET &lt;br/&gt;"	SORT &lt;br/&gt;"	START &lt;br/&gt;"	STOP &lt;br/&gt;"	STRING  &lt;br/&gt;"	SUBTRACT  &lt;br/&gt;"	TERMINATE &lt;br/&gt;"	UNSTRING&lt;br/&gt;"	USE &lt;br/&gt;"	WRITE&lt;br/&gt; &lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-5097224586775472005?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CoRcqDsXVur4d2Bw90o77-79vmQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CoRcqDsXVur4d2Bw90o77-79vmQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CoRcqDsXVur4d2Bw90o77-79vmQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CoRcqDsXVur4d2Bw90o77-79vmQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/mS_9TOjwb6o" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/5097224586775472005?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/5097224586775472005?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/mS_9TOjwb6o/procedure-division.html" title="PROCEDURE DIVISION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/procedure-division.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQMQXw4eCp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-2083797219259017873</id><published>2009-09-04T05:25:00.002-07:00</published><updated>2009-09-04T05:29:40.230-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T05:29:40.230-07:00</app:edited><title>IDENTIFICATION DIVISION</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;IDENTIFICATION DIVISION&lt;br/&gt;&lt;br/&gt;"	AUTHOR&lt;br/&gt;"	DATE-COMPILED&lt;br/&gt;"	DATE-WRITTEN&lt;br/&gt;"	INSTALLATION&lt;br/&gt;"	PROGRAM-ID&lt;br/&gt;"	REMARKS&lt;br/&gt;"	SECURITY&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-2083797219259017873?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ftEcgRS3A-yLc8D0WlRXI3AH1vI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ftEcgRS3A-yLc8D0WlRXI3AH1vI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ftEcgRS3A-yLc8D0WlRXI3AH1vI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ftEcgRS3A-yLc8D0WlRXI3AH1vI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/STcvJqGMa_U" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/2083797219259017873?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/2083797219259017873?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/STcvJqGMa_U/identification-division.html" title="IDENTIFICATION DIVISION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/identification-division.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMEQng-fSp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-1341431035378458656</id><published>2009-09-04T05:25:00.000-07:00</published><updated>2009-09-04T05:30:03.655-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T05:30:03.655-07:00</app:edited><title>The DATE-COMPILED Paragraph</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;The DATE-COMPILED Paragraph&lt;br/&gt;Syntax&lt;br/&gt;Format&lt;br/&gt;DATE-COMPILED.  comment-entry.&lt;br/&gt;&lt;br/&gt;Description&lt;br/&gt;The DATE-COMPILED paragraph is used to document the last time that the program was compiled. DATE-COMPILED is in Area A followed by a period. The actual date will be supplied by the compiler at compile time, so no additional entry is necessary.&lt;br/&gt;Tips&lt;br/&gt;1.	This paragraph has been marked for removal from the COBOL language, because the information is usually provided in the heading on the listing produced by the compiler. &lt;br/&gt;2.	You can include this paragraph in a program to be compiled on a compiler from which the paragraph has been removed by including *'s in column 7. &lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-1341431035378458656?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TuDpS-oVHWF3ocWin8bapwMWgn8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TuDpS-oVHWF3ocWin8bapwMWgn8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TuDpS-oVHWF3ocWin8bapwMWgn8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TuDpS-oVHWF3ocWin8bapwMWgn8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/nASyi7a6PA4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1341431035378458656?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1341431035378458656?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/nASyi7a6PA4/date-compiled-paragraph.html" title="The DATE-COMPILED Paragraph" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/date-compiled-paragraph.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUDRXkyeyp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-176063044803067837</id><published>2009-09-04T05:23:00.005-07:00</published><updated>2009-09-04T05:27:54.793-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T05:27:54.793-07:00</app:edited><title>The PROGRAM-ID Paragraph</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;The PROGRAM-ID Paragraph&lt;br/&gt;Syntax&lt;br/&gt;Format&lt;br/&gt;PROGRAM-ID. program-name.&lt;br/&gt;&lt;br/&gt;Description&lt;br/&gt;The PROGRAM-ID paragraph is used to document the name of the COBOL program. The program name must be a valid identifier. PROGRAM-ID is in Area A followed by a period and the program name is in Area B followed by a period.&lt;br/&gt;Tips&lt;br/&gt;1.	This is the only paragraph that is required in the IDENTIFICATION DIVISION. &lt;br/&gt;2.	Although the program name must follow the rules for identifiers, the name provided is frequently used by the operating system, so there may be additional restrictions on the name depending on the computer system involved. &lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-176063044803067837?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lOe4q-_OSSnGcjd2CzSdNIAqEPM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lOe4q-_OSSnGcjd2CzSdNIAqEPM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lOe4q-_OSSnGcjd2CzSdNIAqEPM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lOe4q-_OSSnGcjd2CzSdNIAqEPM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/UrsAf5fL62k" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/176063044803067837?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/176063044803067837?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/UrsAf5fL62k/program-id-paragraph.html" title="The PROGRAM-ID Paragraph" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/program-id-paragraph.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4HRX8ycSp7ImA9WxNREEs.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-1521723968388681952</id><published>2009-09-04T05:23:00.002-07:00</published><updated>2009-09-04T05:38:54.199-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-04T05:38:54.199-07:00</app:edited><title>PROCEDURE DIVISION</title><content type="html">&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;PROCEDURE DIVISION&lt;br/&gt;&lt;br/&gt;&lt;br/&gt; &lt;br/&gt;"	ACCEPT &lt;br/&gt;"	ADD &lt;br/&gt;"	ALTER &lt;br/&gt;"	CALL &lt;br/&gt;"	CANCEL &lt;br/&gt;"	CLOSE &lt;br/&gt;"	COMPUTE &lt;br/&gt;"	CONTINUE &lt;br/&gt;"	DELETE &lt;br/&gt;"	DISPLAY &lt;br/&gt;"	DIVIDE &lt;br/&gt;"	ENTER &lt;br/&gt;"	EVALUATE &lt;br/&gt;"	EXIT &lt;br/&gt;"	GENERATE &lt;br/&gt;"	GO &lt;br/&gt;"	GOBACK &lt;br/&gt;"	IF &lt;br/&gt;"	INITIALIZE &lt;br/&gt;"	INITIATE &lt;br/&gt;"	INSPECT &lt;br/&gt;"	MERGE &lt;br/&gt;"	MOVE &lt;br/&gt;"	MULTIPLY &lt;br/&gt;"	OPEN &lt;br/&gt;"	PERFORM &lt;br/&gt;"	READ&lt;br/&gt;"	RECEIVE&lt;br/&gt;"	RELEASE &lt;br/&gt;"	RETURN &lt;br/&gt;"	REWRITE &lt;br/&gt;"	SEARCH &lt;br/&gt;"	SEND &lt;br/&gt;"	SET &lt;br/&gt;"	SORT &lt;br/&gt;"	START &lt;br/&gt;"	STOP &lt;br/&gt;"	STRING  &lt;br/&gt;"	SUBTRACT  &lt;br/&gt;"	TERMINATE &lt;br/&gt;"	UNSTRING&lt;br/&gt;"	USE &lt;br/&gt;"	WRITE&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-1521723968388681952?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KTg5SRvoLJUInL2FZgHfP8or-fc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KTg5SRvoLJUInL2FZgHfP8or-fc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KTg5SRvoLJUInL2FZgHfP8or-fc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KTg5SRvoLJUInL2FZgHfP8or-fc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/U9bPCS_4p-I" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1521723968388681952?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1521723968388681952?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/U9bPCS_4p-I/procedure-division_04.html" title="PROCEDURE DIVISION" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/procedure-division_04.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHRXY9fyp7ImA9Wx9SEU8.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-1105281515225445402</id><published>2009-09-04T05:23:00.000-07:00</published><updated>2010-11-30T04:48:54.867-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-30T04:48:54.867-08:00</app:edited><title /><content type="html">The ADD Statement&lt;br /&gt;Syntax&lt;br /&gt;Format 1&lt;br /&gt;ADD	{	identifier-1&lt;br /&gt;literal-1	}	... TO {identifier-2 [ROUNDED]} ... &lt;br /&gt;[ON SIZE ERROR imperative-statement-1] &lt;br /&gt;[NOT ON SIZE ERROR imperative-statement-2] &lt;br /&gt;[END-ADD] &lt;br /&gt;Format 2&lt;br /&gt;ADD	{	identifier-1&lt;br /&gt;literal-1	}	... TO	{	identifier-2&lt;br /&gt;literal-2	}	GIVING {identifier-3 [ROUNDED]}... &lt;br /&gt;[ON SIZE ERROR imperative-statement-1] &lt;br /&gt;[NOT ON SIZE ERROR imperative-statement-2] &lt;br /&gt;[END-ADD] &lt;br /&gt;Format 3&lt;br /&gt;ADD	{	CORRESPONDING&lt;br /&gt;CORR	}	identifier-1 TO identifier-2 [ROUNDED]&lt;br /&gt;[ON SIZE ERROR imperative-statement-1] &lt;br /&gt;[NOT ON SIZE ERROR imperative-statement-2] &lt;br /&gt;[END-ADD] &lt;br /&gt;&lt;br /&gt;Description&lt;br /&gt;The ADD statement is used to add numeric items together. Each of the three formats works slightly differently and is described in the correspondingly numbered area. &lt;br /&gt;1.	The first format is used to add field(s) or value(s) to another field.&lt;br /&gt;The field(s) or value(s) listed between ADD and TO are summed and added to the value of the field(s) following the TO, where the answer is stored.&lt;br /&gt;For example, in ADD A TO B, the value in A is added to the value in B and the result is stored in B.&lt;br /&gt;The value in A is unchanged.&lt;br /&gt;Furthermore, in ADD C D TO E F, the sum of the values in C and D is added to the value in E, storing the answer in E and the sum of C and D is also added to F storing the value in F. The values in C and D are unchanged. &lt;br /&gt;2.	The second format is used to add field(s) or value(s) to one another, storing the answer in a different field.&lt;br /&gt;The field(s) or value(s) listed between ADD and GIVING are added and stored in the field following the field(s) following the GIVING.&lt;br /&gt;For example, in ADD A TO B GIVING C, the value in A is added to the value in B and the result is stored in C.&lt;br /&gt;The values in A and B are unchanged. &lt;br /&gt;3.	The third format is used to add subordinate field(s) of one group to subordinate field(s) in another, storing the answer in those fields.&lt;br /&gt;Those subordinate field(s) of the group item identifier-1 are added to and stored in those with exactly the same name in the group item identifier-2.&lt;br /&gt;The names of the subordinate items must be spelled exactly the same way in both groups to qualify to participate in the addition. &lt;br /&gt;Tips&lt;br /&gt;1.	The fields to be added must have numeric pictures, that is, they can only have the characters 9, S, and V in their PIC clauses. &lt;br /&gt;2.	Receiving fields may be either numeric or numeric edited fields. &lt;br /&gt;3.	Use the SIZE ERROR clause to detect field overflow on the receiving field. &lt;br /&gt;4.	In all formats, the mathematically correct results are computed, but if the receiving field is too short in either the integer or decimal portion,the result will be truncated, the integer on the left and the decimal on the right. Including the ROUNDED phrase will result the answer field being rounded instead of truncating. Rounding is always done in the least significant portion of the answer. &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-1105281515225445402?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M8y_q0JzM88Vzp-XXt5boZQt2Tk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M8y_q0JzM88Vzp-XXt5boZQt2Tk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M8y_q0JzM88Vzp-XXt5boZQt2Tk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M8y_q0JzM88Vzp-XXt5boZQt2Tk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/3rAnzJTVtY0" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1105281515225445402?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1105281515225445402?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/3rAnzJTVtY0/add-statement-syntax-format-1-add.html" title="" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/add-statement-syntax-format-1-add.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHRXY8eip7ImA9Wx9SEU8.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-1867586945780854651</id><published>2009-09-04T05:22:00.009-07:00</published><updated>2010-11-30T04:48:54.872-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-30T04:48:54.872-08:00</app:edited><title /><content type="html">The ALTER Statement&lt;br /&gt;Syntax&lt;br /&gt;Format&lt;br /&gt;ALTER {procedure-name-1 TO [PROCEED TO] procedure-name-2} ... &lt;br /&gt;Description&lt;br /&gt;The ALTER statement is used to modify the branching behavior of a GO TO statement. &lt;br /&gt;In order to use the ALTER statement you must have a paragraph in the PROCEDURE DIVISION that consists of exactly one GO TO statement. The GO TO must be the only statement in the paragraph. Procedure-name-1 is the name that paragraph and procedure-name-2 is the name of any other paragraph in the PROCEDURE DIVISION. If the GO TO in procedure-name is subsequently executed, control will pass to procedure-name-2 instead of the name originally coded in the GO TO statement. &lt;br /&gt;&lt;br /&gt;Tips&lt;br /&gt;1.	This statement was eliminated from the COBOL language and it was only included in this manual in case you encounter a previously coded program that uses this statement. &lt;br /&gt;2.	Use of this statement is considered to be a very bad idea. &lt;br /&gt;3.	If in spite of tips 1 and 2, you still elect to code an ALTER statement, please don't address your problems to the Ask The Expert section of this website. &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-1867586945780854651?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/f19U3nsGanD-iZLuX2p4DiSzqto/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f19U3nsGanD-iZLuX2p4DiSzqto/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/f19U3nsGanD-iZLuX2p4DiSzqto/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f19U3nsGanD-iZLuX2p4DiSzqto/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/r6tz8arRJ4g" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1867586945780854651?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1867586945780854651?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/r6tz8arRJ4g/alter-statement-syntax-format-alter.html" title="" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/alter-statement-syntax-format-alter.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QAQH09cCp7ImA9Wx9SEU8.&quot;"><id>tag:blogger.com,1999:blog-1149358572024238448.post-1770401953971707017</id><published>2009-09-04T05:22:00.007-07:00</published><updated>2010-11-30T04:49:01.368-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-30T04:49:01.368-08:00</app:edited><title /><content type="html">The PERFORM Statement&lt;br /&gt;Syntax&lt;br /&gt;Format 1&lt;br /&gt;PERFORM [procedure-name-1	[{	THROUGH&lt;br /&gt;THRU	}	procedure-name-2	]	]&lt;br /&gt;[imperative-statement-1 END-PERFORM] &lt;br /&gt;Format 2&lt;br /&gt;PERFORM [procedure-name-1	[{	THROUGH&lt;br /&gt;THRU	}	procedure-name-2	]	]&lt;br /&gt;{	identifier-1&lt;br /&gt;integer-1	}	TIMES [imperative-statement-1 END-PERFORM] &lt;br /&gt;Format 3&lt;br /&gt;PERFORM [procedure-name-1	[{	THROUGH&lt;br /&gt;THRU	}	procedure-name-2	]	]&lt;br /&gt;[	WITH TEST	{	BEFORE&lt;br /&gt;AFTER	}]	UNTIL condition-1&lt;br /&gt;[imperative-statement-1 END-PERFORM] &lt;br /&gt;Format 4&lt;br /&gt;PERFORM [procedure-name-1	[{	THROUGH&lt;br /&gt;THRU	}	procedure-name-2	]	]&lt;br /&gt;[	WITH TEST	{	BEFORE&lt;br /&gt;AFTER	}]&lt;br /&gt;VARYING	{	identifier-2&lt;br /&gt;index-name-1	} 	FROM	{	identifier-3&lt;br /&gt;index-name-2&lt;br /&gt;literal-1	}	BY	{	identifier-4&lt;br /&gt;literal-2	} &lt;br /&gt;UNTIL condition-2 &lt;br /&gt;[AFTER	{	identifier-4&lt;br /&gt;index-name-3	}	FROM	{	identifier-5&lt;br /&gt;index-name-4&lt;br /&gt;literal-3	}	BY	{	identifier-5&lt;br /&gt;literal-2	} &lt;br /&gt;UNTIL condition-3] ... &lt;br /&gt;[imperative-statement-1 END-PERFORM] &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Description&lt;br /&gt;The PERFORM statement is used to execute code. There are two different modes of operation. &lt;br /&gt;The first mode is used to execute code in another area of the program and is invoked by mentioning a procedure or paragraph name. In this mode, the code in the other paragraph(s) is executed and control is returned to the statement following the PERFORM statement. &lt;br /&gt;The second mode is called an in-line PERFORM, because the code to be executed is actually coded in place inside of the PERFORM statement. In the second mode, the code which is executed is that which lies between the PERFORM and the END-PERFORM. &lt;br /&gt;Each of the four formats works slightly differently and is described in the correspondingly numbered area. &lt;br /&gt;1.	The first format is used to execute the referenced code one time. &lt;br /&gt;2.	The second format is used to execute the referenced code multiple times. The actual number of times is indicated by identifier-1 or integer-1. &lt;br /&gt;3.	The third format is also used to execute the referenced multiple times. The actual number of times is dependent upon condition-1. The code will be repeatedly executed until condition-1 is true. The condition will be tested before the code is actually tested unless the WITH TEST AFTER phrase is included. &lt;br /&gt;4.	The fourth format is used to execute the referenced multiple times with the actual number of times being dependent upon a condition like the third format. The primary difference between format 3 and format 4 is the VARYING phrase, which is used to count in a variable during the repetitions. The VARYING variable is set to the FROM value before the referenced code is executed. Before each subsequent pass, the VARYING variable is incremented by the amount of the BY value. The optional AFTER phrase may be included to vary the value of an additional variable. If this option is used, AFTER variable will be incremented through its entire cycle for each time the VARYING variable is cycled. &lt;br /&gt;&lt;br /&gt;Tips&lt;br /&gt;1.	Use the PERFORM statement to access code which needs to be executed from more than one location. &lt;br /&gt;2.	Use the PERFORM statement to structure your code. Make a main routine that PERFORMs other routines which in turn PERFORM other routines which themselves PERFORM other routines until the level of complexity of the PERFORMed routines is easily comprehended. &lt;br /&gt;3.	Use the WITH TEST AFTER option to force the code to be PERFORMed at least once. &lt;br /&gt;4.	Use the VARYING ... AFTER option to pass through all the entries in multiple dimensional tables. &lt;br /&gt;5.	If the number of lines in the routine is relatively small, use an in-line PERFORM instead of PERFORMing a separate paragraph. The next programmer will appreciate not having to look all through the program to find the one or two lines of code in the paragraph you PERFORMed&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1149358572024238448-1770401953971707017?l=mainframe-tutor.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/u9eUHOQxzyoBQGsO9mR3Sjtvj4U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u9eUHOQxzyoBQGsO9mR3Sjtvj4U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/u9eUHOQxzyoBQGsO9mR3Sjtvj4U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u9eUHOQxzyoBQGsO9mR3Sjtvj4U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/IbmMainframeTutorial/~4/kXjYqUyMMuI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1770401953971707017?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1149358572024238448/posts/default/1770401953971707017?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/IbmMainframeTutorial/~3/kXjYqUyMMuI/perform-statement-syntax-format-1.html" title="" /><author><name>KK</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://mainframe-tutor.blogspot.com/2009/09/perform-statement-syntax-format-1.html</feedburner:origLink></entry></feed>

