[Openroad-users] Included applications at runtime
White, Paul
Paul.White at iasbet.com
Mon Nov 6 13:12:17 EST 2006
Do you mean something like this?
Customer_App
procedure dummyproc () =
{
RETURN 123;
}
MyApp
procedure p4_application_exists
(
appname = varchar(32) not null default ''
) =
declare
li_exists = integer not null default 0;
lv_exec = varchar(50) not null default '';
enddeclare
{
li_exists = 0;
lv_exec = appname + '!dummyproc';
li_exists = CALLPROC :lv_exec;
MESSAGE 'p4_application_exists:' + varchar(li_exists);
RETURN li_exists;
}
-----Original Message-----
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com]On Behalf Of Chris Wallace
Sent: Monday, November 06, 2006 12:27 PM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Included applications at runtime
Peter,
Why not always provide a dummy application/procedure when you deliver your
application. Then you always know that the procedure exists - even if you
dummy procedure just does a return.
Then your user can simply replace you dummy image to implement theirs. The
additional benefit of this is in application supporting. If there is any
doubt about whether a problem exists in your code or the clients you can
simply ask them to reproduce the problem with your dummy application in
place.
Regards
Chris Wallace
Management Information Systems (WA) Pty Ltd
Level 9, MIS House
231 Adelaide Terrace, PERTH WA 6000
Ph: (08) 9221-9221 Fax: (08) 9221-9224
Email: <mailto:chrisw at miswa.com.au> chrisw at miswa.com.au
Web: <http://www.miswa.com.audisclaimer/> http://www.miswa.com.au
Disclaimer: Management Information Systems (MIS)
This e-mail is private and confidential. If you are not the intended
recipient, please advise us by return e-mail immediately, and delete the
e-mail and any attachments without using or disclosing the contents in any
way. The views expressed in this e-mail are those of the author, and do not
represent those of MIS unless this is clearly indicated. You should scan
this e-mail and any attachments for viruses. MIS accepts no liability for
any direct or indirect damage or loss resulting from the use of any
attachments to this e-mail.
_____
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Kim Ginnerup
Sent: Saturday, 4 November 2006 4:48 PM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Included applications at runtime
Hi peter,
I have looked for that too. Without any luck.
The only way that I could come up with, was to search the directories:
Current dir, II_W4GLAPPS_DIR, II_W4GLSYS_DIR, II_SYSTEM/ingres/w4glapps
Kim
_____
Fra: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] På vegne af Peter van
Bennekom
Sendt: 31. oktober 2006 17:06
Til: OpenROAD Users
Emne: [Openroad-users] Included applications at runtime
Folks,
How do I get the list of included applications at runtime for a given
application? I want to check if a certain app exist - our customers can
customize our product as they see fit and at runtime I want to see if an app
exist - if it does I want to call a predefined procedure.
I have tried to see if ParentApplication has an attribute but I cannot find
any thing - I tried .inclApps (you never know) but that did not return
anything. Source code database is not available in runtime environment. And
I prefer not to write output to disk and then read / parse it (may run into
all sorts of rights issues...).
Any help greatly appreciated.
Peter
Peter van Bennekom | Senior Technical Architect | Infor | office: +1 (610)
407-8113 | fax: +1 (610) 407-8027
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://peerlessit.com/pipermail/openroad-users/attachments/20061106/4e08145a/attachment.html
More information about the Openroad-users
mailing list