|
Jake wrote on 29/03/2006 09:46:15 AM: > Michael: > > I idea of Binding Directory is clear as mud right now(so to speak). Is it > similar to creating a Source Physical File and then adding members to it? > Just that in place of members, you add modules. Is that right? Please > forgive my lack of knowledge. Modules using EXPORT?? Hope you don't mind another voice in the discussion. I think of binding directories as just a way of storing the list of objects to bind to the program. So, instead of typing : crtpgm mylib/myprogram modules(myprogram mymodule1 mymodule2) bndsrvpgm(mysrvpgm1 mysrvpgm2) I add all of these items to a binding directory. Create using CRTBNDDIR mybnddir. Then use WRKBNDDIRE mybnddir, or: ADDBNDDIRE BNDDIR(mybnddir) OBJ(mymodule1 *MODULE) ADDBNDDIRE BNDDIR(mybnddir) OBJ(mymodule2 *MODULE) ADDBNDDIRE BNDDIR(mybnddir) OBJ(mysrvpgm1 *SRVPGM) ADDBNDDIRE BNDDIR(mybnddir) OBJ(mysrvpgm2 *SRVPGM) Now, the program creation step is: crtpgm mylib/myprogram bnddir(mybnddir) You can also put the binding directory in the H-specs of your RPG program: H bnddir('MYBNDDIR') Hope this helps, Adam ##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
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.