I dealt with this problem by writing a new subroutine that initializes
the required common variables.

I then created our own session class that opens a UniObjects session and
calls the initialization subroutine.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Rowlings
Sent: Wednesday, 16 July 2008 10:44 AM
To: [email protected]
Subject: [U2] UniObjects and setting up Common Block

Greetings by the newbie,

I am an asp.net developer and a recent adopter of UniObjects to connect
to our Universe database (our student records system).  We are
experiencing some issues with odd values returning from some IType
dictionary items, which we have narrowed to the absence of initialised
globalised variables in subroutine calls.  In searching the forums I
think it may have been referred to in Universe parlance as the "common
block".  I have not found a solution on the Technical Postings forums
and thinking it would have to be a fairly common issue in legacy systems
request a bit of advice/direction.

What is the approach used to set up these global variables(common
block) via UniObjects?  We don't have the same issue using web service
calls to the same subroutines/ITypes.  We have a substantial code base
that would be a nightmare to re-code, which we need to avoid.  Our U2
programmers are already taxed with updating an ever changing system.

regards


DISCLAIMER:
Disclaimer.  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 this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to