<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: RPG &#8211; not Role Playing Game</title>
	<atom:link href="http://www.spencerbarron.com/2008/02/rpg-not-role-playing-game/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spencerbarron.com/2008/02/rpg-not-role-playing-game/</link>
	<description>Rants, Raves &#38; Real Estate</description>
	<lastBuildDate>Tue, 23 Mar 2010 04:46:42 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Curtis Barron</title>
		<link>http://www.spencerbarron.com/2008/02/rpg-not-role-playing-game/comment-page-1/#comment-246</link>
		<dc:creator>Curtis Barron</dc:creator>
		<pubDate>Fri, 29 Feb 2008 17:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerbarron.com/archives/108#comment-246</guid>
		<description>I saw the thing about &quot;buying some more&quot;, too, but it was after midnight when I finished the reply and I was in no mood to make program modifications :)

RPG people who have worked with SQL within and outside RPG seem to believe that SQL handles set manipulation over a file (a SELECT statement of all the data in the file that fits the specified criteria) better than native RPG file access, but RPG grabs individual records more efficiently than SQL. From my experience, I would tend to agree.

I think Java and C++ came from the same roots. The creators of Java tried to make C++ better. C++ is object orientation grafted onto C, and it shows. You might remember my comment in my first post about the 1000-page &quot;Introductory&quot; C++ textbooks. I read about an IT director who said it took over 2 years to train a C++ programmer to write production programs- about as long as it took to train astronauts.</description>
		<content:encoded><![CDATA[<p>I saw the thing about &#8220;buying some more&#8221;, too, but it was after midnight when I finished the reply and I was in no mood to make program modifications <img src='http://www.spencerbarron.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>RPG people who have worked with SQL within and outside RPG seem to believe that SQL handles set manipulation over a file (a SELECT statement of all the data in the file that fits the specified criteria) better than native RPG file access, but RPG grabs individual records more efficiently than SQL. From my experience, I would tend to agree.</p>
<p>I think Java and C++ came from the same roots. The creators of Java tried to make C++ better. C++ is object orientation grafted onto C, and it shows. You might remember my comment in my first post about the 1000-page &#8220;Introductory&#8221; C++ textbooks. I read about an IT director who said it took over 2 years to train a C++ programmer to write production programs- about as long as it took to train astronauts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spencer Barron</title>
		<link>http://www.spencerbarron.com/2008/02/rpg-not-role-playing-game/comment-page-1/#comment-245</link>
		<dc:creator>Spencer Barron</dc:creator>
		<pubDate>Fri, 29 Feb 2008 17:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerbarron.com/archives/108#comment-245</guid>
		<description>It doesn&#039;t look like the RPG Code handles the same code as the java when it gets to the C++ if statement, no going to the store to buy some more.

That Java looks suspiciously like C++.

Is there an advantage of using SQL to manipulate a database over RPG? If not in power, perhaps in cost, ease of use?

I think having the user base is huge. Everything else follows.  C++ probably gets its support in a large way from the fact that it is a video game language.
Video gaming is a bigger industry than the film industry...and not as sexy.  But lots of progammers got interested in progamming trying to break into gaming. That&#039;s the soul reason I&#039;d would have ever picked up a programming guide as a kid. That and the thought of having a computer do my homework.
Later in life, programmers realize they have to make a living. C++ isn&#039;t that bad, it&#039;s just tedious especially when it comes to the output. On the other hand, there is lots of code in C++ already written and readily vailable to do just about anything you need it to do.

I can see why IBM would push Java but it seems a pretty big mistake to not put more effort into migrating your previous product in a fashion that would keep not just your user base but the programmers and proponents of your
sytem interested.

I know from experience that employees in the end will most likely be the ones who make the final recommendation on whether a technical product is worth a swith or worth the money. If you don&#039;t connect with them, you&#039;re lost.</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t look like the RPG Code handles the same code as the java when it gets to the C++ if statement, no going to the store to buy some more.</p>
<p>That Java looks suspiciously like C++.</p>
<p>Is there an advantage of using SQL to manipulate a database over RPG? If not in power, perhaps in cost, ease of use?</p>
<p>I think having the user base is huge. Everything else follows.  C++ probably gets its support in a large way from the fact that it is a video game language.<br />
Video gaming is a bigger industry than the film industry&#8230;and not as sexy.  But lots of progammers got interested in progamming trying to break into gaming. That&#8217;s the soul reason I&#8217;d would have ever picked up a programming guide as a kid. That and the thought of having a computer do my homework.<br />
Later in life, programmers realize they have to make a living. C++ isn&#8217;t that bad, it&#8217;s just tedious especially when it comes to the output. On the other hand, there is lots of code in C++ already written and readily vailable to do just about anything you need it to do.</p>
<p>I can see why IBM would push Java but it seems a pretty big mistake to not put more effort into migrating your previous product in a fashion that would keep not just your user base but the programmers and proponents of your<br />
sytem interested.</p>
<p>I know from experience that employees in the end will most likely be the ones who make the final recommendation on whether a technical product is worth a swith or worth the money. If you don&#8217;t connect with them, you&#8217;re lost.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis Barron</title>
		<link>http://www.spencerbarron.com/2008/02/rpg-not-role-playing-game/comment-page-1/#comment-248</link>
		<dc:creator>Curtis Barron</dc:creator>
		<pubDate>Fri, 29 Feb 2008 17:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerbarron.com/archives/108#comment-248</guid>
		<description>I think part of the problem is that RPG existed to fill a particular need; a programming language that rather tersely operated on data. The first people to learn it were not kids, but business people. My first employer had an accounting manager who fancied himself an RPG
programmer. You didn&#039;t need to be on the road to a college degree to learn it. Now, the road is much more formal. Schools push what seems to be the most marketable approaches- others get pushed to the side of the road. A popular language like C++ might be stressed instead of a teaching language like Pascal or Oberon-2 (which is used to some degree
in Europe.)

Programming for businesses and scientific applications is not the most entertaining form of programming, but one could make an argument that it is the most useful. My own opinion (rather unpopular, I&#039;ll admit) is
that writing video games is a perversion of programming. And most kids these days are not oriented toward that which is useful, but rather that which is amusing or fun.

RPG can be used in conjunction with HTML. However, RPG is designed to communicate with a video screen through DDS (Data Description Specifications), which format the screen, defining constant fields such as text along with input and output(display) fields. HTML is a keyword
that can be used in DDS; but you must very carefully define the data and HTML tags in the DDS specifications. It is a tedious process. With the normal &quot;green screen&quot;, you use a utility called SDA (Screen Design Aid)
to make screen design easier. There is no utility to create HTML in a similar fashion. That is a handicap.

Some RPGers want IBM to put into RPG the facility to handle HTML as naturally as it does DDS, which creates an RPG &quot;WORKSTN&quot; file. IBM has been pushing Java hard, and apparently they do not see the need to give RPG that capability. Several years ago, IBM created a measure of
ill-will by putting ads in the trade papers that implied that if you didn&#039;t drop RPG and learn Java, you would end up flipping hamburgers at McDonalds. More recently, they have been enhancing RPG more, but they still do not provide the &quot;native&quot; ability to handle HTML.Outsiders have attempted to provide packages to enable Web development, but they are usually kludgy addons.

You can now write RPG calculations in a freeform manner, which makes some people happier than using fixed spots in a program line to put operation codes and calculation factors. Maybe that will be less of a turnoff to our budding Basic and Java programmers.

The value of RPG is that it manages and manipulate data in a firm, straightfoward, terse way. It will never be used to write an operating system or a video game, but it manipulates file data, including data going to and from &quot;screen&quot; files, very elegantly.

I thought I&#039;d illustrate the differences between languages by showing how Java and RPG/400 (the dialect between RPGIII and RPGIV) program the display of the verses to &quot;99 Bottles of Beer&quot;: (from http://99-bottles-of-beer.net/ )

// java version of 99 bottles of beer on the wall
// 1995 Sean Russell (ser@cs.uoregon.edu)

class bottles
{
public static void main(String args[])
{
String s = &quot;s&quot;;
for (int beers=99; beers&gt;-1;)
{
System.out.print(beers + &quot; bottle&quot; + s + &quot; of beer on the wall, &quot;);
System.out.println(beers + &quot; bottle&quot; + s + &quot; of beer, &quot;);
if (beers==0)
{
System.out.print(&quot;Go to the store, buy some more, &quot;);
System.out.println(&quot;99 bottles of beer on the wall.\n&quot;);
System.exit(0);
}
else
System.out.print(&quot;Take one down, pass it around, &quot;);
s = (--beers == 1)?&quot;&quot;:&quot;s&quot;;
System.out.println(beers + &quot; bottle&quot; + s + &quot; of beer on the wall.\n&quot;);
}
}
}


H*
H* RPG/400 VERSION OF THE BOTTLES PROGRAM *
H*
FSCREEN O F 80 WORKSTN
C MOVE 100 X 30
C** COUNT DOWN FROM 100 TO 0
C** ONE BUG IS THAT IT DOESN&#039;T SAY &quot;BOTTLE&quot; WHEN THERE&#039;S ONLY 1
(CURT BARRON)
C X DOWGE0
C EXCPT
C SUB 1 X
C END
C SETON LR
OSCREEN E
O X 3
O 26 &#039;BOTTLES OF BEER ON THE&#039;
O 31 &#039;WALL,&#039;
O X 36
O 53 &#039;BOTTLES OF BEER&#039;
O E
O 22 &#039;TAKE ONE DOWN AND PASS&#039;
O 32 &#039;IT AROUND&#039;

Once you understand that DOWGE stands for &quot;Do while greater than or
equal to&quot; , the programming should be clear.</description>
		<content:encoded><![CDATA[<p>I think part of the problem is that RPG existed to fill a particular need; a programming language that rather tersely operated on data. The first people to learn it were not kids, but business people. My first employer had an accounting manager who fancied himself an RPG<br />
programmer. You didn&#8217;t need to be on the road to a college degree to learn it. Now, the road is much more formal. Schools push what seems to be the most marketable approaches- others get pushed to the side of the road. A popular language like C++ might be stressed instead of a teaching language like Pascal or Oberon-2 (which is used to some degree<br />
in Europe.)</p>
<p>Programming for businesses and scientific applications is not the most entertaining form of programming, but one could make an argument that it is the most useful. My own opinion (rather unpopular, I&#8217;ll admit) is<br />
that writing video games is a perversion of programming. And most kids these days are not oriented toward that which is useful, but rather that which is amusing or fun.</p>
<p>RPG can be used in conjunction with HTML. However, RPG is designed to communicate with a video screen through DDS (Data Description Specifications), which format the screen, defining constant fields such as text along with input and output(display) fields. HTML is a keyword<br />
that can be used in DDS; but you must very carefully define the data and HTML tags in the DDS specifications. It is a tedious process. With the normal &#8220;green screen&#8221;, you use a utility called SDA (Screen Design Aid)<br />
to make screen design easier. There is no utility to create HTML in a similar fashion. That is a handicap.</p>
<p>Some RPGers want IBM to put into RPG the facility to handle HTML as naturally as it does DDS, which creates an RPG &#8220;WORKSTN&#8221; file. IBM has been pushing Java hard, and apparently they do not see the need to give RPG that capability. Several years ago, IBM created a measure of<br />
ill-will by putting ads in the trade papers that implied that if you didn&#8217;t drop RPG and learn Java, you would end up flipping hamburgers at McDonalds. More recently, they have been enhancing RPG more, but they still do not provide the &#8220;native&#8221; ability to handle HTML.Outsiders have attempted to provide packages to enable Web development, but they are usually kludgy addons.</p>
<p>You can now write RPG calculations in a freeform manner, which makes some people happier than using fixed spots in a program line to put operation codes and calculation factors. Maybe that will be less of a turnoff to our budding Basic and Java programmers.</p>
<p>The value of RPG is that it manages and manipulate data in a firm, straightfoward, terse way. It will never be used to write an operating system or a video game, but it manipulates file data, including data going to and from &#8220;screen&#8221; files, very elegantly.</p>
<p>I thought I&#8217;d illustrate the differences between languages by showing how Java and RPG/400 (the dialect between RPGIII and RPGIV) program the display of the verses to &#8220;99 Bottles of Beer&#8221;: (from <a href="http://99-bottles-of-beer.net/" rel="nofollow">http://99-bottles-of-beer.net/</a> )</p>
<p>// java version of 99 bottles of beer on the wall<br />
// 1995 Sean Russell (<a  rel="nofollow" id="emailShroud0" stoDom="cs.uoregon.edu" stoUser="ser" href="http://www.somethinkodd.com/emailshroud/emailaddress.php?domainName=cs.uoregon.edu&amp;userName=ser&amp;ver=2.0.0" >ser</a>)</p>
<p>class bottles<br />
{<br />
public static void main(String args[])<br />
{<br />
String s = &#8220;s&#8221;;<br />
for (int beers=99; beers>-1;)<br />
{<br />
System.out.print(beers + &#8221; bottle&#8221; + s + &#8221; of beer on the wall, &#8220;);<br />
System.out.println(beers + &#8221; bottle&#8221; + s + &#8221; of beer, &#8220;);<br />
if (beers==0)<br />
{<br />
System.out.print(&#8220;Go to the store, buy some more, &#8220;);<br />
System.out.println(&#8220;99 bottles of beer on the wall.\n&#8221;);<br />
System.exit(0);<br />
}<br />
else<br />
System.out.print(&#8220;Take one down, pass it around, &#8220;);<br />
s = (&#8211;beers == 1)?&#8221;":&#8221;s&#8221;;<br />
System.out.println(beers + &#8221; bottle&#8221; + s + &#8221; of beer on the wall.\n&#8221;);<br />
}<br />
}<br />
}</p>
<p>H*<br />
H* RPG/400 VERSION OF THE BOTTLES PROGRAM *<br />
H*<br />
FSCREEN O F 80 WORKSTN<br />
C MOVE 100 X 30<br />
C** COUNT DOWN FROM 100 TO 0<br />
C** ONE BUG IS THAT IT DOESN&#8217;T SAY &#8220;BOTTLE&#8221; WHEN THERE&#8217;S ONLY 1<br />
(CURT BARRON)<br />
C X DOWGE0<br />
C EXCPT<br />
C SUB 1 X<br />
C END<br />
C SETON LR<br />
OSCREEN E<br />
O X 3<br />
O 26 &#8216;BOTTLES OF BEER ON THE&#8217;<br />
O 31 &#8216;WALL,&#8217;<br />
O X 36<br />
O 53 &#8216;BOTTLES OF BEER&#8217;<br />
O E<br />
O 22 &#8216;TAKE ONE DOWN AND PASS&#8217;<br />
O 32 &#8216;IT AROUND&#8217;</p>
<p>Once you understand that DOWGE stands for &#8220;Do while greater than or<br />
equal to&#8221; , the programming should be clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.spencerbarron.com/2008/02/rpg-not-role-playing-game/comment-page-1/#comment-247</link>
		<dc:creator>david</dc:creator>
		<pubDate>Fri, 29 Feb 2008 15:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerbarron.com/archives/108#comment-247</guid>
		<description>While RPG might not be the sexiest language in the world ... it&#039;s not dead by a long shot.  It&#039;s certainly a workhorse language that is extraordinarily suited for solving back office business application tasks.  An RPG programmer doesn&#039;t have to worry about how he hooks up to the database ... it&#039;s all built into the language.  All he/she has to do is worry about solving the business problem.

Recent advances in the language have given it some pretty nice changes ... free form code (as apposed to column based) and a very powerful Eclipse based editor (WDSC -- Websphere Development Studio Client for iSeries, or RDi -- Rational Developer for System i), just to name a few.

There&#039;s a quite active System i community ... part of which I run.  The &lt;a href=&quot;http://lists.midrange.com/listinfo/rpg400-l&quot; rel=&quot;nofollow&quot;&gt;RPG400-L mailing list&lt;/a&gt; is very active.</description>
		<content:encoded><![CDATA[<p>While RPG might not be the sexiest language in the world &#8230; it&#8217;s not dead by a long shot.  It&#8217;s certainly a workhorse language that is extraordinarily suited for solving back office business application tasks.  An RPG programmer doesn&#8217;t have to worry about how he hooks up to the database &#8230; it&#8217;s all built into the language.  All he/she has to do is worry about solving the business problem.</p>
<p>Recent advances in the language have given it some pretty nice changes &#8230; free form code (as apposed to column based) and a very powerful Eclipse based editor (WDSC &#8212; Websphere Development Studio Client for iSeries, or RDi &#8212; Rational Developer for System i), just to name a few.</p>
<p>There&#8217;s a quite active System i community &#8230; part of which I run.  The <a href="http://lists.midrange.com/listinfo/rpg400-l" rel="nofollow">RPG400-L mailing list</a> is very active.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spencer Barron</title>
		<link>http://www.spencerbarron.com/2008/02/rpg-not-role-playing-game/comment-page-1/#comment-249</link>
		<dc:creator>Spencer Barron</dc:creator>
		<pubDate>Thu, 28 Feb 2008 16:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.spencerbarron.com/archives/108#comment-249</guid>
		<description>I think your right about the RPG language not being the &#039;sexy&#039; choice.  It&#039;s probably a great language but in the end, it just doesn&#039;t play well with others.  These days, for wide acceptance, it seems you also need some flashing doodads on the screen.

Kids these days will never embrace RPG unless something changes? What would RPG V look like?  Could the output be changed into a format that would play well on the web?  Besides stablity, what are the advantages for using RPG when compared to the other more popular options?</description>
		<content:encoded><![CDATA[<p>I think your right about the RPG language not being the &#8217;sexy&#8217; choice.  It&#8217;s probably a great language but in the end, it just doesn&#8217;t play well with others.  These days, for wide acceptance, it seems you also need some flashing doodads on the screen.</p>
<p>Kids these days will never embrace RPG unless something changes? What would RPG V look like?  Could the output be changed into a format that would play well on the web?  Besides stablity, what are the advantages for using RPG when compared to the other more popular options?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
