[U2] Uni Kernel

2008-06-16 Thread Brutzman, Bill
I was recently asked about the kernel of UniVerse.  

A quick look on Google, IBM's website, and the UV manuals that I have did
not lead to much. 

Wikipedia has an insightful writeup of Kernel (Computer Science) and
Linux Kernel.  Comments on the significance of the UniVerse (or UniData)
kernel would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Uni Kernel

2008-06-16 Thread Jeff Schasny
Neither U2 product has a 'kernel'. They both utilize the host operating 
system to provide access to kernel functions such as memory and I/O 
access and process exchange.

Brutzman, Bill wrote:
 I was recently asked about the kernel of UniVerse.  

 A quick look on Google, IBM's website, and the UV manuals that I have did
 not lead to much. 

 Wikipedia has an insightful writeup of Kernel (Computer Science) and
 Linux Kernel.  Comments on the significance of the UniVerse (or UniData)
 kernel would be appreciated.

 --Bill
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/

   

-- 

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Uni Kernel

2008-06-16 Thread Allen Egerton

Brutzman, Bill wrote:
I was recently asked about the kernel of UniVerse.  


A quick look on Google, IBM's website, and the UV manuals that I have did
not lead to much. 


kernel typically refers to the very low level core files of a *nix 
system.  Universe is not an operating system, it's a complex application 
that runs on top of the operating system.  As such, it has no kernel.


--
Allen Egerton
aegerton at pobox dot com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Uni Kernel

2008-06-16 Thread JPB-U2UG
Although PICK was an operating system at one time, and therefore had a
kernel, the U2 products dropped the kernel so they could operate on any
operating system with adjustments. There is a engine that manages the
applications built in the environment but it is not usually called the
kernel.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Monday, June 16, 2008 9:45 AM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] Uni Kernel

I was recently asked about the kernel of UniVerse.  

A quick look on Google, IBM's website, and the UV manuals that I have did
not lead to much. 

Wikipedia has an insightful writeup of Kernel (Computer Science) and
Linux Kernel.  Comments on the significance of the UniVerse (or UniData)
kernel would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] File pointer question

2008-06-16 Thread T Stokes
With the help IBM I  was able to resolve the problem. Fixing it required
changing a pointer.

-- 
View this message in context: 
http://www.nabble.com/File-pointer-question-tp17788496p17870502.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Uniobjects for Java

2008-06-16 Thread Charles_Shaffer
Using Java with Uniobjects for Java to call a UniBasic routine.  The 
UniBasic routine has two parameters; part number and result (html code). 
As long as it is passed a valid part number, it works OK.  However, when 
the part number is not valid it returns an empty string RESULT = '' (two 
single quotes). 

The Java class method checks for an empty string and returns null if it 
finds one

***
OpenU2Session();
UniSubroutine uSub = uSession.subroutine(GetInventoryStatus, 2);
uSub.setArg(0, partnum);
uSub.call();
result = uSub.getArg(1);
CloseU2Session();
if(result == ) {
return null;
} else {
return result;
}
 

The php action that calls the class method checks for null and behaves 
accordingly.

$result = $U2-GetInventoryStatus($partnumber);
if($result) {
echo $result;
} else {
echo No information found for  + $partnumber;
}


The problem is that when the Java routine checks the result from the 
UniBasic sub, it doesn't seem to see the empty string as an empty string. 
Does anyone know what is happening here?  Is there a better way to 
indicate an empty string

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Uniobjects for Java

2008-06-16 Thread Rex Gozar

should be:

if (.equals(result)) {
return null;
} else {
return result;
}



[EMAIL PROTECTED] wrote:
Using Java with Uniobjects for Java to call a UniBasic routine.  The 
UniBasic routine has two parameters; part number and result (html code). 
As long as it is passed a valid part number, it works OK.  However, when 
the part number is not valid it returns an empty string RESULT = '' (two 
single quotes). 

The Java class method checks for an empty string and returns null if it 
finds one


***
OpenU2Session();
UniSubroutine uSub = uSession.subroutine(GetInventoryStatus, 2);
uSub.setArg(0, partnum);
uSub.call();
result = uSub.getArg(1);
CloseU2Session();
if(result == ) {
return null;
} else {
return result;
}
 

The php action that calls the class method checks for null and behaves 
accordingly.


$result = $U2-GetInventoryStatus($partnumber);
if($result) {
echo $result;
} else {
echo No information found for  + $partnumber;
}


The problem is that when the Java routine checks the result from the 
UniBasic sub, it doesn't seem to see the empty string as an empty string. 
Does anyone know what is happening here?  Is there a better way to 
indicate an empty string


