|
----- Message from Buck Calabro <kc2hiz@xxxxxxxxx> on Wed, 24 Julthe
2013 15:56:14 -0400 -----
To:
wdsci-l@xxxxxxxxxxxx
Subject:
Re: [WDSCI-L] Colored comment code
On 7/24/2013 8:43 AM, darren wrote:
This just in from the InfoCenter. NOTE: This DCLPRCOPT comes after
'PGM' opcode
Example: Declaring compiler options to override CRTBNDCL
DCLPRCOPT DFTACTGRP(*NO) ACTGRP(MYAPP) +
BNDDIR(MYAPPLIB/MYBNDDIR)
My example:
PGM
DCLPRCOPT DFTACTGRP(*NO) ACTGRP(*NEW)
If OP is on an old release and can't yet do that, there's a left-handed
way to do that in RDi. Create a new source member type and have the
associated compile command have the defaults you need. All CLLE's that
need this compiler behaviour will then get the same treatment just by
changing their member type. A side benefit is that people compiling
with PDM will have to do something special because they can't take a
simple 14 to compile. Create a user command in PDM that has the exact
same text as your custom RDi compile command and they can then use the
same defaults in PDM that you use in RDi.
1) Change source member type from CLLE to CLLENEW
2) Document parser, map CLLENEW to parser: CL
3) Compile > Prompt
3a) Add new source type: CLLENEW
3b) New command
3bi) Label: crtbndcl_new
3bii) Command: CRTBNDCL PGM(&O/&N) SRCFILE(&L/&F) SRCMBR(&N)
DFTACTGRP(*NO) ACTGRP(*NEW) OPTION(*EVENTF) REPLACE(&R) DBGVIEW(*SOURCE)
4) Compile
Just an idea.
--buck
As an Amazon Associate we earn from qualifying purchases.
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.