|
-----Original Message----- From: Scott.Lindstrom@zenith.com <Scott.Lindstrom@zenith.com> To: COBOL400-L@midrange.com <COBOL400-L@midrange.com> Date: Tuesday, November 23, 1999 2:29 PM Subject: Re: Cobol vs RPG vs Java vs C vs MI > > >I had heard at one time that COBOL performs slightly better than RPG since even >though most programmers don't use the RPG cycle, the logic is still embedded in >every program and still executes. I didn't think it could be turned off. It still performs better than RPG in IO. That is because RPG must translate every field into the target variable. COBOL just maps the data into the buffer. This is also why COBOL can generate data decimal errors into RPG programs from files written by COBOL. As far as the cycle is concerned, turning if off is not really turning it off, but removing it by specifying NOMAIN. This is used for procedures. As for the logic cycle executing. No, it only executes if you specify a primary file or run off the end. Otherwise, it is just baggage. =========================================================== R. Bruce Hoffman, Jr. -- IBM Certified AS/400 Professional System Administrator -- IBM Certified AS/400 Professional Network Administrator "The sum of all human knowledge is a fixed constant. It's the population that keeps growing!" +--- | This is the COBOL/400 Mailing List! | To submit a new message, send your mail to COBOL400-L@midrange.com. | To subscribe to this list send email to COBOL400-L-SUB@midrange.com. | To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---END
As an Amazon Associate we earn from qualifying purchases.
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.