RE: [U2] RE: [UD] Program Cache Expiration - RESTATED

2006-08-08 Thread Cordes, Tom (contractor)
Kevin,

If what you are asking is 'when is the latest version of a program is
executed in UD?', my answer is immediately.

The caveat is an older version seems to execute until the process that has
been executing it expires or goes to ECL.

If a program is executed in our menu system, the only way to reliably
execute the latest version is exit  re-enter the menu.  If a program is
executed by a phantom, the only way to reliably execute the latest version
is to stop  re-start the phantom.

If a program has been executed by a uniobjects slave process, only slave
processes started after the latest version is catalogued are executing it.

If I knew how to apply the 'NEWPCODE' command, maybe the stop/starts would
not be necessary.

TomC


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Monday, August 07, 2006 7:04 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] RE: [UD] Program Cache Expiration - RESTATED

Does anyone know offhand how long a catalogued program will stay in cache
before it's expired and a new version loaded with Unidata?
 
-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
 
** Check out scheduled Connect! training courses at
http://www.PrecisOnline.com/train.html.
---
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] RE: [UD] Program Cache Expiration - RESTATED

2006-08-08 Thread Symeon Breen
In Unidata there is a NEWVERSION option on the CATALOG verb that is supposed
to push the program live to shared memory which i took to meaning that
already running processes would use. You can only do this if you are logged
in as root.

However i have tried this, and my uniobjects app still used the old version
of the code, untill it disconnected and connected again 

rgds
Symeon.

On 08/08/06, Cordes, Tom (contractor) [EMAIL PROTECTED] wrote:

 Kevin,

 If what you are asking is 'when is the latest version of a program is
 executed in UD?', my answer is immediately.

 The caveat is an older version seems to execute until the process that has
 been executing it expires or goes to ECL.

 If a program is executed in our menu system, the only way to reliably
 execute the latest version is exit  re-enter the menu.  If a program is
 executed by a phantom, the only way to reliably execute the latest version
 is to stop  re-start the phantom.

 If a program has been executed by a uniobjects slave process, only slave
 processes started after the latest version is catalogued are executing it.

 If I knew how to apply the 'NEWPCODE' command, maybe the stop/starts would
 not be necessary.

 TomC


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
 Sent: Monday, August 07, 2006 7:04 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] RE: [UD] Program Cache Expiration - RESTATED

 Does anyone know offhand how long a catalogued program will stay in cache
 before it's expired and a new version loaded with Unidata?

 -Kevin
 [EMAIL PROTECTED]
 http://www.PrecisOnline.com

 ** Check out scheduled Connect! training courses at
 http://www.PrecisOnline.com/train.html.
 ---
 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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] RE: [UD] Program Cache Expiration - RESTATED

2006-08-08 Thread Kevin King
If I knew how to apply the 'NEWPCODE' command, maybe the stop/starts
would not be necessary.

I agree with you about NEWPCODE, but I've not seen where NEWPCODE is
reliable depending on how something is catalogued. I guess what I'm
really trying to understand is whether the cache is a queue-based
cache (and things leave it when the queue gets full) or a time-based
cache (where things drop off at a predictable time).  I can't imagine
that everything stays in the cache until you logoff otherwise that
could take an excessive amount of memory per session.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
 
** Check out scheduled Connect! training courses at
http://www.PrecisOnline.com/train.html.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Installing UniObjects on Linux

2006-08-08 Thread gibboda
I am trying to install the UniDK on Linux.  My goal is to get UniObjects and
UniObjects for Java installed on a Linux Machine to be able to communicate
with a AIX system containing Unidata.  I have search the internet and found
several examples of using UniObjects but none on how to install the UniDK on
Linux.  Any resources is appriciated.

Thank you for your help.

DG
-- 
View this message in context: 
http://www.nabble.com/Installing-UniObjects-on-Linux-tf2073024.html#a5707633
Sent from the U2 - Users forum at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Input Mask

2006-08-08 Thread Brutzman, Bill
With an input statement, prompting from the keyboard, I cannot remember
how to show *** when a user is entering a password.

Suggestions would be appreciated.

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


[U2] Connection pooling with UniObjects for Java

2006-08-08 Thread Steven Tomcavage
I have a number of UniVerse subroutines that I'm accessing through a  
JSP / Java Bean combination using UniObjects for Java. This setup is  
running under Tomcat. Currently the Java Bean is getting a new  
connection to UniVerse for each request. I'd like to setup a  
connection pool in Tomcat for UniVerse connections, but I'm assuming  
I'll need a custom connection pooling class. Has anyone setup  
connection pooling with UniObjects for Java? If so, could you share  
your solution with me?

Thanks,

Steven

--
Steven Tomcavage
Hospital Systems Programmer
Matthew J. Ryan Veterinary Hospital
University of Pennsylvania
[EMAIL PROTECTED]
215-746-2447
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Connection pooling with UniObjects for Java

2006-08-08 Thread Brian Leach
Steven

I know some members of this list have done so (there being no other
options), but it is legally dubious (we had a long discussion on this some
months ago). 

