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



--- Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx> wrote:
> > From: Joel Cochran
> > 
> > By enclosing these in procedures, they become very modular:
> > 
> > <psuedo-code>
> > /free
> >   if sflOption = 2 ;
> >     invoiceUpdateScreen( myKeyValue );
> >   elseif sflOption = 3 ;
> >     invoiceCopyScreen( myKeyValue );
> >   elseif sflOption = 4 ;
> >     invoiceDeleteScreen( myKeyValue );
> >   elseif sflOption = 5 ;
> >     invoiceDisplayScreen( myKeyValue );
> >   endif ;
> > /end-free
> > </psudoe-code>
> 
> Sure, but you could do that just as easily with a prototype
> with EXTPGM,
> couldn't you?


Exactly, this is how my dynamic calls look because I do
prototype them with EXTPGM.  I actually use the prototype in the
program itself by using conditional compilation directives. 
Then if you want to dynamic call a program using prototype you
just do the following to get the prototype:

      /define PROTOTYPE_ONLY
      /copy qrpglesrc,frselcomp
      /copy qrpglesrc,frselmfg
      /copy qrpglesrc,frselwork
      /copy qrpglesrc,frwrkexcl
      /copy qrpglesrc,frwrkmodl
      /copy qrpglesrc,frwrksegs
      /undefine PROTOTYPE_ONLY
 

Scott Mildenberger



__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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.