× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Missing options from CRTSQLRPGI
  • From: Jon.Paris@xxxxxxxxxx
  • Date: Thu, 18 Mar 1999 12:22:57 -0500



 >> Also the DFTACTGRP parameter is not on the CRTBNDCBL command for
 >> ILE Cobal instead the you have ACTGRP. It is on ILE CL create command. It
 >> looks like IBM had three different thought patterns for creating programs
 >> from PDM.

Not so - there was a very consistent thought pattern used.  It was simply "Can
we make it work ?".  CRTBNDCBL does not support the DFTACTGRP parameter because
the compiler does not support the option.  The parameter DFTACTGRP is really
very badly named - it doesn't mean "Does it run in the default AG ?" - although
that is its effect - what it means is "Does this program behave like an OPM
program ?".  Since simulating this behavior was relatively easy for RPG and CL,
they implemented the function.  For COBOL on the other hand, it would have been
very expensive and very error prone.  That is why we elected not to do it.  I
won't go into the details, but it has to do with the COBOL Run-Unit - something
neither RPG or CL have to worry about.

 >> One thing I have been able to do with SQL that you can not do with
 >> RPGLE is create Subprocedures that will do file IOs.

I agree that we should use SQL more.  But not for the reason you state - I have
a lot of Subprocedures that do file I/O - in fact I teach people to use them to
isolate their I/O functions from the main line logic.  I think you have missed
something somewhere along the line.

 >> If my example is not the reason for not having the parm on the command,
.....

The main reason is the one previously stated - the SQL folks are just _real_
slow in adding new features to the pre-compiler.  They are so busy upgrading the
database itself that they never seem to allow enough resource to update the
pre-compilers.  The list of missing facilities gets longer with each release and
there's no relief in site.


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.