You might try registering it as a user defined function. I have only done it once and used a service program around the procedure I needed. Maybe someone else with more experience in that are can give you more information. Rick -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Wills, Mike N. (TC) Sent: Wednesday, March 31, 2004 12:30 PM To: Midrange Systems Technical Discussion Subject: Calling a subprocedures through SQL How would I call an RPG subprocedures through SQL? I know you can call programs, but can you call subprocedures? Mike Wills Lawson Programmer/Administrator Taylor Development Email: mnwills@xxxxxxxxxxxxxx Direct Line: (507) 386-3187 CONFIDENTIAL INFORMATION NOT TO BE COPIED WITHOUT AUTHORIZATION The information contained in this electronic mail transmission may contain privileged communications and/or confidential information intended only for the use of the named recipient(s). If the reader of this information is not the named recipient(s) or you receive this transmission in error, please: (1) immediately notify us by return electronic transmission at mnwills@xxxxxxxxxxxxxx; and (2) permanently delete this message from your computer and all servers and other stored devices.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.