[U2] AUTO: Asvin DATTANI is out of the office (returning 01/05/2012)

2012-03-28 Thread asvin . dattani
I am out of the office until 01/05/2012. Note: This is an automated response to your message Re: [U2] Job at Rocket in Denver sent on 28/3/2012 18:48:49. This is the only notification you will receive while this person is away. - SAVE PAPER - THINK

[U2] AUTO: Asvin DATTANI is out of the office (returning 16/01/2012)

2011-12-22 Thread asvin . dattani
I am out of the office until 16/01/2012. I will then be out of the country until 30/01/2012, but will be contactable by telephone, email and sametime. Note: This is an automated response to your message Re: [U2] Corrupted compiled code sent on 22/12/2011 19:59:16. This is the only

[U2] MQI on Universe 11

2011-11-22 Thread asvin . dattani
Hi, Is anybody using the MQI interface in Universe 11 to connect to MQ? We currently use the AMI interface on Universe 10.3 but will have to move to MQI at some stage. If you are using MQI, any information, tips, gotcha's, or description of problems encountered would be very welcome

Re: [U2] Dynamic Connect TimeOut

2011-11-17 Thread asvin . dattani
Hi, Have you checked the AUTOLOGOUT setting? AUTOLOGOUT Use AUTOLOGOUT to enable or disable automatic logout. With AUTOLOGOUT enabled, UniVerse logs you out automatically if you have not pressed a key within a specified time. SYNTAX AUTOLOGOUT [time]

Re: [U2] Avoiding deadly embraces

2011-10-27 Thread asvin . dattani
To Asvin, you cannot set locks in the same sequence every time. This is because, in a sufficiently complex system you will have changes to Customer's possibly affecting Orders, Inventory, Payables... You can then have changes to Inventory possibly affecting Orders, Customers,

