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



On 2011/4/13 1:42 PM, GKern@xxxxxxxxxxxxxxxx wrote:
...
We have an H spec copybook with the following:

H Option(*NODEBUGIO : *SRCSTMT)
H BNDDIR('MASTER') BNDDIR('QC2LE')
H DFTACTGRP(*NO)
H ACTGRP(*CALLER)
...

Consider adding some /IF code to enable this copybook to be used with CRTRPGMOD. CRTRPGMOD would not like the DFTACTGRP or ACTGRP keywords. If you code it like this, those keywords are only picked up when a program is being created:

H Option(*NODEBUGIO : *SRCSTMT)
H BNDDIR('MASTER') BNDDIR('QC2LE')
/if defined(*CRTBNDRPG) <--- add this
H DFTACTGRP(*NO)
H ACTGRP(*CALLER)
/endif <--- add this

You could do that as an initial step, even if you are considering using something more robust like Kevin suggested.

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.