Dan, could you provide an example? Forgive me, but I don't understand what
you mean by extended file name...

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, November 17, 2005 6:32 PM
Subject: Re: [Easy400Group] Multiple company support within CGIDEV2


> I solved the problem by having a file listing libraries associate with
> company names. First, I set all files to usropn. Then, using a variable
for
> the extended file name in the F specs of the ILE program, I constructed
the
> extended file name and filled the variable. - No library paths, no
> re-direction, no file locks. You set all the opening logic in the *INZSR
> subroutine.
> ----- Original Message ----- 
> From: "Warszycki, Stan x36140" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, November 15, 2005 9:49 AM
> Subject: RE: [Easy400Group] Multiple company support within CGIDEV2
>
>
> > I had a similar problem.  What I did was write an initial "re-directing"
> > program in ILE RPG.  This program would receive the request, call an ILE
> CL
> > program to create the necessary overrides, then pass control to the
> > destination CGI.  We placed a code in the URL sent to the redirect
program
> > to point to different CGI programs.  This had the extra advantage of
> > "hiding" the actual program names from the browser.
> >
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 15, 2005 10:44 AM
> > To: [email protected]
> > Subject: [Easy400Group] Multiple company support within CGIDEV2
> >
> >
> >
> > We have to change our existing CGIDEV2 programs to support multiple
> > companies.  Based on a user ID we will determine which company a
specific
> > customer belongs.
> >
> > Once the company number has been established, we need to override the
data
> > files to a company specific data library.  We will be calling existing
RPG
> > and CLP programs during normal processing.  Changing CURLIB does not
> appear
> > to be an option.  We could write a CLP to change lib list entry.
> >
> > The example programs show the overrides taking place in the CGI
programs,
> > but this would require extensive program changes.
> >
> > Has anyone done this and if so, what method did you use to accomplish
> this?
> >
> >
> >
> > Bruce Huyck
> >
> > Paducah & Louisville Railway
> >
> >
> >   _____
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >
> > * Visit your group "Easy400Group
> > <http://groups.yahoo.com/group/Easy400Group> " on the web.
> >
> >
> > * To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> > <http://docs.yahoo.com/info/terms/> .
> >
> >
> >   _____
> >
> >
> > _
> > This message and any attachments are intended only for the use of the
> addressee and
> > may contain information that is privileged and confidential. If the
reader
> of the
> > message is not the intended recipient or an authorized representative of
> the
> > intended recipient, you are hereby notified that any dissemination of
this
> > communication is strictly prohibited. If you have received this
> communication in
> > error, please notify us immediately by e-mail and delete the message and
> any
> > attachments from your system.
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/wbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to