<?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; PL/1</title>
	<atom:link href="http://www.ibmmainframe.cn/category/%e5%bc%80%e5%8f%91%e6%8c%87%e5%8d%97programming-guide/pl1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ibmmainframe.cn</link>
	<description>Everything about Mainframe: 中文大型机资讯网</description>
	<lastBuildDate>Wed, 28 Jul 2010 11:40:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</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);        /* [...]]]></description>
			<content:encoded><![CDATA[<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>
]]></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;]]></description>
			<content:encoded><![CDATA[<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>
]]></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>
	</channel>
</rss>