If you can wait a couple of months, UniVerse 10.2 will be addressing this by
supporting a native connection pool with shared licencing as a part of UO,
or you might want to look at using the new web services that are coming in
at the same release.

Brian 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Steven Tomcavage
 Sent: 08 August 2006 16:13
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Connection pooling with UniObjects for Java
 
 I have a number of UniVerse subroutines that I'm accessing 
 through a JSP / Java Bean combination using UniObjects for 
 Java. This setup is running under Tomcat. Currently the Java 
 Bean is getting a new connection to UniVerse for each 
 request. I'd like to setup a connection pool in Tomcat for 
 UniVerse connections, but I'm assuming I'll need a custom 
 connection pooling class. Has anyone setup connection pooling 
 with UniObjects for Java? If so, could you share your 
 solution with me?
 
 Thanks,
 
 Steven
 
 --
 Steven Tomcavage
 Hospital Systems Programmer
 Matthew J. Ryan Veterinary Hospital
 University of Pennsylvania
 [EMAIL PROTECTED]
 215-746-2447
 ---
 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] Input Mask

2006-08-08 Thread Allen E. Elwood
Hi Bill,

This is what I use, written in mvBase. I think all that would need to be
changed for U2 would be the IN CH.VAL be changed to CH.VAL = SEQ(IN())
but have never tried it in U2...

This routine allows the person to use the backspace, and will instantly
abort if they hit the ESC key or type in .QUIT which is their 'get me out of
here' standard.

The client really liked it :-)

hth,

Allen E. Elwood
www.tortillafc.com
Quality Code Since 1978


  SUBROUTINE SUB.ENTER.PASSWORD(SUCCESS,PWORD,ROW,COLUMN,PASSCOUNT)
  * Written Allen E. Elwood 08/19/05
  * Will return a one in SUCCESS if password entered matches password in
PWORD
  * ROW and COLUMN determine the beginning of the phrase Enter Password : 
  * Set PASSCOUNT to the maximum number of tries before aborting
  *
  EQU BACKSPACE   TO 8
  EQU CARRIAGE.RETURN TO 13
  EQU ESC TO 27
  EQU SMALLESTTO 31
  EQU BIGGEST TO 127
  ECHO OFF
  *
  SAVE.COLUMN = COLUMN
  PCOUNT = 0
  STARTC = COLUMN
  LOOP
PVAL   = 
MSG= 'Enter Password : '
OFFSET = LEN(MSG)
COLUMN = STARTC
CRT @( COLUMN, ROW ):@(-3):MSG:
LOOP
  *   Bring in the ascii value of the character typed
  IN CH.VAL
  CH.IN = CHAR(CH.VAL)
  IF CH.VAL = ESC THEN
ESC.ENTERED = 1
EXIT
  END ELSE
ESC.ENTERED = 0
  END
  IF CH.VAL = CARRIAGE.RETURN THEN
EXIT
  END
  IF CH.VALSMALLEST AND CH.VALBIGGEST THEN
COLUMN+=1
CRT '*':
PVAL:=CH.IN
  END
  IF CH.VAL = BACKSPACE THEN
IF COLUMN  STARTC THEN
  COLUMN-=1
  PVAL = PVAL[1,LEN(PVAL)-1]
  CRT @(COLUMN+OFFSET, ROW):' '
  CRT @(COLUMN+OFFSET, ROW):
END
  END
REPEAT
CRT ''
IF (ESC.ENTERED) OR (PVAL = '.QUIT') THEN
  SUCCESS = 0
  ECHO ON
  COLUMN = SAVE.COLUMN
  RETURN
END
IF PVAL = PWORD THEN
  SUCCESS = 1
END ELSE
  SUCCESS = 0
END
IF SUCCESS = 1 THEN EXIT
PCOUNT += 1
IF PCOUNT = PASSCOUNT THEN
  CRT 'You have exceeded the maximum number of tries!':CHAR(7)
  SLEEP 3
  EXIT
END
CRT 'Invalid Password, try again!':CHAR(7)
SLEEP 3
  REPEAT
  ECHO ON
  COLUMN = SAVE.COLUMN
  RETURN

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
Sent: Tuesday, August 08, 2006 07:55
To: u2-users@listserver.u2ug.org
Subject: [U2] Input Mask


With an input statement, prompting from the keyboard, I cannot remember
how to show *** when a user is entering a password.

Suggestions 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Input Mask

2006-08-08 Thread Brian Leach
Allen

Looks good :)  

On UniVerse the equivalent is the KeyIn() function to get a single raw key. 
So Seq(KeyIn()) will do the same as your IN CH.VAL

