Midrange News for the IBM i Community


Posted by: Chris Proctor
Programmer Analyst
Columbia Sports Company
Portland, OR
Compiling a CLLE program with a CALLPRC
has no ratings.
Published: 03 Oct 2012
Revised: 23 Jan 2013 - 3715 days ago
Last viewed on: 20 Mar 2023 (9278 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Compiling a CLLE program with a CALLPRC Published by: Chris Proctor on 03 Oct 2012 view comments(2)

Good afternoon! I'm trying to compile a CLLE program that has a CALLPRC in it and there is no errors in the source itself, but it's having a problem with the CALLPRC to SYSGET, which is a module defined within a service program.

I'm not sure the steps I need to use to compile it. It's been compiled before. Any help would be greatly appreciated.

Chris

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: chrisp
Premium member *
Portland, OR
Comment on: Compiling a CLLE program with a CALLPRC
Posted: 10 years 5 months 23 days 13 hours 2 minutes ago

Ok, I was able to create the module using the CRTCLMOD command... So, how do I now create the CLLE program so it can be called????? I tried CRTPGM, and included the binding directory that contains the service program that is being called in the CLLE, but that didn't work.

Posted by: chrisp
Premium member *
Portland, OR
Comment on: Compiling a CLLE program with a CALLPRC
Posted: 10 years 5 months 23 days 12 hours 52 minutes ago

Figured it out! Had to CRTCLMOD then CRTPGM with the needed service program specified in the command, rather than an entire binding directory.