× 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.



Hi,

how did you try to compile your program?
With option 14 in PDM?

An ILE compilation is always a two step calculation:
1. Compile all your modules (Option 15 --> CRTRPGMOD)
2. Create the program using the CL-Command CRTPGM and by specifying all
bound modules.

(Even with option 14 CRTBNDRPG a two step compilation is performed. First
the module gets compiled to the QTEMP library. After the module gets
converted into a program in your object library and the module in the QTEMP
gets deleted.)

You also can add your modules (or service programs) to an binding directory
and specify the binding directory at compile time or add it in the H-Specs:
1. Create Binding directory: CRTBNDDIR
2. Add Binding directory entries: ADDBNDDIRE

3. If you are using a binding directory, it's possible to use Option 14 to
compile a program. You have to use an activation group other than the
default activation group and specify the binding directory in the compile
command.
Alternatively you can add the following H-Specs to your source:
H/If Defined (*CRTBNDRPG)
H  DftActGrp(*NO) BndDir('MYBNDDIR') ActGrp(*New or *Caller or
'NAMEDACTGRP')
H/EndIf

4. If you use the two step compilation the binding directory can be
specified in the CRTPGM-Command.

Mit freundlichen Gru?en / Best regards

Birgitta

"Shoot for the moon, even if you miss, you'll land among the stars."
(Les Brown)

-----Ursprungliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]Im Auftrag von Mike Troxclaire
Gesendet: Donnerstag, 6. April 2006 23:34
An: rpg400-l@xxxxxxxxxxxx
Betreff: RE:Calling RPGLE module.


As a newbie I would love to know about it too. I was not able to compile the
program??

Mike.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.