I created the following simplistic UOLOGIN subroutine:
SUBROUTINE UOLOGIN(RETURN.VALUE, APPLIC.NAME)
EQU TRUE TO 1; EQU FALSE TO 0
IF UNASSIGNED(RETURN.VALUE) THEN RETURN.VALUE = TRUE
IF UNASSIGNED(APPLIC.NAME) THEN APPLIC.NAME = "DEMO"
RETURN.VALUE = TRUE
RETURN
Compiled and globally catalog UOLOGIN.
Attempted to run my UniObjects application, and corrupted my VOC.
:COUNT VOC
COUNT VOC
1:Grpno error. blkbuf->group=46, U_groupno=94, error in U_blkread for file
'VOC
', key '', number=94
1:blkread error in U_read_group for file 'VOC', key '', number=94
1:read_all_block_in_group error in U_gen_read_group for file ' ', key ' ',
numbe
r=0
Ran guide and fixfile to get my VOC operational again.
Do I need to reference UOLOGIN within UniObjects application? Either I've
missed information within the [U2] Uniobjects hack thread, or there's more
to the setup and usage of UOLOGIN than meets the eye, or it plain just does
not work.
... Ian
----- Original Message -----
From: "Key Ally" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 30, 2005 3:09 PM
Subject: Re: [U2] [UD] UOLOGIN
Ian,
UOLOGIN is an optional routine (written by you) if and when you need
it. If you look back at the recent thread: [U2] Uniobjects hack, you'll
get pretty much everything you need.
- Chuck
Ian Renfrew wrote:
The UniData readme.61 notes make a reference to a UOLOGIN subroutine:
UniData 6.1.8
Build 5116
Problems Fixed in this Patch: 7576
Issue 7576 - Problem Description
UniObjects, UniObjects for Java, UniObjects for .NET -- Prior to this
release,
you could not access an NFA file through UniObjects, UniObjects for Java,
or
UniObjects for .NET using a direct OPEN or READ statement. In order to
access
an NFA file with these products, edit the UOLOGIN subroutine and add the
following:
NFAUSER("username","password")
I can't seem to find a reference to the UOLOGIN subroutine. Is this
subroutine
supposed to be included as part of UniData's release? If not, is there any
documentation about the subroutine, other than what has been provided on
the
user group?
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/