<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mainframe is Back &#187; PLI</title>
	<atom:link href="http://www.ibmmainframe.cn/tag/pli/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ibmmainframe.cn</link>
	<description>Everything about Mainframe: 中文大型机资讯网</description>
	<lastBuildDate>Sun, 25 Sep 2011 16:32:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PL/1中的冒泡排序(How to write Bubble Sort with PL/1)</title>
		<link>http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/</link>
		<comments>http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 10:11:46 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[PL/1]]></category>
		<category><![CDATA[PLI]]></category>

		<guid isPermaLink="false">http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/</guid>
		<description><![CDATA[SHELL:   PROCEDURE OPTIONS (MAIN);          DECLARE            ARRAY(50) FIXED BIN(15),            (K,N) FIXED BIN(15);          GET LIST(N);          GET EDIT((ARRAY(K) DO K = 1 TO N));          PUT EDIT((ARRAY(K) DO K = 1 TO N));          CALL BUBBLE(ARRAY,N); END BUBBLE; BUBBLE:   PROCEDURE(ARRAY,N); /* BUBBLE SORT*/           DECLARE (I,J) FIXED BIN(15);           DECLARE S BIT(1);        /*<a href="http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>SHELL:   PROCEDURE OPTIONS (MAIN);<br />
         DECLARE<br />
           ARRAY(50) FIXED BIN(15),<br />
           (K,N) FIXED BIN(15);</p>
<p>         GET LIST(N);<br />
         GET EDIT((ARRAY(K) DO K = 1 TO N));<br />
         PUT EDIT((ARRAY(K) DO K = 1 TO N));<br />
         CALL BUBBLE(ARRAY,N);<br />
END BUBBLE;</p>
<p>BUBBLE:   PROCEDURE(ARRAY,N); /* BUBBLE SORT*/<br />
          DECLARE (I,J) FIXED BIN(15);<br />
          DECLARE S BIT(1);        /* SWITCH */<br />
          DECLARE Y FIXED BIN(15); /* TEMPO */<br />
          DO I = N-1 BY -1 TO 1;<br />
            S = &#8217;1&#8242;B;<br />
            DO J = 1 TO I;<br />
              IF X(J)&gt;X(J+1) THEN DO;<br />
                S = &#8217;0&#8242;B;<br />
                Y = X(J);<br />
                X(J) = X(J+1);<br />
                X(J+1) = Y;<br />
                END;<br />
              END;<br />
            IF S THEN RETURN;<br />
            END;<br />
          RETURN;<br />
          END SRT;</p>
<div class="shr-publisher-431"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.ibmmainframe.cn/2008/12/pl1%e7%9a%84hello-worldhow-to-write-hello-world-with-pl1/" title="PL/1中的Hello World(How to write Hello World with PL/1)">PL/1中的Hello World(How to write Hello World with PL/1)</a></li><li><a href="http://www.ibmmainframe.cn/2008/02/notes-in-my-pli-studying-endfile/" title="Notes in my PLI studying (ENDFILE)">Notes in my PLI studying (ENDFILE)</a></li><li><a href="http://www.ibmmainframe.cn/2007/01/pli-overview/" title="PLI Overview">PLI Overview</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PL/1中的Hello World(How to write Hello World with PL/1)</title>
		<link>http://www.ibmmainframe.cn/2008/12/pl1%e7%9a%84hello-worldhow-to-write-hello-world-with-pl1/</link>
		<comments>http://www.ibmmainframe.cn/2008/12/pl1%e7%9a%84hello-worldhow-to-write-hello-world-with-pl1/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 10:10:17 +0000</pubDate>
		<dc:creator>Raymond</dc:creator>
				<category><![CDATA[PL/1]]></category>
		<category><![CDATA[PLI]]></category>

		<guid isPermaLink="false">http://www.ibmmainframe.cn/2008/12/pl1%e7%9a%84hello-worldhow-to-write-hello-world-with-pl1/</guid>
		<description><![CDATA[HELLO: PROCEDURE OPTIONS (MAIN); /* A PROGRAM TO OUTPUT HELLO WORLD */ FLAG = 0; LOOP: DO WHILE (FLAG = 0); PUT SKIP DATA('HELLO WORLD!'); END LOOP; END HELLO; 相关文章PL/1中的冒泡排序(How to write Bubble Sort with PL/1)Notes in my PLI studying (ENDFILE)PLI Overview]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><pre>HELLO:   PROCEDURE OPTIONS (MAIN);
             /* A PROGRAM TO OUTPUT HELLO WORLD */
             FLAG = 0;
LOOP:     DO WHILE (FLAG = 0);
             PUT SKIP DATA('HELLO WORLD!');
          END LOOP;
END HELLO;</pre>
<div class="shr-publisher-430"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/" title="PL/1中的冒泡排序(How to write Bubble Sort with PL/1)">PL/1中的冒泡排序(How to write Bubble Sort with PL/1)</a></li><li><a href="http://www.ibmmainframe.cn/2008/02/notes-in-my-pli-studying-endfile/" title="Notes in my PLI studying (ENDFILE)">Notes in my PLI studying (ENDFILE)</a></li><li><a href="http://www.ibmmainframe.cn/2007/01/pli-overview/" title="PLI Overview">PLI Overview</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ibmmainframe.cn/2008/12/pl1%e7%9a%84hello-worldhow-to-write-hello-world-with-pl1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes in my PLI studying (ENDFILE)</title>
		<link>http://www.ibmmainframe.cn/2008/02/notes-in-my-pli-studying-endfile/</link>
		<comments>http://www.ibmmainframe.cn/2008/02/notes-in-my-pli-studying-endfile/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 08:58:48 +0000</pubDate>
		<dc:creator>pierre</dc:creator>
				<category><![CDATA[开发指南||Programming Guide]]></category>
		<category><![CDATA[PLI]]></category>

		<guid isPermaLink="false">http://www.ibmmainframe.cn/2008/02/19/notes-in-my-pli-studying-endfile/</guid>
		<description><![CDATA[This is some notes about a condition parameter ENDFILE. As we know , ENDFILE　is used for checking whether the read operation is reach the end of the input file,  for examp: DCL EOF    BIT      INIT(&#8217;1&#8242;B); ON ENDFILE (IPUTF) EOF = &#8217;0&#8242;B; DO WHILE(EOF);         some statements; END; 1. Suppose there are two input files with more than one record for<a href="http://www.ibmmainframe.cn/2008/02/notes-in-my-pli-studying-endfile/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This is some notes about a condition parameter ENDFILE.</p>
<p>As we know , ENDFILE　is used for checking whether the read operation is reach the end of the input file, </p>
<p>for examp:<span id="more-281"></span></p>
<p>DCL EOF    BIT      INIT(&#8217;1&#8242;B);</p>
<p>ON ENDFILE (IPUTF) EOF = &#8217;0&#8242;B;</p>
<p>DO WHILE(EOF); </p>
<p>       some statements;</p>
<p>END;</p>
<p>1. Suppose there are two input files with more than one record for input, you should define two EOF to control the ENDFILE condition, otherwise system will abend your job;</p>
<p>2. In the example, if you initialize the EOF　with INIT(&#8217;0&#8242;B), you should specify the value of EOF in the WHILE statement like DO WHILE(EOF = &#8217;1&#8242;B) instead of DO WHILE(EOF), otherwise the do while loop will not execute.</p>
<p> I hope these notes will be useful for you guys, happy new year~~~^o^</p>
<div class="shr-publisher-281"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/" title="PL/1中的冒泡排序(How to write Bubble Sort with PL/1)">PL/1中的冒泡排序(How to write Bubble Sort with PL/1)</a></li><li><a href="http://www.ibmmainframe.cn/2008/12/pl1%e7%9a%84hello-worldhow-to-write-hello-world-with-pl1/" title="PL/1中的Hello World(How to write Hello World with PL/1)">PL/1中的Hello World(How to write Hello World with PL/1)</a></li><li><a href="http://www.ibmmainframe.cn/2007/01/pli-overview/" title="PLI Overview">PLI Overview</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ibmmainframe.cn/2008/02/notes-in-my-pli-studying-endfile/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PLI Overview</title>
		<link>http://www.ibmmainframe.cn/2007/01/pli-overview/</link>
		<comments>http://www.ibmmainframe.cn/2007/01/pli-overview/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 07:18:00 +0000</pubDate>
		<dc:creator>billrain</dc:creator>
				<category><![CDATA[开发指南||Programming Guide]]></category>
		<category><![CDATA[PLI]]></category>

		<guid isPermaLink="false">http://www.ibmmainframe.cn/2007/01/20/pli-overview/</guid>
		<description><![CDATA[PL/I is a general-purpose programming language, which is used for solving problems in a variety of fields such as commerce, science (including mathematics, physics, chemistry), engineering (including civil, electrical, aeronautics), medicine and so on. It can be used for system programming, and the facilitites are such that it is rarely if ever necessary to resort<a href="http://www.ibmmainframe.cn/2007/01/pli-overview/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>PL/I is a general-purpose programming language, which is used for solving problems in a variety of fields such as commerce, science (including mathematics, physics, chemistry), engineering (including civil, electrical, aeronautics), medicine and so on.  It can be used for system programming, and the facilitites are such that it is rarely if ever necessary to resort to machine-language or assembly-language programming to solve problems.</p>
<p>    PL/I has outstanding facilities for commercial and business use.   It has more power than Pascal, Fortran 95, BASIC, C, and COBOL, and has comparable facilities to Ada. The main areas where PL/I is superior include interrupt handling, the built-in debugging aids, the macro processor facilities, string-handling, and input-output (see below).</p>
<p>    The language has good documenting and self-documenting facilities;  programs are easy to read and to understand. It bears some resemblance to Fortran and BASIC.</p>
<p>    The language is suitable for beginners, as well as for  anyone wanting to become a professional.</p>
<div class="shr-publisher-24"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.ibmmainframe.cn/2008/12/pl1%e4%b8%ad%e7%9a%84%e5%86%92%e6%b3%a1%e6%8e%92%e5%ba%8fhow-to-write-bubble-sort-with-pl1/" title="PL/1中的冒泡排序(How to write Bubble Sort with PL/1)">PL/1中的冒泡排序(How to write Bubble Sort with PL/1)</a></li><li><a href="http://www.ibmmainframe.cn/2008/12/pl1%e7%9a%84hello-worldhow-to-write-hello-world-with-pl1/" title="PL/1中的Hello World(How to write Hello World with PL/1)">PL/1中的Hello World(How to write Hello World with PL/1)</a></li><li><a href="http://www.ibmmainframe.cn/2008/02/notes-in-my-pli-studying-endfile/" title="Notes in my PLI studying (ENDFILE)">Notes in my PLI studying (ENDFILE)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ibmmainframe.cn/2007/01/pli-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.ibmmainframe.cn @ 2012-02-09 13:46:25 -->