Brian 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Allen E. Elwood
 Sent: 08 August 2006 17:03
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Input Mask
 
 Hi Bill,
 
 This is what I use, written in mvBase. I think all that would 
 need to be changed for U2 would be the IN CH.VAL be changed 
 to CH.VAL = SEQ(IN())
 but have never tried it in U2...
 
 This routine allows the person to use the backspace, and will 
 instantly abort if they hit the ESC key or type in .QUIT 
 which is their 'get me out of here' standard.
 
 The client really liked it :-)
 
 hth,
 
 Allen E. Elwood
 www.tortillafc.com
 Quality Code Since 1978
 
 
   SUBROUTINE SUB.ENTER.PASSWORD(SUCCESS,PWORD,ROW,COLUMN,PASSCOUNT)
   * Written Allen E. Elwood 08/19/05
   * Will return a one in SUCCESS if password entered matches 
 password in PWORD
   * ROW and COLUMN determine the beginning of the phrase 
 Enter Password : 
   * Set PASSCOUNT to the maximum number of tries before aborting
   *
   EQU BACKSPACE   TO 8
   EQU CARRIAGE.RETURN TO 13
   EQU ESC TO 27
   EQU SMALLESTTO 31
   EQU BIGGEST TO 127
   ECHO OFF
   *
   SAVE.COLUMN = COLUMN
   PCOUNT = 0
   STARTC = COLUMN
   LOOP
 PVAL   = 
 MSG= 'Enter Password : '
 OFFSET = LEN(MSG)
 COLUMN = STARTC
 CRT @( COLUMN, ROW ):@(-3):MSG:
 LOOP
   *   Bring in the ascii value of the character typed
   IN CH.VAL
   CH.IN = CHAR(CH.VAL)
   IF CH.VAL = ESC THEN
 ESC.ENTERED = 1
 EXIT
   END ELSE
 ESC.ENTERED = 0
   END
   IF CH.VAL = CARRIAGE.RETURN THEN
 EXIT
   END
   IF CH.VALSMALLEST AND CH.VALBIGGEST THEN
 COLUMN+=1
 CRT '*':
 PVAL:=CH.IN
   END
   IF CH.VAL = BACKSPACE THEN
 IF COLUMN  STARTC THEN
   COLUMN-=1
   PVAL = PVAL[1,LEN(PVAL)-1]
   CRT @(COLUMN+OFFSET, ROW):' '
   CRT @(COLUMN+OFFSET, ROW):
 END
   END
 REPEAT
 CRT ''
 IF (ESC.ENTERED) OR (PVAL = '.QUIT') THEN
   SUCCESS = 0
   ECHO ON
   COLUMN = SAVE.COLUMN
   RETURN
 END
 IF PVAL = PWORD THEN
   SUCCESS = 1
 END ELSE
   SUCCESS = 0
 END
 IF SUCCESS = 1 THEN EXIT
 PCOUNT += 1
 IF PCOUNT = PASSCOUNT THEN
   CRT 'You have exceeded the maximum number of tries!':CHAR(7)
   SLEEP 3
   EXIT
 END
 CRT 'Invalid Password, try again!':CHAR(7)
 SLEEP 3
   REPEAT
   ECHO ON
   COLUMN = SAVE.COLUMN
   RETURN
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
 Sent: Tuesday, August 08, 2006 07:55
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Input Mask
 
 
 With an input statement, prompting from the keyboard, I 
 cannot remember how to show *** when a user is entering a password.
 
 Suggestions 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/
 ---
 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] Connection pooling with UniObjects for Java

2006-08-08 Thread Steven Tomcavage
I'd like to setup the connection pool to restrict the number of  
simultaneous connections to be within our license. I'm rolling this  
application out in the next month or so, so I don't have the option  
of waiting.


--
Steven Tomcavage
Hospital Systems Programmer
Matthew J. Ryan Veterinary Hospital
University of Pennsylvania
[EMAIL PROTECTED]
215-746-2447


On Aug 8, 2006, at 11:40 AM, Brian Leach wrote:


Steven

I know some members of this list have done so (there being no other
options), but it is legally dubious (we had a long discussion on  
this some

months ago).

If you can wait a couple of months, UniVerse 10.2 will be  
addressing this by
supporting a native connection pool with shared licencing as a part  
of UO,
or you might want to look at using the new web services that are  
coming in

at the same release.

Brian


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steven Tomcavage
Sent: 08 August 2006 16:13
To: u2-users@listserver.u2ug.org
Subject: [U2] Connection pooling with UniObjects for Java

I have a number of UniVerse subroutines that I'm accessing
through a JSP / Java Bean combination using UniObjects for
Java. This setup is running under Tomcat. Currently the Java
Bean is getting a new connection to UniVerse for each
request. I'd like to setup a connection pool in Tomcat for
UniVerse connections, but I'm assuming I'll need a custom
connection pooling class. Has anyone setup connection pooling
with UniObjects for Java? If so, could you share your
solution with me?

Thanks,

Steven

--
Steven Tomcavage
Hospital Systems Programmer
Matthew J. Ryan Veterinary Hospital
University of Pennsylvania
[EMAIL PROTECTED]
215-746-2447
---
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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Input Mask

2006-08-08 Thread Brutzman, Bill
The answer to my own question is... the HUSH command.

Thanks for writing.  I wish that the turn-around time was faster.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Richard Brown
Sent: Tuesday, August 08, 2006 11:40 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Input Mask


