[U2] Identifying UD files

2006-01-25 Thread Adam Eccleshall
Hi, Is it possible from inside a UniBasic program to identify whether or not a VOC pointer points to a valid UniData file? Currently, I have a routine which OSOPENs and reads from the file and compares certain bytes at the beginning of the file which appeared consistent in my initial checks,

Re: [U2] UV: Other ways of replicating?

2006-01-25 Thread Symeon Breen
Ken - the nightmare was in the time and effort to get it setup for 100+ accounts and 1000 users. Once done it did work, tho they did have the odd hickup. On 1/19/06, Ken Wallis <[EMAIL PROTECTED]> wrote: > > Symeon Breen wrote: > > > > I know some people who did the transaction logging and replay

Re: [U2] Hypothetical question about switching server frontends to SAN w/o reinstalling Universe

2006-01-25 Thread Peter Ivanick
Thanks very much, Mike, I'll probably give that a shot myself just to see what happens. Mike Pflugfelder wrote: The licensing and the files / pointers that you mentioned earlier were the only issues that we encountered. Once all of that was taken care of, it's very simple to just move the 'app

Re: [U2] Java Platform Struggles

2006-01-25 Thread Peter Ivanick
Is there anyway to pool these such that we're not eating up license seats? We're just moving into this area ourselves. [EMAIL PROTECTED] wrote: Hi Kathy, If you are on Unix, I believe each database connection spawns a separate process, with uvapi_slave in the command. So you could just do a p

RE: [U2] Identifying UD files

2006-01-25 Thread David A. Green
Adam, I just use the OPEN command with the THEN / ELSE clause. Thanks, David A. Green DAG Consulting -Original Message- Is it possible from inside a UniBasic program to identify whether or not a VOC pointer points to a valid UniData file? --- u2-users mailing list u2-users@listserv

RE: [U2] Hypothetical question about switching server frontends to SAN w/o reinstalling Universe

2006-01-25 Thread Mike Pflugfelder
If you do, I'd love to hear how it works out for you, either on list or off. -Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Ivanick Sent: Wednesday, January 25, 2006 8:36 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Hypothetical que

RE: [U2] Identifying UD files

2006-01-25 Thread colin.alfke
We have a program that simply opens the file. If it's not valid it takes the ELSE clause. Hth Colin Alfke Calgary, Canada >-Original Message- >From: Adam Eccleshall > >Hi, > >Is it possible from inside a UniBasic program to identify >whether or not a VOC pointer points to a valid UniDat

Re: [U2] Java Platform Struggles

2006-01-25 Thread Gordon J Glorfield
That's what RedBack is for. You might look into it. Gordon J. Glorfield Sr. Applications Developer MAMSI (A UnitedHealth Company) 301-360-8839 [EMAIL PROTECTED] wrote on 01/25/2006 08:36:52 AM: > Is there anyway to pool these such that we're not eating up license > seats? We're just moving int

Re: [U2] Java Platform Struggles

2006-01-25 Thread Wendy Smoak
On 1/24/06, Vance, Kathy <[EMAIL PROTECTED]> wrote: > You guys have lots of experience on using UniObjects. May I ask "How do > you manage the DB connection with UniObjects? How could I check the > number of DB connections in UniVerse while a web based Java app is > running?" Guessing that you me

Re: [U2] Java Platform Struggles

2006-01-25 Thread safwat boulos
The U2 engineering has, and continues to, create tools and APIs to support UniVerse/UniData databases integration to the industry emerging technologies and frameworks such as J2EE, Web Services, SOA, XML etc. Realizing the need for the U2 community, who are not experienced in Java or J2EE,

[U2] Java JRE/JDK

2006-01-25 Thread Brutzman, Bill
Without X-Windows, it appears that the HP-Ux JRE/JDK cannot be installed. Thus, it seems that JRE/JDK is a tool... strictly for the well-to-do... and those of us with legacy workstations... otherwise gathering dust in the corners. --Bill --- u2-users mailing list u2-users@listserver.u2ug.org

