|
At 02:56 PM 6/11/97 +0000, you wrote: > I want to use two files (one display one Database) in a CL program. > Why does CL restrict you to a one file declaration ? And how do I get > around this problem ? I hate to sound old, but I remember the time when you couldn't even have a database file in a CL program. CL was never really designed for database files, only display files. The CPF Release 5 enhancement for allowing the one file to be a database file was a biggie. There are many architectural changes that IBM needs to make to CL, but it has been reluctant to do such. I remember Fred Robinson saying at a COMMON soundoff, 'Would you be willing to pay for an enhanced CL compiler?'. Remember, CL is free with OS/400. The way to get around the problem is to make a second program. One program handles the display file, the other program handles the database file. Both programs can be CL, or one could be a HLL (e.g.: RPG). BTW, CL's performance at reading database files leaves something to be desired, so you might consider RPG for the database stuff. Al Barsa, Jr. - Account for Midrange-L Barsa Consulting, LLC. 400 > 390 Phone: 914-251-9400 Fax: 914-251-9406 Private mail should be sent to barsa@ibm.net root * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-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 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.