ECHO OFF
INDATA = ''
LOOP
INPUT X,1:
UNTIL X = '' DO
INDATA := X
CRT '*':
REPEAT
ECHO ON

Richard Brown
- Original Message - 
From: Brutzman, Bill [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, August 08, 2006 10:54 AM
Subject: [U2] Input Mask


 With an input statement, prompting from the keyboard, I cannot remember
 how to show *** when a user is entering a password.
 
 Suggestions 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/
---
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] Unidata proc manual

2006-08-08 Thread u2
Has anyone ever seen a unidata proc manual? I can't find any reference,
other than some information on user exits

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Input Mask

2006-08-08 Thread Bob Woodward
Isn't that similar to the ECHO OFF/ON command in UV?

BobW
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Tuesday, August 08, 2006 9:38 AM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] Input Mask

The answer to my own question is... the HUSH command.

Thanks for writing.  I wish that the turn-around time was faster.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Richard Brown
Sent: Tuesday, August 08, 2006 11:40 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Input Mask


ECHO OFF
INDATA = ''
LOOP
INPUT X,1:
UNTIL X = '' DO
INDATA := X
CRT '*':
REPEAT
ECHO ON

Richard Brown
- Original Message - 
From: Brutzman, Bill [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, August 08, 2006 10:54 AM
Subject: [U2] Input Mask


 With an input statement, prompting from the keyboard, I cannot
remember
 how to show *** when a user is entering a password.
 
 Suggestions 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/
---
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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Installing UniObjects on Linux

2006-08-08 Thread Wendy Smoak

On 8/8/06, gibboda [EMAIL PROTECTED] wrote:

I am trying to install the UniDK on Linux.  My goal is to get UniObjects and
UniObjects for Java installed on a Linux Machine to be able to communicate
with a AIX system containing Unidata.  I have search the internet and found
several examples of using UniObjects but none on how to install the UniDK on
Linux.  Any resources is appriciated.


There are some old instructions on the wiki...

* http://www.pickwiki.com/cgi-bin/wiki.pl?Redhat8UD6PEInstallInfo
* http://www.pickwiki.com/cgi-bin/wiki.pl?RedhatUV10InstallInfo

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


[U2] List server problems?

2006-08-08 Thread Gordon J Glorfield
The list server seems to be sending multiple copies of the messages today. 
 Is there an issue there today?


Gordon J. Glorfield
Sr. Applications Developer
UnitedHealthcare's Mid-Atlantic Health Plans
301-360-8839


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Duplicate messages - Was: [U2] Input Mask

2006-08-08 Thread Jeff Schasny
I seem to be getting two of everything for the last few hours - Is it 
just me?


Allen E. Elwood wrote:

Hi Bill,

This is what I use, written in mvBase. I think all that would need to be
  

[Stuff Snipped]

--
===
Jeff Schasny | jschasnyATricochetDOTcom
===
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Repeated messages

2006-08-08 Thread JPB
Ditto.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Brown
Sent: Tuesday, August 08, 2006 12:33 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Repeated messages

Is anyone else having a problem receiving the same message multiple times?

Richard Brown
---
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] Repeated messages

2006-08-08 Thread Dianne Ackerman

Yes, yes, yes!
-Dianne

Richard Brown wrote:


Is anyone else having a problem receiving the same message multiple times?

Richard Brown
---
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: Duplicate messages - Was: [U2] Input Mask

2006-08-08 Thread Ron White

Jeff Schasny wrote:
I seem to be getting two of everything for the last few hours - Is it 
just me?


Allen E. Elwood wrote:

Hi Bill,

This is what I use, written in mvBase. I think all that would need to be
  

[Stuff Snipped]


Me too.

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


RE: [U2] Repeated messages

2006-08-08 Thread Bob Woodward
Happens every once in awhile.  Today seems to be about 25% of the
messages are duplicated.

BobW
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Brown
Sent: Tuesday, August 08, 2006 10:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Repeated messages

Is anyone else having a problem receiving the same message multiple
times?

Richard Brown
---
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] Installing UniObjects on Linux

2006-08-08 Thread JPB
I think, correct me if I'm wrong, that he is looking for a client edition
for Linux which I don't think is available.
Jerry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: Tuesday, August 08, 2006 12:34 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Installing UniObjects on Linux

On 8/8/06, gibboda [EMAIL PROTECTED] wrote:
 I am trying to install the UniDK on Linux.  My goal is to get UniObjects
and
 UniObjects for Java installed on a Linux Machine to be able to communicate
 with a AIX system containing Unidata.  I have search the internet and
found
 several examples of using UniObjects but none on how to install the UniDK
on
 Linux.  Any resources is appriciated.

There are some old instructions on the wiki...

 * http://www.pickwiki.com/cgi-bin/wiki.pl?Redhat8UD6PEInstallInfo
 * http://www.pickwiki.com/cgi-bin/wiki.pl?RedhatUV10InstallInfo

-- 
Wendy
---
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] UV SUSPEND.FILES command