Charles Shaffer
Senior Analyst
NTN-Bower Corporation
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] ActiveX component problem with Uniobjects application and Visual

2008-06-16 Thread Eric Armstrong
I have written my first uniobjects app with Visual Studio 2005 on my Windows
XP at home. It built fine and generated four files in the Release folder,
Interop.UNIOBJECTSLib.dll
ProfileApp.exe
ProfileApp.xml
ProfileApp.pdb

I transferred these four files to my PC at work, updated the .net version to
2 something, and it worked fine, but when I transferred the same four files
to another PC with Windows XP, updated the .net version, and tried to run
it, I got the following error message when the uniobjects were invoked-

System.Exception: Cannot create ActiveX component.
   at Microsoft.VisualBasic.Interaction.CreateOjbect(String Progld, String
ServerName), etc.

Does anyone have any idea what the problem and/or solution is?

Eric Armstrong
Programmer/Analyst
Lobel Financial
714-816-1207
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Uniobjects for Java

2008-06-16 Thread Jeff Powell
I usually check the length  0 after I check for null.

On Mon, 2008-06-16 at 13:53 -0500, [EMAIL PROTECTED] wrote:

 Using Java with Uniobjects for Java to call a UniBasic routine.  The 
 UniBasic routine has two parameters; part number and result (html code). 
 As long as it is passed a valid part number, it works OK.  However, when 
 the part number is not valid it returns an empty string RESULT = '' (two 
 single quotes). 
 
 The Java class method checks for an empty string and returns null if it 
 finds one
 
 ***
 OpenU2Session();
 UniSubroutine uSub = uSession.subroutine(GetInventoryStatus, 2);
 uSub.setArg(0, partnum);
 uSub.call();
 result = uSub.getArg(1);
 CloseU2Session();
 if(result == ) {
 return null;
 } else {
 return result;
 }
  
 
 The php action that calls the class method checks for null and behaves 
 accordingly.
 
 $result = $U2-GetInventoryStatus($partnumber);
 if($result) {
 echo $result;
 } else {
 echo No information found for  + $partnumber;
 }
 
 
 The problem is that when the Java routine checks the result from the 
 UniBasic sub, it doesn't seem to see the empty string as an empty string. 
 Does anyone know what is happening here?  Is there a better way to 
 indicate an empty string
 
 Charles Shaffer
 Senior Analyst
 NTN-Bower Corporation
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] ActiveX component problem with Uniobjects application and Visual

2008-06-16 Thread John Jenkins
It sounds like missing or unregistered DLLS - otherwise permissions. This
link from the MSDN forums may give some pointers:

http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.interaction.cr
eateobject.aspx

Regards

JayJay


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Armstrong
Sent: 16 June 2008 21:27
To: u2-users@listserver.u2ug.org
Subject: [U2] ActiveX component problem with Uniobjects application and
Visual

I have written my first uniobjects app with Visual Studio 2005 on my Windows
XP at home. It built fine and generated four files in the Release folder,
Interop.UNIOBJECTSLib.dll
ProfileApp.exe
ProfileApp.xml
ProfileApp.pdb

I transferred these four files to my PC at work, updated the .net version to
2 something, and it worked fine, but when I transferred the same four files
to another PC with Windows XP, updated the .net version, and tried to run
it, I got the following error message when the uniobjects were invoked-

System.Exception: Cannot create ActiveX component.
   at Microsoft.VisualBasic.Interaction.CreateOjbect(String Progld, String
ServerName), etc.

Does anyone have any idea what the problem and/or solution is?

Eric Armstrong
Programmer/Analyst
Lobel Financial
714-816-1207
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] memresize error

2008-06-16 Thread Lim
Hi,

I got this error when memresize. You have any idea ?

When memresize DYNAMIC file
u_write error,name=/scratch/rsztpa26170,offset=2147463168.
length=9216.ret=4096.
write last blocks error.
2__memread error.
u_write error,name=/scratch/rsztpa26170,offset=2147463168.
length=9216.ret=4096.
write last blocks error.
2__memread error.



When memresize STATIC file

The temporary file for memresize is /scratch/rsztpa26170.
1:U_blkread error in add_to_group for file 'rsztempa26170', key '98397051',
 number=33271
fatal error occurred during memresize, memresize terminated.
1:U_blkread error in add_to_group for file 'rsztempa26170', key '91646441',
number=2843
 rsztempa26170 is a synonym, the real data file name is /scratch/rsztpa26170
 rsztempa26170 has a synonym dict file, The real dict file is
/scratch/D_rsztpa26170
memresize failed.


Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/memresize-error-tp17857119p17857119.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/