... I think I just had a "Ouch" moment...


I am trying to upgrade Scott's HTTPAPI...

I have the default library: LIBHTTP,
and the binding directory there (LIBHTTP/HTTPAPI)

however, I have modules and service programs
I have made in our production libraries, in multiple binding directories, that need to be tested on the new code (I have made a library LIBHTTP2...)

for testing sake, each module, program, service program I test
was being placed into this new library (LIBHTTP2) and if it is
a module or service program, into the LIBHTTP2/HTTPAPI binding
directory...

now, a programmer out of the blue is having trouble compiling an object
referencing our "production" binding directory, saying a object in it,
conflicts with a object in the LIBHTTP2/HTTPAPI binding directory?
I wound up deleting first the binding entries, then the modules, then the binding directory itself (the LIBHTTP2 objects) to get his program
to compile???

I perceive that binding directories are broader in scope, than usual
jobd/library list/ scope???







On 5/14/2013 2:32 PM, Alan Campin wrote:
So they are using the same name module in multiple programs? Ouch.

I use a single binding directory in which I only put service programs. I
use my make tool(www.think400.dk/downloads.htm) to put the instructions in
header for how to create the object. I never have figured out how you use a
binding directory to make a multiple module program. It always comes down
to have the instructions for how to make the object.

*_> CNLLSTSPLF SRCFILE(@2/@1) SRCMBR(@3)
*_> DLTMOD MODULE(@5/@4)
*_> DLTPGM PGM(@5/@4)
*_> CRTRPGMOD MODULE(@5/@4) SRCFILE(@2/@1) SRCMBR(@3) +
*_> DBGVIEW(@9) OPTIMIZE(@8)
*_> CRTPGM PGM(@5/@4) MODULE(@5/@4 TG0001_M01 TG0001_M02 +
*_> TG0001_M03 TG0001_M04 TG0001_M05 TG0001_M06 TG0001_M07 +
*_> TG0001_M08 TG0001_M09 TG0001_M10 +
*_> TG0001_M50 TG0001_M51) +
*_> ENTMOD(@5/@4) BNDDIR(GPBNDDIR) OPTION(*DUPPROC) +
*_> ACTGRP(MS4)

Or

*_> DLTSRVPGM SRVPGM(@5/@4)
*_> CRTSRVPGM SRVPGM(@5/@4) +
*_> MODULE(TG_CON_M01 TG_CON_M02 TG_CON_M03 TG_CON_M04) +
*_> SRCFILE(@2/@1) SRCMBR(TG_CON_B) +
*_> TEXT('Trigger control') +
*_> ACTGRP(*CALLER) BNDDIR(GPBNDDIR QC2LE QUSAPIBD) +
*_> OPTION(*DUPPROC)



On Tue, May 14, 2013 at 1:03 PM, Gqcy<gmufasa01@xxxxxxxxx> wrote:

I need to clean up our binding directory structure here...
I am finding the same module (well, the same name anyway...)
in multiple binding directories, and no real structure to them...

What are others doing?

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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.