2006-08-08 Thread Hennessey, Mark F.
A sister site wants to start taking snap shots of their data through out the 
on-line day.  I would think the procedure would be to:

1) SUSPEND.FILES ON or /.uvhome/bin/uv -admin -L
2) Execute a Solaris sync command to write out any pending stuff
3) Take snapshot
4) SUSPEND.FILES OFF or /.uvhome/bin/uv -admin -U

I frankly don't have the guts to try this on my production system, but on a 
test machine it with only four users and no phantoms running it took nearly a 
minute from issuing the uv -admin -U command to when a pending write was 
actually executed.

Do any of you take snapshots during the day like this?

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


Re: [U2] Installing UniObjects on Linux

2006-08-08 Thread Symeon Breen
As far as I was aware the actual unidk install is windows only, however you
can then grab the uojsdk directory and use what you need from there - the
class files are zipped in the lib directory etc...


rgds
Symeon.

On 08/08/06, Wendy Smoak [EMAIL PROTECTED] wrote:

 On 8/8/06, gibboda [EMAIL PROTECTED] wrote:
  I am trying to install the UniDK on Linux.  My goal is to get UniObjects
 and
  UniObjects for Java installed on a Linux Machine to be able to
 communicate
  with a AIX system containing Unidata.  I have search the internet and
 found
  several examples of using UniObjects but none on how to install the
 UniDK on
  Linux.  Any resources is appriciated.

 There are some old instructions on the wiki...

 * http://www.pickwiki.com/cgi-bin/wiki.pl?Redhat8UD6PEInstallInfo
 * http://www.pickwiki.com/cgi-bin/wiki.pl?RedhatUV10InstallInfo

 --
 Wendy
 ---
 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] Input Mask

2006-08-08 Thread Barry Brevik
Depending on the emulator, you need to be wary of multi-byte keycodes which are 
used for function keys and such.

These multi-byte keycodes will begin with either CHAR(2) or CHAR(27) (for 
example), but can be followed by what are otherwise printable characters. If 
you do not filter them, you will get garbage in your input string if a user 
presses one of those keys.

Here is a routine I use (UV with wIntegrate):
===
KEY.BUFR = ''
LOOP
  INPUTIF JUNK, -1 THEN
KEYCODE = SEQ(KEYIN())
*
* Check for multi-byte keycodes, such as from function keys, etc.
* In wIntegrate, multi-byte keycodes begin with 2 or 27 and can be
* anywhere from 2 to 5 bytes long. Enter sub loop to gobble up all
* of the bytes. Also, special-case the ENTER key to get an immediate escape.
IF KEYCODE EQ 2 OR KEYCODE EQ 10 OR KEYCODE EQ 27 THEN
  KEYSEQ = KEYCODE
  LOOP
INPUTIF JUNK, -1: ELSE EXIT
KEYSEQ := SEQ(KEYIN())
  REPEAT
  * If it is ENTER, then exit.
  IF KEYSEQ EQ 10 THEN EXIT
END ELSE
  * Determine if this is a printable character, and if so, 
  * add it to the prompt buffer, increment the buffer count
  * and exit if we have chars.
  IF BITXOR(128,BITAND(255,KEYCODE + 1)) GT 160 THEN
THIS.CHAR = CHAR(KEYCODE)
PRINT '*':
KEY.BUFR := THIS.CHAR
  END ELSE
* Otherwise, ignore the key, unless it is a BACKSPACE.
IF KEYCODE EQ 8 THEN
  PRINT CHAR(8):' ':CHAR(8):
  KEY.BUFR = KEY.BUFR[1, LEN(KEY.BUFR) -1]
END
  END
END
  END
  * Be sure to yield to the system.
  NAP 16
REPEAT
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Connection pooling with UniObjects for Java

2006-08-08 Thread Wendy Smoak

On 8/8/06, Steven Tomcavage [EMAIL PROTECTED] wrote:

I'd like to setup the connection pool to restrict the number of
simultaneous connections to be within our license. I'm rolling this
application out in the next month or so, so I don't have the option
of waiting.


Take a look at Jakarta Commons Pool: http://jakarta.apache.org/commons/pool/

That said, I considered object pooling way back when I started
developing with UOJ, and decided against it.  I haven't done any
profiling, but my feeling is that creating a connection is cheap
compared to opening files and reading records.

Trying to keep UniSessions connected, making sure they got cleaned up
properly, etc., was more trouble than it was worth.  I have a Factory
[1] that creates sessions, and I just close and discard them when I'm
done. YMMV -- my apps are not heavily used.

I'm now using the Spring framework, and letting it handle creating
sessions and injecting them into the objects that need them.

I'm also working on 'Spring UOJ' which (like Spring JDBC on which it's
based) uses the template method pattern to pull all of the exception
handling into the framework, and leave application code to concentrate
on calling subroutines and reading records.

Let me know if any of that sounds interesting...

[1] http://www.pickwiki.com/cgi-bin/wiki.pl?FailoverUniSessionFactory

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