[U2] eval question

2006-01-25 Thread Jeff Powell
I am trying to use eval to format a response from a uniquery list. This works if I use dictionary items but for some attribute there either is not a dictionary or it is pointing to an incorrect attribute. How can I use an attribute directly? Hypothetical Dictionary Example: list thisfile eval "p

RE: [U2] eval question

2006-01-25 Thread Pingilley, Ron
Jeff, For the "something.else" use @RECORD. You could even use OCONV(@RECORD,"correlative") if the something.else requires formatting before being added to the output string. list thisfile eval "prod.num:'|':pck.qty:'|':@RECORD<###>" fmt "255l" -OR- list thisfile eval "prod.num:'|':pc

Re: [U2] Hypothetical question about switching server frontends to SAN w/o reinstalling Universe

2006-01-25 Thread Peter Ivanick
*Extremely* preliminary testing indicates no problems moving from a X86_64 based SunV20z to an x86 based IBM x345, and from the RH 64 bit OS to the 32 bit OS, works fine. I'm not going to be able to do any testing further in depth because we need to reallocate the qlogic cards, unfortunately, b

RE: [U2] eval question

2006-01-25 Thread colin.alfke
You can use any expression valid in a virtual attribute. So: list thisfile eval "EXTRACT(@RECORD,40,0,0):'|':EXTRACT(@RECORD,53,0,0):'|':EXTRACT(@RECORD ,<>,0,0)" In this case the <> will prompt you for the attribute number to use Hth Colin Alfke Calgary, Alberta >-Original Message

Re: [U2] eval question

2006-01-25 Thread Symeon Breen
use EVAL "@RECORD<40> | @RECORD<53>" etc basicaly anything you can use in an I type dict item, tho there are restrictions I believe on number of levels. On 1/25/06, Jeff Powell <[EMAIL PROTECTED]> wrote: > I am trying to use eval to format a response from a uniquery list. This > works

[U2] PROC question

2006-01-25 Thread Bob Woodward
Hi folks, Maybe I'm just missing the finer points of PROC processing. I've got a MENU proc that's structured like this: PQ 10 C Top of Main Menu OA number of lines that display the available menu choices ... OEnter choice + IP: IF # A X IF A = 1 [PROD.PL PROG1.PROC IF A = 1 G 10 ... IF A = 99 [P

RE: [U2] PROC question

2006-01-25 Thread Baker Hughes
Bob, This is from memory, so I trust someone will affirm/correct my prognosis, but isn't the PIB (primary input buffer) cleared when you execute the program. So when you return, A (or answer, A1 assumed) is now null? -Baker >My problem is when I come back from one of the PROGxx.PROC's, I'm not g

RE: [U2] PROC question

2006-01-25 Thread Pingilley, Ron
Bob, Does the called PROC have an "RI" in it by any chance? That would clear the input buffers and leave nothing for the original PROC to use in the "IF A" statement. --Ron P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: We

Re: [U2] PROC question

2006-01-25 Thread Dianne Ackerman
Something in the far reaches of my mind tells me that you need to do something like use a left paren instead of a bracket, like IF A = 1 (PROD.PL PROG1.PROC Can't try it right now to verify, though, sorry! -Dianne Bob Woodward wrote: Hi folks, Maybe I'm just missing the finer points of PROC

RE: [U2] eval question

2006-01-25 Thread Jeff Powell
Colin, This worked perfectly. Thanks, > You can use any expression valid in a virtual attribute. So: > > list thisfile eval > "EXTRACT(@RECORD,40,0,0):'|':EXTRACT(@RECORD,53,0,0):'|':EXTRACT(@RECORD > ,<>,0,0)" --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please vi

Re: [U2] PROC question

2006-01-25 Thread Glenn Herbert
If this is for universe, the problem here stems from the fact that your [PROD.xx procs are stomping all over the buffers of the main menu proc. There's not really much you can do about that, but you could modify your main proc slightly as follows: 0001: PQ 002 F-OPEN 1 VOC 003 XNO VOC 004 10 C

RE: [U2] PROC question

2006-01-25 Thread Mark Eastwood
Two thoughts, 1) Change the "IF A =" to "IF A1 =", i.e. specify the input buffer. 2) Are any of the PROGxx.PROC doing an RI? This will clear the input buffer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Wednesday, January 25, 2006

