× 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.




On 10/05/2010, at 5:48 PM, David FOXWELL wrote:


This is obvious. CVTRPGSRC, CRTPF, CRTRPGMOD, CRTCLMOD, etc., all want us to use QXXXSRC. When I started out, my personal library contained one source file called TOOLS in which I put everything. But default command settings soon corrected me. In our company NOBODY touches the default settings!

It's not necessary to change the default settings. It is only necessary to use a proper change management (or source code control) system. It will take care of specifying the actual file name. You only have to create it (and in some cases ensure the source is added to the proper file).

Why does IBM apparently WANT us to use these file names?

I'm not sure they care what source file you use. They set up some defaults to make life a little easier when you first start using the system, that's all.

I didn't quite get that. You don't separate the main source files by language type, but you do separate shared source by language type?

I separate the includes by source type because they all have the same name. I could tag the name with a type (as is necessary when using a single source file) but includes seem better named according to what they contain. Thus there is a FBNSTRING include in the H file for C, in the RPGLEINC file for RPG IV, in the CBLLEINC file for COBOL. There is a MATMATR in RPGLEINC for RPG IV, and one in CBLLEINC for COBOL. I don't need an H include for this one because Rochester have provided a serviceable one in QSYSINC.

Although they have also provided includes for APIs in QSYSINC they haven't done the MI instructions for RPG or COBOL and the API ones they do provide for RPG are simply horrible, Cryptic names and poor structure definitions and non-existent prototypes--might as well be using RPG III. Not surprising since I understand the COBOL and RPG ones are generated from the C includes and the RPG IV ones are simply converted from the RPG III ones. Bleuch!

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.