× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I want to be sure I have this right.  PGM1 is the caller and is compiled
using CRTPGM into ACTGRP *NEW (for e.g.).  PROC1 is the callee and is a
sub-module contained in module MOD1 which is compiled using CRTMOD into
ACTGRP *CALLER (for e.g.).  Is this right?

Is MOD1 a service program?  Does some sort of CRTxxx have to be done on
PROC1?  Do any other kind of CRTxxx's have to be done on PGM1, MOD1, or
PROC1 to set this up?  What?  Thanks.
-----Original Message-----
Message: 1
Subject: Re: Calling Program with a Procedure Interface
To: rpg400-l@midrange.com
From: MWalter@hanoverwire.com
Date: Thu, 4 Apr 2002 14:18:18 -0500
Reply-To: rpg400-l@midrange.com


<snip>
How do you bind the module to the other source?
</snip>

With the CRTPGM Command.

Say the procedure module's object name is  PROC1 and the main module's is
MOD1.

CRTPGM PGM(myLib/PGM1) MODULE(myLib/MOD1 myLib/PROC1)  ENTMOD(myLib/MOD1)


|


Mark


Mark Walter
Sr. Programmer/Analyst
Hanover Wire Cloth a div of CCX, Inc.
mwalter@hanoverwire.com
http://www.hanoverwire.com
717.637.3795 Ext.3040







As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.