PDA

View Full Version : How to create RPGIV program with embedded SQL



Guest.Visitor
01-01-1995, 02:00 AM
I decided to modify a subfile program to use embedded SQL's instead of native I/O functions. (As a way of getting my feet wet for future development). Anyway, the original program was created using the CRTRPGMOD/CRTPGM combo because is bounded to a service program, as well as it run on a named activation group. The CRTSQLRPGI command does not allow an activation group nor a service program to be specified. So my question is How do I compile this program? TIA

Guest.Visitor
07-25-2000, 01:21 PM
Alan, I think you use the CRTSQLRPGI to create the bound module then use CRTPGM specifing the service program and activation group. HTH, John

Guest.Visitor
07-25-2000, 01:23 PM
In CRTSQLRPGI change the parameter OBJTYPE to *MODULE

Guest.Visitor
07-25-2000, 03:49 PM
John, that did it! Thanks.