Re: [U2] Installing UniObjects on Linux

2006-08-08 Thread Gordon J Glorfield
Wendy,

Those instructions are for installing the database itself.  Not the UniDK. 
 Is there a *nix version of the UniDK?  I don't think there is yet.

Gordon


Gordon J. Glorfield
Sr. Applications Developer
UnitedHealthcare's Mid-Atlantic Health Plans
301-360-8839

[EMAIL PROTECTED] wrote on 08/08/2006 01:33:41 PM:

 On 8/8/06, gibboda [EMAIL PROTECTED] wrote:
  I am trying to install the UniDK on Linux.  My goal is to get 
UniObjects and
  UniObjects for Java installed on a Linux Machine to be able to 
communicate
  with a AIX system containing Unidata.  I have search the internet and 
found
  several examples of using UniObjects but none on how to install the 
UniDK on
  Linux.  Any resources is appriciated.

 There are some old instructions on the wiki...

 * http://www.pickwiki.com/cgi-bin/wiki.pl?Redhat8UD6PEInstallInfo
 * http://www.pickwiki.com/cgi-bin/wiki.pl?RedhatUV10InstallInfo
 
 --
 Wendy
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Repeated messages

2006-08-08 Thread Hennessey, Mark F.
I'm not seeing any duplication...

However what I did see were 4 or 5 responses to Richard Brown's e-mail before I 
received Richard's e-mail... Ah, the miracle that is SMTP

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Woodward
Sent: Tuesday, August 08, 2006 2:04 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Repeated messages


Happens every once in awhile.  Today seems to be about 25% of the
messages are duplicated.

BobW
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Brown
Sent: Tuesday, August 08, 2006 10:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Repeated messages

Is anyone else having a problem receiving the same message multiple
times?

Richard Brown
---
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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Repeated messages

2006-08-08 Thread Allen E. Elwood
I'm getting 4, 5, and even 6 copies of some of the emails.  cRaZy !

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Hennessey, Mark
F.
Sent: Tuesday, August 08, 2006 12:12
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Repeated messages


I'm not seeing any duplication...

However what I did see were 4 or 5 responses to Richard Brown's e-mail
before I received Richard's e-mail... Ah, the miracle that is SMTP

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Woodward
Sent: Tuesday, August 08, 2006 2:04 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Repeated messages


Happens every once in awhile.  Today seems to be about 25% of the
messages are duplicated.

BobW


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Brown
Sent: Tuesday, August 08, 2006 10:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Repeated messages

Is anyone else having a problem receiving the same message multiple
times?

Richard Brown
---
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-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] Unidata proc manual

2006-08-08 Thread Karjala Koponen
I've never seen one.  I came from a Prime environment to UniData and, of
course, didn't have a clue how to interpret all the procs.  I finally
found the MicroData manuals from before the company's conversion to
UniData and used those.  Based on my experience, I'd guess that proc
manuals for other environments would generally work.  The trick, of
course, is knowing when a command or syntax is different or has
different results between UniData and the manual you have at hand.

I worked on building mechanisms that allowed me to use paragraphs and
other documented procedures in a proc environment.  Seemed to work.

Always thought that as procs are a (semi)supported environment that
UniData could have a manual that would allow a person to understand
procs.

Karjala


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 12:50 PM
To: U2
Subject: [U2] Unidata proc manual

Has anyone ever seen a unidata proc manual? I can't find any reference,
other than some information on user exits

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006
---
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] Basic Uniobjects for .NET Question

2006-08-08 Thread Patricia Wilson
Why do you have to have a session going to manipulate an array you have
already read in?  Why can't I read in

the array, close the connection,. Then manipulate the array (insert
command,etc) it without having a persistent connection, then if I NEED
to write

it back, I can reopen up a connection and write it back



Can someone explain the basics ?



Thanks!





Quick Guide - Out of Uniobjects  for .Net doc

The following code sample written in C# provides a quick guide for
software developers working in UniObjects for .NET.

using System;

using IBMU2.UODOTNET;

UniSession us1=null

try

{

us1=UniObjects.OpenSession(DENVER\\asmith,xxxi,localhost,

DEMO,UDCS);

//open customer file

UniFile fl=us1.CreateUniFile(customer);

//use UniDataSet

string[]sArray={2,3, 4};

UniDataSet uSet=fl.ReadRecords(sArray);

UniRecord q2=uSet[2];

string sq2=q2.ToString();

UniRecord q3=uSet[3];

string sq3=q3.ToString();

UniRecord q4=uSet[4]'

string sq4=q4.ToString();

//use UniCommand

UniCommand cmd=us1.CreateUniCommand();

cmd.Command=List VOC SAMPLE 10;

cmd.Execute();

string response_str=cmd.Response;

Console.WriteLine(Response from UniCommand:,response_str);




Code Samples for UniObjects for .NET 5-4 C:\Program
Files\Adobe\FrameMaker7.0\Universe



//test UniDynArray

UniDynArray pArray=us1.CreateUniDynArray(a);

pArray.Insert(1,b);

pArray.Insert(1,c);

pArray.Insert(1,d);

Console.WriteLine(Result from UniDynArray is:,pArray.ToString());

UniDynArray ur = pArray.Extract(2);

Console.WriteLine(Result from UniDynArray Extract is:,ur.ToString());

ur=pArray.Extract(3);

Console.WriteLine(Result from UniDynArray Extract is:,ur.ToString());

}