Re: [U2] PROC question

2006-01-25 Thread Susan Lynch
Bob, If A1 gets overwritten in PROD.PL PROG1.PROC, then it won't be 1 when you come back to the menu proc. Are you being careful to preserve the value in A1 when you are in the called proc? Susan M. Lynch F.W. Davison & Company, Inc. (781) 340-9255Support fax # (508) 437-0093 Confidenti

RE: [U2] PROC question

2006-01-25 Thread Glenn Herbert
[EMAIL PROTECTED] wrote on 01/25/2006 04:10:18 PM: > 2) Are any of the PROGxx.PROC doing an RI? This will clear the input > buffer. Doesn't matter. The simple fact of using '[' to initiate the subroutine PROC was enough to cause the automatic clearing of the buffers. And using '(' will cause t

Re: [U2] PROC question

2006-01-25 Thread John Hester
Bob Woodward wrote: Maybe I'm just missing the finer points of PROC processing. I've got a MENU proc that's structured like this: PQ 10 C Top of Main Menu OA number of lines that display the available menu choices ... OEnter choice + IP: IF # A X IF A = 1 [PROD.PL PROG1.PROC IF A = 1 G 10 ... I

RE: [U2] Identifying UD files

2006-01-25 Thread Chuck Mongiovi
> which OSOPENs and reads from the file and compares certain bytes at the > beginning of the file which appeared consistent in my initial checks, > however some valid files don't match this pattern. Are there any more A year or so back, someone posted the /etc/magic settings for UV files, but

RE: [U2] PROC question

2006-01-25 Thread Bob Woodward
As always, the top quality abilities of the folks on this list keep me in awe. My major flaw was in the assumption that PROC processing is like PROGRAM processing. I now know that there is only one set of buffers, period. Next were the good suggestions on how to properly accomplish what I was wan

RE: [U2] PROC question

2006-01-25 Thread Bill Haskett
Bob: Since the PROC buffer is getting trashed by the called PROC change the menu PROC to a more suitable format like: PQ 10 C Top of Main Menu RI RO OA number of lines that display the available menu choices ... OEnter choice + IP: IF # A X IF A = 1 GO 100 ... IF A = 99 GO 990 O O That is not a v

[U2] [UV] Maximum heading length

2006-01-25 Thread phil walker
Is there a maximum length that the contents of the variable in a HEADING ON printer_no heading_variable BASIC statement. I have a variable containing multiple lines of heading, separated by 'L' and the output seems to have an extra carriage return line feed at around 1000 characters. I am wonde

[U2] Knowledgebase access

2006-01-25 Thread phil walker
Has anyone heard, if and when people who do not have their maintenance directly with IBM will have access to the U2 knowledgebase? Does anyone else find it utterly frustrating that you cannot see articles in their pertaining to U2, such as how-tos etc? It does not do any favours when looking at d

RE: [U2] Knowledgebase access

2006-01-25 Thread Logan, David (SST - Adelaide)
Hi Phil, We looked at this a while ago and asked the question. The response is to "use the clients licence to access the knowledgebase". We provide support for a number of u2 sites but cannot get any direct access. This tends to make it difficult for call logging etc. however to give IBM their due

[U2] [AD] [UPDATED] UniVerse Developer

2006-01-25 Thread Brian Whitehorn
UPDATED: OUTsurance is a dynamic company that runs world-class in-house IT systems and uses state of the art technologies. We are one of the largest users of Universe technologies in South Africa. Job Requirements: We require an individual with at least 6 years of UNIVERSE DATABASE experience