[U2] Avoiding deadly embraces (was Re: [UV] LIST.READU EVERY's waiters when there are writes w/o explicit readu.)

2011-10-26 Thread asvin . dattani
Hi, You can avoid a deadly embrace if you can arrange it so that all processes lock related tables/files in the same sequence. Take the example of a system with a CUSTOMER file, a ORDER HEADER file and an ORDER DETAILS file. If some processes lock the ORDER HEADER file first and the CUSTOMER

Re: [U2] Sending interrupt to UniBasic program

2010-08-10 Thread asvin . dattani
Hi Bradley, We run everything under screen, batch processes (like you describe) and interactive terminal sessions. We dont have the problems that you are describing, and can break whenever we need to. But we are using UV and that may be better at handling break then udt. How are you invoking

Re: [U2] UV Memory issues

2010-06-09 Thread asvin . dattani
I too would suspect disk issues. We had exactly the same symptoms on our HP UX Universe installation, and tracked it down (eventually) to disk issues caused by problems with a Veritas replication link which copied data from the live server to an offsite DR server... Symeon Breen

Re: [U2] Universe and stripped drives

2010-04-29 Thread asvin . dattani
We use snapshots to perform a backup as well. We do a dbpause/SUSPEND.FILES ON and a Unix sync() to flush the buffers to disk before creating a snapshot. Once the snapshot is created, you can then do a dbresume (is that the right verb - long time since I worked on ud) or SUSPEND.FILES OFF.

Re: [U2] Using JDBC on Unidata 7.1 on HPUX

2010-03-22 Thread asvin . dattani
Hi, We use JDBC to talk to a Microsofot SQL server database, and have used it to talk to Sybase in the past. You need the JDBC driver for the database that you are talking to (we use jTDS for the SQL Server database). Then you will need some java code to read/write to the SQL database and

Re: [U2] File corrupt

2009-11-09 Thread asvin . dattani
Hi Robert, As I see it you have three choices: 1. Move old inactive records to an archive file. If you move enough, you should avoid the 2gb limit. Of course, the records you move will no longer be available to the normal programs and you may hit referential integrity problems - so this is

Re: [U2] Connecting to a Universe Database

2009-08-17 Thread asvin . dattani
another option is to use JDBC - this involves getting a JDBC driver for the target system (widely and freely available) and writing some fairly simple java code which uses Uniobjects to connect to the Universe database and the JDBC driver to talk to the SQL database.. cheers, asvin John

Re: [U2] Dimensioned Array Question

2009-06-01 Thread asvin . dattani
INMAT(array) works on Universe too. If you cant get it to work, you could try MATPARSE. cheers, asvin u2-users-boun...@listserver.u2ug.org wrote on 01/06/2009 16:08:03: Edward Brown ebr...@civica.co.uk Sent by: u2-users-boun...@listserver.u2ug.org Jun 01 2009 16:08 Mail Size:

Re: [U2] Any limitation in UniVerse decimal places

2009-05-07 Thread asvin . dattani
Hi, Th String maths routines (SDIV, SMULT etc) that Martin alludes to at the bottom of his post are very effective, but do require code changes to all the calcuations in the program. You can achieve the same effect in Universe by putting $OPTIONS STRING.MATH at the top of the program.

Re: [U2] A-correlative explanation

2008-11-05 Thread asvin . dattani
Perhaps: IF 0 ATT5 OR ATT6 '' THEN ATT5 ELSE 0 because I believe the correlative can be read as: ((C0 5) OR ( 6) + C0) * 5 and to think that I actually used to enjoy reverse polish once upon a time... [EMAIL PROTECTED] wrote on 05/11/2008 17:23:27: A coworker asked me if I could help

Re: [U2] Too many users

2008-02-11 Thread asvin . dattani
Hi Dennis, Replies embedded below... [EMAIL PROTECTED] wrote on 11/02/2008 10:54:07: (1) I have too many users + phantoms logging on and we have run out of licences. Is there a utility out there that monitors this? uvlictool [-clean] I think you need to be superuser to use the -clean

Re: [U2] Problems with disconnects - telnet

2008-01-23 Thread asvin . dattani
Hi Gabe, We are using screen (version 4.0.2) on Unix to ensure that we have no disconnected sessions. We are only using it on our development machine for the moment but intend to roll it out to production pretty soon. In the unix profile for the user we check to see if there is any active

Re: [U2] Dynamic Connect keyboard definitions

2008-01-23 Thread asvin . dattani
I have had issues with Dynamic Connect where if you change anything else on the setup and save it, it seems to revert to the default keyboard file. [EMAIL PROTECTED] wrote on 22/01/2008 16:30:50: I am trying to save keyboard definitions from one session to the next. Mainly the keypad. The

RE: [U2] sigh phantom ?

2007-12-13 Thread asvin . dattani
Just to amplify, the hex number is the instruction counter. It can be translated to the Basic source line number by doing a VLIST on the basic program. It can be an incredibly useful piece of information. [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/12/2007 19:57 Mail Size: 5323

Re: [U2] Unable to Create A Pipe

2007-10-25 Thread asvin . dattani
Hi Bill, We came across something like this sometime ago. The error message is caused by entries being left in the uvtemp directory, but that is just a symptom. In reality, the problem is that a phantom or background process that opens a file and then executes another process seems to corrupt

[U2] CN=Asvin DATTANI/OU=IBEU/O=HSBC is out of the office.

2007-10-03 Thread asvin . dattani
I will be out of the office starting 03/10/2007 and will not return until 22/10/2007. - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be

RE: [U2] UniVerse and Shadow copy on Windows 2003

2007-09-18 Thread asvin . dattani
One way is to use the GNU screen software that was mentioned some time ago. This allows another user to adopt other users sessions and take them over, like TANDEM should (but TANDEM doesnt seem to work reliably on HPUX). Then it is simply a question of firing the various quit commands that

[U2] CN=Asvin DATTANI/OU=IBEU/O=HSBC is out of the office.

2007-08-24 Thread asvin . dattani
I will be out of the office starting 24/08/2007 and will not return until 03/09/2007. - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be

Re: [U2] Serious problem with open files

2007-08-08 Thread asvin . dattani
Hi John, I do not know about your second issue, but we have had the first issue using Universe on HP UX. In our case, it was one program opening and clearing a file (using CLEARFILE) and then executing another program as a phantom. The Unix process for the second program inherits file handle

[U2] CN=Asvin DATTANI/OU=IBEU/O=HSBC is out of the office.

2007-05-11 Thread asvin . dattani
I will be out of the office starting 11/05/2007 and will not return until 12/05/2007. - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be

Re: [U2] Users of UniVerse

2007-04-30 Thread asvin . dattani
HSBC in their investment banking division have been using Universe or it's predecessors for the last 20 odd years and look likely to do so for the next twenty .. Liesse, Dave [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 27/04/2007 14:28 Mail Size: 4842 Please respond to

Re: [U2] [UV] Help PORT.STATUS broken

2006-10-03 Thread asvin . dattani
Sorry, that should be UNLOCK PSTATLOCK to unlock it [EMAIL PROTECTED] 03/10/2006 17:19 Mail Size: 6261 Please respond to u2-users@listserver.u2ug.org To u2-users@listserver.u2ug.org cc Subject Re: [U2] [UV] Help PORT.STATUS broken Entity Investment Banking Europe - IBEU Its the

Re: [U2] UV - Distributed files

2006-05-18 Thread asvin . dattani
Hi Jerry, Actually, I know about multi-data files too... I used to use them on Pick R83, to simulate what Universe later implemented much more cleanly as distributed files. Part numbers dont have to be sequential and dont have to start at 1 ( I didnt know that until I was told quite

RE: [U2] Multiple Data Files

2006-05-18 Thread asvin . dattani
Hi Charles, I am an old pickie, but you're right in saying that I am not familiar with the Multiple data files construct in Universe. I have used multiple data files in Pick, but that was very simple concept. This on the other hand, looks a bit contrived, but I can see what it's trying to

RE: [U2] Multiple Data Files

2006-05-17 Thread asvin . dattani
I suspect that the Ron is talking about distributed files.. Ron - this is a mechanism where you can split the data over several individual part files, but still be able to see it all together as one logical file. This means that you can open the file as a whole, and read records or select

Re: [U2] Runtime errors

2006-05-02 Thread asvin . dattani
HI Dave, Probably no use to you because I note that you are running Unidata, but on Universe there is file in the Universe install directory called errlog. This logs all these run time errors. It's been some years since I worked on Unidata, but I do vaguely recall a similar file there...

Re: [U2] [uv] PORT.STATUS detail

2006-04-10 Thread asvin . dattani
Hi Brian, That is the hex instruction code address. You can see which line of code it is by doing a VLIST on the program. cheers, asvin Brian Grayson [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/04/2006 16:03 Mail Size: 4351 To U2-Users@listserver.u2ug.org U2-Users@listserver.u2ug.org

Re: [U2] Universe: Version and serial number

2006-02-27 Thread asvin . dattani
CONFIG ALL from TCL [EMAIL PROTECTED] wrote on 27/02/2006 18:10:30: How do I get version and serial number from a UniVerse AIX installation? I am drawing a blank here. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Access IBM Knowledge base

2006-02-23 Thread asvin . dattani
My apologies - I replied to the wrong message last night [EMAIL PROTECTED] wrote on 22/02/2006 21:27:35: You've gone very quiet * HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom Registered in England - Number 14259

Re: [U2] Access IBM Knowledge base

2006-02-22 Thread asvin . dattani
You've gone very quiet * HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom Registered in England - Number 14259 Authorised and Regulated by the Financial Services Authority * From: owner-u2-users

Re: [U2] UV: Tru64 to Solaris

2006-02-16 Thread asvin . dattani
Hi Gordon, Actually, as other posters have mentioned, 64 bit files allow for file sizes much larger than 2gb. However, there was a bug in Universe 9.6.x which in effect limited 64 bit files to 2gb. This was fixed on subsequent releases, but if the 64 bit file was created on 9.6, then it will

RE: [U2] DATE conversion problem

2006-01-11 Thread asvin . dattani
Hi, Universe defaults to American style date format. To get round this, I explicitly set european date format when I create the session object: sess.command(DATE.FORMAT ON) where sess is the session object. hth, cheers, asvin [EMAIL PROTECTED] wrote on 11/01/2006 11:08:40: REPOSTED FOR

Re: [U2][UV] Aborted Shutdown

2005-12-05 Thread asvin . dattani
Hi Michael, Hardly a guru, but fwiw I think the problem is likely to be a user process that has not completely died. When Universe starts, it creates a shared memory segment for its own use. As users login, a shared memory segment is created for each user. When the user logs off, the shared

Memo: Re: [U2] UV: 64 bit files

2005-09-08 Thread asvin . dattani
Hi Mark, We use 64 bit files extensively for large files. The only drawback that we have found is that the Unix size of the file increases when you convert from 32 bit to 64 bit (because of larger forward and backward pointers). Theoretically, if you have a large number of very small records the

Memo: Re: [U2] Universe editor Help for ^ character

2005-07-15 Thread asvin . dattani
Hi Pankaj, Type in ^ and return. The editor will display ^ mode off or similar. You should then be able to type the strings you want. The ^ mode is there to allow you to enter control characters, for example ^253 for a value mark. It defaults to on, but you can toggle it on and off by pressing ^

Memo: Re: [U2] PRINTER memory segment removed

2005-06-20 Thread asvin . dattani
Hi Ang, You get the message Printer Segment Removed if you invoke universe when already running universe as another user. I usually get this message when I sh out to the shell from the Universe command language prompt, su to another user code, and then invoke universe by using the uv cmd from

Memo: RE: [U2] Source code question

2005-06-06 Thread asvin . dattani
I'd also wonder about port-specific usage. I believe I worked on a Unix box a while back where they mapped the ports so that every time a person logged in they got the same port number. Don't ask me exactly how they did this. HP-UX has a facility called DDFA. It is meant to be used in

Memo: Re: [U2] VOC Out-Of-Date Error Message

2005-05-05 Thread asvin . dattani
Hi Bill, Updating the VOC in each is part of the process when upgrading Universe versions. This involve copying VOC entries from the NEWACC file in the UV account to the VOC in each user account. If there is already an entry in the user account VOC with the same ID but of a different type (e.g.

Re: [U2] Extending U2 with gci/CALLC -- Factory Floor Automation - Serial Connectivity ?

2005-04-11 Thread asvin . dattani
We use gci and have done so for many year. The only gotcha is that the file handles opened by the C routines count towards the Universe mfiles limit * HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom Registered in England - Number

Memo: Re: [U2] Uv Error

2005-02-17 Thread asvin . dattani
Hi Rudy, this is a real mystery then. Donning deer stalker hat and smoking pipe We had a problem once with the number of open files in the rotating file pool getting confused. As you probably know, you can open many more files in a Universe program then the os allows. Universe will only keep

Memo: Re: [U2] [UV]Unable to get process lock semaphore

2005-02-17 Thread asvin . dattani
Hi Marco, analyze.shm -s at the os level will give you a list of active semaphores. That should show you which semaphore is set. The use the UNLOCK with the SEMAPHORE key word to release it. Do HELP UNLOCK to get more details... hth Marco Manyevere [EMAIL PROTECTED] on 17 Feb 2005 10:56

Memo: Re: [U2] Uv Error

2005-02-16 Thread asvin . dattani
Hi Rudy, Doesnt look like a UV message. Do you have the source of the program? It would be useful to know what line 8 is. Have you ruled out a backup locking the file? Cooper, Rudy [EMAIL PROTECTED] on 15 Feb 2005 21:31 Please respond to u2-users@listserver.u2ug.org Sent by:[EMAIL

Memo: Re: [U2] UV - GROUP.STAT.DETAIL

2005-02-03 Thread asvin . dattani
Hi Carolina, You could use the RECORD command... RECORD filename itemname will display the group that item hashes to. hth Carolina Lizama [EMAIL PROTECTED] on 03 Feb 2005 13:43 Please respond to u2-users@listserver.u2ug.org Sent by:[EMAIL PROTECTED] To:

Memo: Re: [U2] UV - GROUP.STAT.DETAIL

2005-02-03 Thread asvin . dattani
to hand - i'll try and dig them out if no one else has them. cheers, asvin You could probably also use the replacement fixtool, but I've never used it for that. Asvin DATTANI/IBEU/[EMAIL PROTECTED] on 03 Feb 2005 17:50 Please respond to u2-users@listserver.u2ug.org Sent by:[EMAIL

Memo: Re: [U2] test

2004-11-26 Thread asvin . dattani
it was thanksgiving yesterday in the states, so I guess most people have taken the weekend off... Les Hewkin [EMAIL PROTECTED] on 26 Nov 2004 14:25 Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:U2 Users (E-mail) [EMAIL PROTECTED] cc: bcc: Subject:[U2]test

Memo: Re: [U2] PICK Assembler Language

2004-11-08 Thread asvin . dattani
Hi Sean, Before there was this new fangled Universe and Unidata, PICK was a platform independent os/database. It used to run on a variety of platforms from big IBM mainframes all the way down to small minicomputers, and then when PC's were invented (8086 based!!) even on them. This was all

Memo: RE: [U2] Spooler question

2004-10-20 Thread asvin . dattani
Hi, Just a thought - Universe prints using a Unix script which you specify in attribute 6 of the DEVICE file. You could write a script which checks to see which of the two printers is less busy (use lpstat -0 perhaps?) and then output to that printer. I am no Unix scripting expert but I dont

Memo: Re: [U2] [UV] Typo leads to discovery of new feature

2004-10-13 Thread asvin . dattani
HI Brian, Can you elaborate on what this bug was? UV 9.6 on HPUX about to move to UV10.0.19. thanks, asvin Brian Leach [EMAIL PROTECTED] on 13 Oct 2004 10:44 Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: bcc: Subject:Re: [U2]

Memo: Re: [U2] Tuning uvconfig parameters in universe 9.6

2004-10-12 Thread asvin . dattani
Hi Javed, 1. Universe does not have a 64 bit mode as you understand it. There is a uvconfig parameter that decided whether the default mode for newly created files is 64 bit or 32 bit, but I dont think that is what you are looking for. Individual files in Universe can be 64 bit or 32 bit. You

Memo: Re: [U2] Help - clobbered file !

2004-09-23 Thread asvin . dattani
Hi Andrew, You may also need to clear the resize bit. You can do this by using filepeek filname from unix and the entering rcl. hth asvin Mats Carlid [EMAIL PROTECTED] on 22 Sep 2004 09:38 Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: bcc:

Memo: Re: Unclassified RE: [U2] UniSession.connect error

2004-09-13 Thread asvin . dattani
Hi, there is tech tip on the techconnect web site that I found very useful when trying to get UniRpc working. IIRC, there was something about logs in there. You need to login to techconnect and then go to this url:

[U2] Memo: Universe file size limit

2004-09-01 Thread asvin . dattani
Hi Everyone, HPUX 11i running Universe 9.6 - does anyone know if there is a 4GB file limit? We have 64 bit files on a 64 bit file system, but one of these files grew to over 4gb and blew up with an Internal Data Error on a BASIC write. I thought that 64 bit files were supposed to be vv large...

Memo: RE: [U2] Universe file size limit

2004-09-01 Thread asvin . dattani
Hi, Thanks for all the responses. Ulimit, is set to unlimited so that shouldn't be the problem. Our unix support people cant find any other HPUX kernel parameter that would affect the maximum file size. Glen's recollection is correct - HPUX support file sizes up to 128 terabytes. It is looking

Memo: Re: RE: [U2] Universe file size limit

2004-09-01 Thread asvin . dattani
Hi Glen, This is the output when we first ran across the problem: 0008 Program FIS00200: Line 551, Internal data error. 0009 Program FIS00200: Line 555, Internal data error. 0010 Program FIS00200: Line 555, WRITE failure. Line 551 is a MATREADU from the file, and line 555 is a MATWRITE to the

Memo: RE: [U2] UOJ connect error 81009

2004-08-04 Thread asvin . dattani
Hi Guys, thanks for all the replies, Wendy Smoak wrote: I don't think you should try to reconnect a UniSession that you've disconnected. If you're done with it, disconnect and get rid of it. If you need to connect again, make another UniSession. Thanks, Wendy. Yes, it looks as if I'll

Memo: Re: [U2] PORT.STATUS

2004-08-04 Thread asvin . dattani
Hi Ang, Assuming that you are using Universe The PORT.STATUS command is usually locked by a semaphore. You can check the status of semaphores by using the SEMAPHORE.STATUS command (nomrally only available in the uv account) To unlock the PORT.STATUS semaphore: UNLOCK PSTATLOCK SEMAPHORE

[U2] Memo: UOJ connect error 81009

2004-08-03 Thread asvin . dattani
Hi everyone, I am writing some Uniobjects for Java code, and am having problems with the connect method. The first connect to the Universe system is successful, but if I then disconnect and then try to connect again, I get the error[IBM U2][UniObjects for Java][UniSession Exception][ErrorCode:

Memo: Re: [U2] [UV] File corruption error, but ON ERROR branch not taken

2004-07-20 Thread asvin . dattani
Hi Craig, What we do here is to produce a como whenever a program is run from the menu system and then to check the como for common errors such as variable not assigned a value etc. The menu system executes a como on before executing the program. When the program returns back to the menu system,

Memo: Re: [U2] Universe error

2004-07-01 Thread asvin . dattani
Hi Ian, I used to get this on NT4 and universe 9.6. It happened whenever a user closed a Universe telnet session without logging off. maybe the same issue? cheers, asvin [EMAIL PROTECTED] on 30 Jun 2004 23:08 Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:[EMAIL