|
Andy, The CRTSQLRPGI command has a parameter to create the module. CRTSQLRPI OBJ(OBJLIB/MODULENAME) SRCFILE(SRCFILELIB/SOURCEFILE) SRCMBR(SRCMEMBER) OBJTYPE(*MODULE). I prefer to add the modules to a binding directory and use that to bind modules to programs. Nick W. Mart Programmer Analyst Solutions, Inc. 2311 West 18th Street PO Box 857 Spencer, IA 51301 712-262-4520 ext. 33 -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Andy Hautamaki Sent: Friday, January 20, 2006 7:59 AM To: RPG400-L@xxxxxxxxxxxx Subject: Newbie question on Embedded SQL in a NOMAIN RPG Module and bindinginto a program I've never embedded SQL into a NOMAIN module before and am wondering what steps you need to create the module and anything different when you bind the module to programs. I'm sure you have to use the 'Create SQL ILE RPG Object (CRTSQLRPGI)'. Any special options should be using on the command? Then after that is it just a simple CRTRPGMOD and then CRTPGM? Thanks Andy Hautamaki
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.