catch(Exception ex)

{

if(us1 !=null  us1.isActive)

{

UniObjects.CloseSession(us1);

us1=null

}

MessageBox.Show(ex.Message);

}

finally

{

if(us1 !=null  us1.IsActive)

{

UniObjects.CloseSession(us1);





Patricia M. Wilson

MIS Programmer

x 3095

813.635.3095

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


RE: [U2] Unidata proc manual

2006-08-08 Thread Allen E. Elwood
Well, anything you can do in Uniquery can be used in a proc, and they do
have the online Uniquery documentation.  I have not really seen any 'proc'
language per se as there really isn't one.  i.e., there are no commands that
only work in a proc *that I'm aware of*.

None of that buffer stuff, etc.  Just do the things in the exact same order
that you would do it at Uniquery and it just works like magic.  I was
actually quite happy when M2K went from Microdata to Unidata, as I got to
'forget' all the proc commands as they were no longer necessary.

However, I've dealt almost exclusively with Manage-2000 so there could be
other stuff that others are using that I'm unaware of.

hth!
Allen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Karjala Koponen
Sent: Tuesday, August 08, 2006 13:00
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Unidata proc manual


I've never seen one.  I came from a Prime environment to UniData and, of
course, didn't have a clue how to interpret all the procs.  I finally
found the MicroData manuals from before the company's conversion to
UniData and used those.  Based on my experience, I'd guess that proc
manuals for other environments would generally work.  The trick, of
course, is knowing when a command or syntax is different or has
different results between UniData and the manual you have at hand.

I worked on building mechanisms that allowed me to use paragraphs and
other documented procedures in a proc environment.  Seemed to work.

Always thought that as procs are a (semi)supported environment that
UniData could have a manual that would allow a person to understand
procs.

Karjala


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 12:50 PM
To: U2
Subject: [U2] Unidata proc manual

Has anyone ever seen a unidata proc manual? I can't find any reference,
other than some information on user exits

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006
---
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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV SUSPEND.FILES command

2006-08-08 Thread Stephen O'Neal
The method you are talking about is valid.  The fundamental problem you 
have is that the installation you are speaking about does not have enough 
disk drives underneath it to keep up with what you wish to do.

This problem may be exacerbated by the disk RAID the are using.  What is 
the RAID structure - 3, 5, or 10?  Is it a SAN?

Thanks,
   Steve

   Stephen M. O'Neal
   Lab Services Sales for U2
   IBM SWG Information Management Lab Services
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unidata proc manual

2006-08-08 Thread Kevin King
 Has anyone ever seen a unidata proc manual? 
 I can't find any reference, other than some information on user
exits

The Universe Proverb manual is actually pretty good and I would think
you would find significant similarity between it and Unidata's proc.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
 
** Check out scheduled Connect! training courses at
http://www.PrecisOnline.com/train.html.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Multiple messages

2006-08-08 Thread Richard Brown
It looks like abtech.edu is bouncing messages back to the list server.
Guess they should take a class.
Asheville-Buncombe Technical Community College

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


Re: [U2] UV SUSPEND.FILES command

2006-08-08 Thread Adrian Merrall

Mark,



Do any of you take snapshots during the day like this?


Yes but

1.  I'm on UD so apologies, this post is probably useless to you,
however the process is the same.

2.  Our process is sync, dbpause, sync, take snapshot, dbresume.
Total time is  2 seconds.  We take snapshots every 2 hours during the
day and the process is invisible to the users and has no system
impact.

4.  We are using linux commands to signal the EMC san to take the
snapshot rather than using o/s level snapshotting, although once we
get our last servers up to RHEL4, the snapshotting function in the
Linux LVM is something I'm keen to experiment with.

5.  The luxury of the san snapshotting is the server itself  is not
affected at all and depending on the san configuration, the snapshots
can be made persistent so they survive a power outage.  I'm going back
a few years now but iirc solaris snapshots were lost on a reboot.

HTH (comments above about different o/s and database not withstanding).

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


Re: [U2] Connection pooling with UniObjects for Java

2006-08-08 Thread Adrian Merrall

Steven,


Take a look at Jakarta Commons Pool: http://jakarta.apache.org/commons/pool/


As above, Uniobjects can be put in any generic pool but not a db pool
like jakarta dbcp.  This is specifically for pooling jdbc connections
although it uses commons pool to provide the pooling mechanism
underneath.

The standard way is to include a servlet in your webapp configured to
load in startup.  That has the pool and some syncronized accessor
methods to check in and out connections.

Once opon a time someone posted source code for a servlet based uoj
connections pool, maybe try the archives.  As Brian said, IBM are
rolling out their own pool in UOJ (this is included in ud7.1 but I
havn't played with it yet).


Trying to keep UniSessions connected, making sure they got cleaned up
properly, etc., was more trouble than it was worth.  I have a Factory
[1] that creates sessions, and I just close and discard them when I'm
done. YMMV -- my apps are not heavily used.


As Wendy says, there are a few gotcha's like what happens with
timeouts and other problems.  Having said that, we use something like
this and it works very well but make sure the process to stop tomcat,
clean up sessions, restart tomcat etc is well documented.

We have a cron process to access the sessions and do something simple
every so often to keep them alive but a cleaner way would be to have
the servlet managing your pool do this itself using quartz.

HTH

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


RE: [U2] Repeated messages

2006-08-08 Thread David Jordan
The issue does not appear to be with the list server as it is not consistent
to everyone using the list.  It is likely a virus or DOS attack or some
other issue is effecting some ISPs and the duplication is relating to the
handshake process timing out, where the sender thinks the receiver has not
received the email so it sends it again.

David Jordan
Managing Consultant
 
[EMAIL PROTECTED]
Mobile: 0428 669 730

 
 
www.dacono.com.au
 
PO Box 909
Lane Cove
NSW 2066
Australia
 
Phn: 61 2 9418 8329
Fax: 61 2 9427 2371
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
Sent: Wednesday, 9 August 2006 4:04 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Repeated messages

Happens every once in awhile.  Today seems to be about 25% of the
messages are duplicated.

BobW
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Brown
Sent: Tuesday, August 08, 2006 10:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Repeated messages

Is anyone else having a problem receiving the same message multiple
times?

Richard Brown
---
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-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-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] Basic Uniobjects for .NET Question

2006-08-08 Thread george r smith
Patricia,

I had the same question about a year ago - the answer is that is the way IBM
wrote it, so you have to be connected while you manipulate an array and any
of the other Uniobject .Net functions.

What I did was bring your array in, immediately create a dataset or an other
.Net data container and then close the connection.

george

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] On Behalf Of Patricia Wilson
 Sent: Tuesday, August 08, 2006 3:22 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Basic Uniobjects for .NET Question
 
 Why do you have to have a session going to manipulate an array you have
 already read in?  Why can't I read in
 
 the array, close the connection,. Then manipulate the array (insert
 command,etc) it without having a persistent connection, then if I NEED
 to write
 
 it back, I can reopen up a connection and write it back
 
 
 
 Can someone explain the basics ?
 
 
 
 Thanks!
 
 
 
 
 
 Quick Guide - Out of Uniobjects  for .Net doc
 
 The following code sample written in C# provides a quick guide for
 software developers working in UniObjects for .NET.
 
 using System;
 
 using IBMU2.UODOTNET;
 
 UniSession us1=null
 
 try
 
 {
 
 us1=UniObjects.OpenSession(DENVER\\asmith,xxxi,localhost,
 
 DEMO,UDCS);
 
 //open customer file
 
 UniFile fl=us1.CreateUniFile(customer);
 
 //use UniDataSet
 
 string[]sArray={2,3, 4};
 
 UniDataSet uSet=fl.ReadRecords(sArray);
 
 UniRecord q2=uSet[2];
 
 string sq2=q2.ToString();
 
 UniRecord q3=uSet[3];
 
 string sq3=q3.ToString();
 
 UniRecord q4=uSet[4]'
 
 string sq4=q4.ToString();
 
 //use UniCommand
 
 UniCommand cmd=us1.CreateUniCommand();
 
 cmd.Command=List VOC SAMPLE 10;
 
 cmd.Execute();
 
 string response_str=cmd.Response;
 
 Console.WriteLine(Response from UniCommand:,response_str);
 
 
 
 
 Code Samples for UniObjects for .NET 5-4 C:\Program
 Files\Adobe\FrameMaker7.0\Universe
 
 
 
 //test UniDynArray
 
 UniDynArray pArray=us1.CreateUniDynArray(a);
 
 pArray.Insert(1,b);
 
 pArray.Insert(1,c);
 
 pArray.Insert(1,d);
 
 Console.WriteLine(Result from UniDynArray is:,pArray.ToString());
 
 UniDynArray ur = pArray.Extract(2);
 
 Console.WriteLine(Result from UniDynArray Extract is:,ur.ToString());
 
 ur=pArray.Extract(3);
 
 Console.WriteLine(Result from UniDynArray Extract is:,ur.ToString());
 
 }
 
 catch(Exception ex)
 
 {
 
 if(us1 !=null  us1.isActive)
 
 {
 
 UniObjects.CloseSession(us1);
 
 us1=null
 
 }
 
 MessageBox.Show(ex.Message);
 
 }
 
 finally
 
 {
 
 if(us1 !=null  us1.IsActive)
 
 {
 
 UniObjects.CloseSession(us1);
 
 
 
 
 
 Patricia M. Wilson
 
 MIS Programmer
 
 x 3095
 
 813.635.3095
 
 [EMAIL PROTECTED]
 ---
 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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/