Re: [U2] Rgarding ED editor

2014-04-17 Thread Wols Lists
On 17/04/14 15:53, Charlie Noah wrote: Aw, George, Doug is always pushing his product. :-) Remember, if all you have is a hammer, everything looks like a nail. I'm not disparaging Doug's product - I've never even seen it - but in 35 years, I've never needed it. BTW, I agree with you 100%.

Re: [U2] [OT] Need Lexmark 6150 Multifunction Printer Software

2014-03-30 Thread Wols Lists
On 29/03/14 23:07, Charlie Noah wrote: Hey folks, I have another somewhat OT need. My wife and I both have Lexmark 6150 multifunction printers. We use both the printing and scanning functions. Copying is internal to the printer, so that still works, and we don't need the fax capability (we

Re: [U2] unidata index

2014-03-14 Thread Wols Lists
On 13/03/14 18:26, Dave Laansma wrote: I do not believe so. I believe an index is only used during the SELECT statement and then only when the indexed field is the only field in the select criteria. I believe this is wrong. It certainly *used* to be true, but after repeated requests I think

[U2] Linux kernel being optimised for database usage

2014-03-11 Thread Wols Lists
http://lwn.net/Articles/590214/ It's being driven primarily by the PostgreSQL guys, but if you read the article you'll see they want to involve other databases too. A perfect opportunity for Rocket? It'd be nice to have U3 :-) get a bunch of optimisations in for UV/UD/D3 to benefit from.

Re: [U2] Multi-threaded phantom processing

2014-03-07 Thread Wols Lists
On 07/03/14 06:59, Peter Cheney wrote: Some of the other constraints were: no access allowed to the remote unirpc port, the remote UV is below 10.3 and different from ours, neither site has a UV/Net licence in prod. So I think I'm pretty much stuck with file queuing and multiple phantoms

Re: [U2] ODBC - Not finding the MV fields.

2014-02-15 Thread Wols Lists
On 15/02/14 19:05, Chris Austin wrote: I guessing could do all that.. OR have excel refresh the tables when u connect... Maintaining separate tables just for ODBC is silly Some of us learnt the *hard* way that it's a GOOD idea to have separate dictionaries. HyperStar wasn't the most

Re: [U2] ED: The very finest of 1970s technology! was: UniVerse Dictionary question

2014-02-06 Thread Wols Lists
On 06/02/14 16:33, Doug Averch wrote: George: All you need to do add is the words Back in the day and anyone will know why this a discussion that should be tabled. But are you tabling this in English or American? Is it on the table or under it? Cheers, Wol

Re: [U2] [UV] Programmatic Verification of Globally Cataloged Subroutine

2014-01-30 Thread Wols Lists
On 30/01/14 22:44, Bruce Decker wrote: I'd be interested to see how ON ERROR could catch a subroutine call failure. And I'd ball-up and toss my stuff in a heartbeat. No pride here... -BD No, on error doesn't catch a subroutine call failure. But it was added to prevent programs bombing if a

Re: [U2] How do you verify windows printer is good before fatal error by PRINTing to a bogus printer.

2014-01-28 Thread Wols Lists
On 28/01/14 15:07, Jeff Schasny wrote: SPOOL -LIST will show you all the print queue names Is that all the printer names known to U2, or all the printer names known to the network? In Chuck's example, this particular printer will never have been declared to U2 - I did this all the time. The

Re: [U2] How do you verify windows printer is good before fatal error by PRINTing to a bogus printer.

2014-01-28 Thread Wols Lists
printer setting up whatsoever. Okay, my setup was a little bit cleverer than that, but everything, and I mean EVERYTHING, was done in my programs. Nothing at the UV level whatsoever. Cheers, Wol Wols Lists wrote: On 28/01/14 15:07, Jeff Schasny wrote: SPOOL -LIST will show you all the print

Re: [U2] How do you verify windows printer is good before fatal error by PRINTing to a bogus printer.

2014-01-28 Thread Wols Lists
not a good idea. In the old days of dot-matrix, or even PCL that just expected a text stream, it worked fine. It's nowhere near that simple any more :-( Cheers, Wol Wols Lists wrote: So if I am working on \\ASHDOWN (the name of my computer) I can use SETPTR to point at \\TIGGER\HP - a printer

Re: [U2] [UV] Programmatic Verification of Globally Cataloged Subroutine

2014-01-27 Thread Wols Lists
On 27/01/14 17:48, Wjhonson wrote: You read the GLOBAL.CATDIR file looking for that subroutine name, typically, at least at my site, they are prepended with an asterisk *GET.YEAR And, iirc, you can call a locally catalog'd routine globally by calling it as *ACCOUNT*SUBNAME. This is a

Re: [U2] Time for a Redback upgrade ?

2014-01-22 Thread Wols Lists
On 22/01/14 19:27, Israel, John R. wrote: I wrote my own program to clean things up every night (GARBAGE.COLLECT2). It run from cron every night and cleans up everything: WWSTATE, SAVEDLISTS, and other files unique to our application. It also archives things as needed. It keeps things

Re: [U2] Report Generation

2014-01-16 Thread Wols Lists
On 16/01/14 15:23, charles_shaf...@ntn-bower.com wrote: Ability to automatically distribute reports. I think saving them in a shared area is good enough. Dunno. But if you're on Windows, install blat. Then, Windows or linux, you can have the script that runs them also mail them out. Quite

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Wols Lists
On 07/01/14 17:19, Wjhonson wrote: On this R-pointer point, can someone point me to the manual which describes the ability to have a security routine on these? I can't quite figure out where that information is. iirc, if you put a globally catalog'd subroutine in field 4, that will run

Re: [U2] Logging program execution in Unidata?

2014-01-07 Thread Wols Lists
On 07/01/14 17:20, Wjhonson wrote: I think we've found before, that *if* you ask the system what was the last access date... it's updates the last access date. Because you just accessed it. Wrong? Yes and no. This feature is often (by default?) disabled on linux, as it's a mount option.

Re: [U2] Logging program execution in Unidata?

2014-01-06 Thread Wols Lists
On 07/01/14 00:40, McGowan, Ian wrote: We catalog all our programs - locally (so they end up in CTLG in the current account) for programs specific to a particular account, as well as globally (so there is a pointer in CTLGTB) for generic programs. Unfortunately, unidata seems to have

Re: [U2] Regarding: LISTING SUB-VALUES

2013-12-27 Thread Wols Lists
On 27/12/13 06:25, Shanmukh Nandha wrote: CUSTOMER FILE contains fields like 1. CUSTOMER.NAME http://customer.name/ (single value) 2. CUSTOMER.SALARY (single value) 3.CUSTOMER.PHONE.NUMBER (multi value) 1. JOHN (Cust name with single value) 2. 70$/hr (Cust salary with single value) 3.

Re: [U2] BASIC code - upper, lower, CamelCase, what say you?

2013-12-23 Thread Wols Lists
On 22/12/13 22:39, Peter Cheney wrote: My colleague has recently introduced me to the joys of Emacs but am struggling to un-learn vi. http://www.emacswiki.org/emacs/ViperMode I thought I remembered something like this ... Wol (a dinosaur who wishes he still had the Sheffield EDitor :-)

Re: [U2] Tech Alert *TURN YOUR GADGETS OFF* before you get hacked

2013-12-17 Thread Wols Lists
On 17/12/13 03:12, Allen Elwood RR wrote: no, but i follow all standard practices to avoid infection, and this was my first virus at home had a few at work when someone opened an invoice, that wasn't really an invoice, clicked on the attachment and the entire company was infected in

Re: [U2] [OT] Interview Questions

2013-12-14 Thread Wols Lists
On 14/12/13 16:48, Dan Fitzgerald wrote: Kevin: I'd take the month (verifying; gigo), then run it through a case statement to determine the number of days in that month (sounds like a handy subroutine to have in the toolbox). Then I'd convert to get the day of the week, another case

Re: [U2] [OT] Interview Questions

2013-12-14 Thread Wols Lists
with mine? Six lines of code :-) http://www.pickwiki.com/cgi-bin/wiki.pl?IsoWeekNum I think my code was lifted for this ... http://www.pickwiki.com/cgi-bin/wiki.pl?DateUtility Which had the off by one introduced :-) Cheers, Wol On Sat, Dec 14, 2013 at 11:13 AM, Wols Lists antli

Re: [U2] [OT] Interview Questions

2013-12-14 Thread Wols Lists
. Cheers, Wol On Sat, Dec 14, 2013 at 12:14 PM, Wols Lists antli...@youngman.org.ukwrote: On 14/12/13 18:53, Kevin King wrote: The most challenging date math we've faced recently (a real project) is the ISO 8601 week calculation. Extremely easy to introduce an off-by-one error! THAT'S MY

Re: [U2] [OT] Interview Questions

2013-12-14 Thread Wols Lists
it. What did you come up with? Cheers, Wol On Sat, Dec 14, 2013 at 12:40 PM, Wols Lists antli...@youngman.org.ukwrote: On 14/12/13 19:20, Kevin King wrote: The 8601 week is based on the count of Thursdays but the week starts on the Monday and ends on the following Sunday. I haven't tested

Re: [U2] Unidata index/query ?

2013-12-06 Thread Wols Lists
On 06/12/13 15:08, jeffrey Butera wrote: Unidata 7.3.3 on RedHat: I have a table with numerous indicies built: Since these are data fields (nothing computed on-the-fly) and indexed, queries should be fast.The table has approximately 737,000 records. This query runs in under 1 second:

Re: [U2] UV and Mount -t CIFS

2013-10-09 Thread Wols Lists
On 09/10/13 16:59, George Gallen wrote: No, it's not - it's a 0. But...I didn't have it set to 1 on the old server either, and it worked. If I change it.I assume I would need to bring UV down and restart? What I essentially do is I backup the /uv directory on the old system, Did a

Re: [U2] [OT] Interview Questions

2013-10-08 Thread Wols Lists
On 08/10/13 05:28, Doug Chanco wrote: Questions I have been asked (and my favorites) Tell me a solution to get the last day of a given month (pick) I used that as a test question - it was quite revealing ... Another question we used - look for some bad code in one of your own programs. Ask

Re: [U2] REPLICATING DATA

2013-09-03 Thread Wols Lists
On 03/09/13 18:33, Ard956 wrote: and we would keep replication in place as a DR solution. What OS are you on? Given that, I'd be inclined to use rsync - DBPAUSE the database to make sure it's quiescent, run an rsync, and then bring the database back. Dunno what the Windows equivalent of rsync

Re: [U2] Select from one file with save-list from another file

2013-08-27 Thread Wols Lists
On 28/08/13 01:20, Wjhonson wrote: Yes I think you could use an On The Fly statement like the EVAL to do the trans if you can't actually mod the dictionary OOPS!!! I know this is UD, but in UV you couldn't do on the fly like EVAL if you couldn't mod the dictionary. Whether that was a

Re: [U2] [UV] ED PERMISSIONS subroutine

2013-08-17 Thread Wols Lists
On 15/08/13 16:26, Dianne Ackerman wrote: I'll have to check that, thanks. -Dianne One thing to watch out for (I'm sure it's been discussed (by me) recently, just can't remember where) MAKE SURE YOUR CHANGES TO THE HOSTS FILE STICK! Something to do with Windows protecting itself, but it's

Re: [U2] [UV] ED PERMISSIONS subroutine

2013-08-15 Thread Wols Lists
On 15/08/13 16:04, George Gallen wrote: If you put the IP addresses of the telnet clients into the hosts file on the UV server Does the delay go away? I believe on windows servers the hosts file is at c:\ but I'm not sure. Winders its something like c:\windows\system32\drivers\etc\ I'm

Re: [U2] What is true

2013-08-01 Thread Wols Lists
On 01/08/13 17:10, Ed Clark wrote: on universe, it looks like only fileinfo(var,0) will let you test. fileinfo(var,1) etc will abort complaining that var isn't a file variable Which is why I think the UV implementation is CRAP! You should not be able to *crash* your program simply by

Re: [U2] What is true

2013-08-01 Thread Wols Lists
On 01/08/13 19:15, Martin Phillips wrote: Hi again, I have been on a site where they insisted that A = B = C should be written as A = B EQ C to emphasise that the second operator is a relational test. A lot of fellow coders have wondered at it, but as someone who learnt coding in

Re: [U2] What is true

2013-07-31 Thread Wols Lists
On 31/07/13 09:06, Martin Phillips wrote: Of course, nothing is ever completely black and white. As multivalue Basic has developed, internal data types have gone beyond simply numbers and strings. If I write IF FVAR THEN ... where FVAR is a file variable, what do I expect this to do? The

Re: [U2] Origin of the word 'COMO'

2013-07-22 Thread Wols Lists
On 22/07/13 21:10, Allen Egerton wrote: Primos, then prime information. Primos had command input and command output files. Comi and como. And the nice thing about them was they sat in the OS on the tty line. So if it was active it recorded EVERYTHING. I've noticed - with I think both PI/Open

Re: [U2] CentOS with Universe?

2013-07-17 Thread Wols Lists
On 17/07/13 15:31, Robert Porter wrote: The only effective difference is that CentOS is that it will always be slightly behind RHEL. This is because it is re-compiled from RHEL sources. Those sources have to be released before work can start. How long? It can be significant... RHEL 6.0

Re: [U2] UML mapping tool for MV (UniVerse)

2013-07-16 Thread Wols Lists
On 16/07/13 01:39, Hona, David wrote: Regardless of the toolset, the first hurdle would be to normalise your database to look like a relational one. Which is likely to be the greatest hurdle. Data dictionaries in U2/PICK are optional are a purely for reporting purposes - they can have

Re: [U2] SORT reports line length, change right margin?

2013-07-15 Thread Wols Lists
On 15/07/13 17:12, randyleesmith wrote: SETPTR might be worth looking into as long as I can set it back. Investigate using a different channel ... I mentioned it recently but try SETPTR 1,... followed by SORT ... LPTR 1 That way, you don't touch whatever's on the user's default channel 0, and

Re: [U2] SORT reports line length, change right margin?

2013-07-15 Thread Wols Lists
On 15/07/13 18:15, randyleesmith wrote: You all have given me a lot to work with. Thank you. I forgot to mentioned that the report I'm changing is part of a number of other similar reports. They all need to be together in the same printer spool. They are printed together as one big

Re: [U2] SORT reports line length, change right margin?

2013-07-15 Thread Wols Lists
On 15/07/13 18:50, randyleesmith wrote: There is a SP-ASSIGN OHS At the start of the Proc And a SP-ASSIGN At the end. All the report are meant to be held together. In which case (If I remember my SP-ASSIGN correctly) changing this one report to a different print channel most

Re: [U2] UniVerse LPTR

2013-07-08 Thread Wols Lists
On 08/07/13 21:19, Bill Brutzman wrote: Thanks to Martin, Phil, and Anthony. The SETPTR and then SETPTR.DEFAULT is the way to go. I am remembering the ugh when the server is reBoots... the settings vanish. Of course, this LPTR command appears in a legacy script. Perhaps I can

Re: [U2] History of Prime Information

2013-06-15 Thread Wols Lists
...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists Sent: 12 June 2013 22:14 To: u2-users@listserver.u2ug.org Subject: Re: [U2] History of Prime Information On 12/06/13 13:36, Martin Phillips wrote: It is interesting to note that just a few weeks before

Re: [U2] History of Prime Information

2013-06-12 Thread Wols Lists
On 12/06/13 13:36, Martin Phillips wrote: It is interesting to note that just a few weeks before first release the marketing guys decided to change the platform on which it would be launched. If we had gone the assembler route, this would have imposed a huge delay. With C, it took just a few

Re: [U2] Resurrecting a crashed session

2013-06-12 Thread Wols Lists
On 12/06/13 15:35, Dan Goble wrote: If you are using unix / linux as your OS then, use the tandem command to attach to the session. At the unix prompt as root type in tandem unidata_session_number Then the esc key F to enter and esc key X to exit Or use the screen command. It sticks a

Re: [U2] Writing into metadata

2013-06-11 Thread Wols Lists
On 11/06/13 12:22, Carl Dula wrote: This is not directly in uv, but you could execute a Powershell script on the windows box to do it. Take a look at the following, which should give you some good info.

Re: [U2] How do I get the U2 Metadata Manager to work

2013-06-07 Thread Wols Lists
On 07/06/13 20:49, Mecki Foerthmann wrote: I don't think that is an option for me. That sounds far too complicated for an old dinosaur like me. I am no nuclear physicist but even I know that cold fusion is an urban myth and doesn't work! You need temperatures and pressure like in the centre

Re: [U2] UniData PreStore to change the KEY of a record?

2013-05-28 Thread Wols Lists
On 28/05/13 20:05, Daniel McGrath wrote: You can't 'swap'. What you can do is save it as a new name and delete the old record. If you are doing this on a live system as part of production support (hopefully development isn't been done there), make sure you understand how code is using

Re: [U2] UV File doesn't like being sampled?

2013-05-24 Thread Wols Lists
On 24/05/13 15:57, George Gallen wrote: In thinking about itI'm not sure, but it seems to increase the selection speed (considerably). It is a type 30 file, So possibly the index makes up for a hashing algorithm where the modulo is too small? And the makeup of The @ID causing more

Re: [U2] U2 demos and sample code now on Github

2013-05-21 Thread Wols Lists
On 21/05/13 19:47, George Gallen wrote: What might be helpful, would be a little help Blurb about what github is, and how to use it? Granted, it didn't take a lot to figure it out. But it was a little confusing at first. In particular, I know github stores git repositories. The command

Re: [U2] U2 demos and sample code now on Github

2013-05-21 Thread Wols Lists
On 21/05/13 20:02, Wjhonson wrote: http://en.wikipedia.org/wiki/VCS Helpful as usual ... I'm sure pretty much everyone here knows what a VCS is, even if they're not sure how to use any particular one ... or as here any particular repository. Cheers, Wol

Re: [U2] Convert data from UniData to Microsoft SQl server

2013-05-15 Thread Wols Lists
On 15/05/13 18:43, Kathleené M Hunter wrote: Multiple what by a thousand and round up ? Measure the disk space used by your Unidata account, and convert Kb to Mb. And Dan Ell is only *half* joking. Really. I did an account dump and transfer to SQL-Server, and SQL-Server really did take on the

Re: [U2] select query..

2013-05-15 Thread Wols Lists
On 15/05/13 18:43, Colin Alfke wrote: That's what READLIST and WRITELIST are for. I've found writing the list as MY.LIST000 to be relatively safe, when you read you would have to check for MY.LIST000, then MY.LIST001, etc. Sathya - as Mecki said, if you're using the @ID of the file you can

Re: [U2] Illegal use of the file, select, cursor, BCI, Socket, HTTP, XML, SCTX , MQS, SOAP or database variable.

2013-05-10 Thread Wols Lists
On 08/05/13 21:43, Tony Gravagno wrote: [ad] And of course all of these situations are avoidable by using NebulaXLite. http://Nebula-RnD.com/products/xlite.htm [/ad] And of course, all of these situations are UNavoidable when you are just a mere user of the database :-( I'd love to have

Re: [U2] Illegal use of the file, select, cursor, BCI, Socket, HTTP, XML, SCTX , MQS, SOAP or database variable.

2013-05-10 Thread Wols Lists
On 08/05/13 20:10, Tony Gravagno wrote: I have news for you - they ALL do. Other systems don't store data with trailing zeros because they have no need to store them. It's up to each individual user/application to decide whether to use 1 digit, 2, 4, or none. Data is stored with as few

Re: [U2] Manage $ values

2013-05-07 Thread Wols Lists
On 07/05/13 23:23, Bill Haskett wrote: Dale: Be careful with this if running UniData. Here are some UDT.OPTIONS documentation: UDT.OPTIONS 56 - U_CONV_BADRETURN Normally, if an OCONV or ICONV conversion fails due to invalid data or an invalid conversion code, UniData returns the input

Re: [U2] History of Prime Information

2013-04-30 Thread Wols Lists
On 29/04/13 19:25, Jerry Banker wrote: Prime Information was originally developed by Devcom I'm not sure what the name was at that time but I do know that Prime Computers bought them out and bought the rights from Pick to develop independently. Prime became a database powerhouse with the

Re: [U2] History of Prime Information

2013-04-27 Thread Wols Lists
On 27/04/13 05:26, Wjhonson wrote: Okay but let's just talk about 1990-1993 How did Computer Vision exactly get its hands on Prime Information ? This happened *before* the final bankruptcy of Prime? Or did somehow Prime sell or spin off Computer Vision with Prime Information as well? iirc

Re: [U2] Unidata and Replication from AIX

2013-04-26 Thread Wols Lists
On 25/04/13 23:11, Daniel McGrath wrote: Hi Kevin, Yes, you should be able to replicate from AIX to another platform. Please keep in mind that CentOS isn't an officially supported platform. No, you cannot replicate from your current system to a PE edition of the database; you will need

Re: [U2] TCL input and response logging (AD)

2013-04-26 Thread Wols Lists
On 26/04/13 21:00, Allen Egerton wrote: I didn't say vmark acquired prime. I said they acquired prime information. Indeed. We were a Pr1me customer, and were transferred to VMark with the INFORMATION acquisition. The plan was to merge INFORMATION with one of the other products. If memory

Re: [U2] What tools do you use for data warehouse...

2013-04-26 Thread Wols Lists
On 26/04/13 20:33, Kevin Le wrote: We have a few applications written in VB that use ODBC to access Unidata... but I find it to be a security risk since ODBC can be used in Access and allow the user to dump entire tables of data with no controls/auditing/logging. Are there any other ways of

Re: [U2] TCL input and response logging such as COMO

2013-04-25 Thread Wols Lists
On 24/04/13 22:54, Tom Whitmore wrote: Hi, Can you provide more information on what you are trying to capture? (edits, list commands, etc.) I suspect that you may be able to put security on the commands you are concerned with and address the problem with less pain. The problem with using

Re: [U2] UD - Display Current Terminal Type

2013-04-23 Thread Wols Lists
On 23/04/13 22:12, Bill Haskett wrote: I've had a brain-freeze and can't remember how to display the current terminal type at ECL. I know it's SYSTEM(7) but what ECL command do I need to display it? TERM doesn't work (although I can set it by entering TERM WYSE60). PTERM doesn't work (it

Re: [U2] List..

2013-03-26 Thread Wols Lists
You don't need to create a dictionary item if it's a one-off ... For a one-off, just put (iirc the syntax correctly) EVAL FIELD(@ID,*,1) as the field name in the list command. You can modify the way it displays with things like the FMT option, there are more ... Mind you, there's a good chance

Re: [U2] History..

2013-03-22 Thread Wols Lists
On 20/03/13 18:11, Israel, John R. wrote: Type: .L To list the past commands. .Xn To re-execute the nth command. .? For help Also .Rn to pull the nth command back into first (default) place. That's useful if you've got the COMMAND.EDITOR switched on. By the way, n defaults to 1, so

Re: [U2] User cannot login

2013-03-11 Thread Wols Lists
On 11/03/13 20:59, Holt, Jake wrote: I've tried it in the past, but doing it again made me consider something else and it worked. If I use domain\username it works... Must be something strange with his AD account. I'm sure this is a known problem in Rocket's knowledgebase. And I think

Re: [U2] Unidata index and short-circuit evaluation

2013-03-08 Thread Wols Lists
On 08/03/13 21:03, Jeffrey Butera wrote: While I'm on a roll... I often look at how to make queries run faster. In short, we index all the commonly used data fields we can and (of course) it makes world of difference. However, I have some questions about optimal ways to query data using a

Re: [U2] Unidata index and short-circuit evaluation

2013-03-08 Thread Wols Lists
or at the same time as the other selects is irrelevant. But yes. I based my recommendations on minimizing the number of disk accesses ... Cheers, Wol -Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Fri, Mar 8, 2013 1:17 pm

Re: [U2] VOC Pointer

2013-03-04 Thread Wols Lists
On 04/03/13 20:36, Israel, John R. wrote: I need to copy PDFs from a Windows server into a UNIX dir (where UniData lives). Can I map a VOC pointer? Can the unix machine see a windows share? You MAY be able to put a network path in field 2 of a voc entry, but by default, if UD recognises a

Re: [U2] VOC Pointer

2013-03-04 Thread Wols Lists
On 04/03/13 21:11, Israel, John R. wrote: I have done things from Window to UNIX with Samba before. As you say, we do it all the time. The issue I have is I need my Unix box to grab the data from Windows and copy it from Windows to Unix. The copy needs to be run from Unix, not Windows.

Re: [U2] WRITESEQ and input buffer

2013-03-04 Thread Wols Lists
On 04/03/13 22:08, Cook, Amy wrote: We seem to be running up against a size limitation using WRITESEQ since increasing shared memory parameters on Friday. (SHM_GPAGESZ, SHM_LMINENTS, SHM_LCINENTS) I'm looking at ADMINNT.pdf, trying to determine if EXPBLKSIZE relates specifically to the

Re: [U2] UV full screen editor

2013-02-26 Thread Wols Lists
On 26/02/13 08:38, Symeon Breen wrote: I seem to remember when we used such things that the costs in the uk where pretty similar. Wintegrate also did some emulations that accuterm did not and we needed those, but the other problem I have with Accuterm is that it is very American (not being

Re: [U2] UV full screen editor

2013-02-25 Thread Wols Lists
On 25/02/13 17:48, Daniel McGrath wrote: Unfortunately not baked in to BDT yet. You can always override the BASIC/CATALOG keywords (after copying them to something like stdBASIC, stdCATALOG) with stub programs featuring few lines of logic to call your tool chain unless called in certain

Re: [U2] Dumping data to file from TCL

2013-02-20 Thread Wols Lists
On 20/02/13 21:24, Phil Walker wrote: No we aren't and this needs to be an automated script executed by cron or other mechanisms e.g. EXECUTE command CAPTURING output etc. I can create a paragraph do to below if needed. If you're happy using a program written by someone else there are

Re: [U2] : Evaluating DCOUNT

2013-02-12 Thread Wols Lists
On 12/02/13 19:04, Wjhonson wrote: Correct me if I'm misunderstanding you Tom, but you said that field marks are indexes so the first scan resolves where each field begins. That is not correct, at least not literally. Count or Raising or Lowering or Scanning in general will not create an

Re: [U2] Record locks (Unidata 7.2)

2013-02-08 Thread Wols Lists
On 08/02/13 07:30, Tony Gravagno wrote: I think people understand exactly what you're saying, but disagree. Most applications don't use the more rigorous coding for having a Locked clause that provides additional information to the user, retries, etc. That's not wrong, it's just not necessary

Re: [U2] [UV] Large File Operations Kill Linux

2013-02-04 Thread Wols Lists
On 04/02/13 21:05, Dan Fitzgerald wrote: What's the value in /proc/sys/vm/swappiness? How will that make any difference? 2.6.18-348 SOUNDS like an ancient (in linux terms) kernel. Are you on RedHat support? This is a problem with the linux kernel that was addressed recently, iirc. Large

Re: [U2] [UV] Large File Operations Kill Linux

2013-02-04 Thread Wols Lists
On 04/02/13 21:34, Perry Taylor wrote: Yes we are on RH support. I'll run it by them and see. Again, this is from memory, but I think somebody noticed that copying a single very large file brought a system to its knees until the copy finished, and the whole thing spiralled from there. Probably

Re: [U2] Searching for 'Bad' Dates

2013-01-30 Thread Wols Lists
On 29/01/13 23:36, Wjhonson wrote: Just use the NUM function in an I-Descript. Any external format, has to have at least one non-numeric in it. I was thinking that. Just set field 2 to NUM( @RECORD( x)) where x is your field number (provided it's not multi-value of course) and then select

Re: [U2] Data not seen using LIST.ITEM

2013-01-29 Thread Wols Lists
On 28/01/13 21:32, Tyler L wrote: Don, Thank you for your reply. That is a nice thing to know. I using that I have since found out that it is my own fault for not reading the code properly and I have resolved the issue. Thank you very much. I know you've solved it :-) but something else that

Re: [U2] Triggers in Universe

2013-01-29 Thread Wols Lists
On 28/01/13 23:26, Peter Cheney wrote: Could use the trigger program to call one or more external subroutines based on the trigger action required? I understand that the external subroutines are not cached and can be updated without needing to stop/start the master trigger. Never tried

Re: [U2] Universal COMO

2013-01-24 Thread Wols Lists
-Original Message- From: Wols Lists antli...@youngman.org.uk To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Jan 23, 2013 11:15 am Subject: Re: [U2] Universal COMO On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago

Re: [U2] Universal COMO

2013-01-23 Thread Wols Lists
On 23/01/13 18:28, Wjhonson wrote: I see a *pro* in this, for the ease of cleaning up old logs from years ago, obviously no longer needed, which can be done from the O/S level. What might be a *con* ? This isn't a pro, in that that is perfectly possible, certainly in *nix. I'm not sure how

Re: [U2] Unidata 6.1.13/AIX 5.3 Stops Unexpectedly

2013-01-18 Thread Wols Lists
On 18/01/13 03:18, Kevin King wrote: Peter, I'm 1200+ miles away from the box. Getting to the console is not an option. To restart, I've been forcing Unidata down with stopud -f and starting it again with startud. Yeah, drastic, I know. But that's why I'm looking for better ways. How do

Re: [U2] [UV Retrieve] Selecting file based on partial key

2013-01-15 Thread Wols Lists
On 15/01/13 07:47, Peter Cheney wrote: Hi Manu, Thankyou very very much for this it worked a treat. Absolutely brilliant! The index was already created so just had to find the right one amongst the others and all was good. The only thing I'd add is that reading the index file directly

Re: [U2] External database

2013-01-14 Thread Wols Lists
On 14/01/13 15:24, asad50089 wrote: Hi, I know U2 is 64 bit. My most of the work in U2-32 bit edition. Please let me know any complications I can face when migrate from 32-bit edition to 64-bit. Do I need to resize all data files and compile code again. Please suggest. U2 is (to the best

Re: [U2] External database

2013-01-13 Thread Wols Lists
On 13/01/13 09:02, Phil Walker wrote: Seems rather extreme to go to Oracle just to get around 2GB file limit ;-) Agreed. But if he wants some advice, there's a few things I'd say. First he's better just upgrading to the latest UV :-) Or can he use distributed files? Asad - if you don't know

Re: [U2] {BDT] Commenting A Block Of Code

2013-01-10 Thread Wols Lists
On 10/01/13 01:55, Peter Cheney wrote: Hi Bill, In UV's ED use the (start block) and (end block) to define a block of code. Then do C//*/B This will prompt for confirmation of change block from line n through m. Hmmm that's new to me ... What I would have done - let's say I want

Re: [U2] [UV]Corrupted object in global catalog

2012-12-28 Thread Wols Lists
On 28/12/12 17:18, Wjhonson wrote: Are you certain that catdir is not an O/S directory? If so, you should be able to tell the Create Date, seperately from the last touched date (read), or the last update date as well. You should have three dates associated with each directory entry, no?

Re: [U2] Unidata DICT size

2012-12-10 Thread Wols Lists
On 10/12/12 20:32, Israel, John R. wrote: That should not be a problem. Note that with that many elements, you would be STRONGLY advised to write your code with dimensioned arrays, not dynamic ones. Performance will be amazingly faster (assuming you have a bunch of records in the data

Re: [U2] Another job ad written by people who have no clue

2012-12-09 Thread Wols Lists
On 09/12/12 17:38, Wjhonson wrote: For a single line. I don't understand how an IF would know, for multiple lines, where it's supposed to end. With a semi colon? Horrible. Computer languages should be written for humans to read, not machines. Why don't you take the OP's advice and learn

Re: [U2] Advantage of indirect call in BASIC

2012-12-04 Thread Wols Lists
On 04/12/12 04:57, Israel, John R. wrote: As far as the number of arguments changing, I will often write a subroutine with a few extra variables (FUTURE1, FUTURE2, FUTURE3) so that I do not need to find all the existing programs that call it and recompile them. It makes this sort of thing

Re: [U2] Advantage of indirect call in BASIC

2012-12-04 Thread Wols Lists
On 04/12/12 00:38, Wjhonson wrote: I've not encountered this is my career previously, but now I'm seeing a system written almost entirely with the use of indirect calls in Universe BASIC. That is SOURCE = *SOME.PROGRAM ... CALL @SOURCE(INPUTS) Is there some advantage to the use of

Re: [U2] Advantage of indirect call in BASIC

2012-12-04 Thread Wols Lists
On 04/12/12 16:06, Jeff Schasny wrote: I'll second Allen Egerton's left over from Prime Information theory. I distinctly remember being told that indirect subroutine calls were measurably faster way back in my days at Prime. From my knowledge of Pr1me architecture (which isn't great) this was

Re: [U2] Advantage of indirect call in BASIC

2012-12-04 Thread Wols Lists
On 04/12/12 17:03, Wjhonson wrote: Ring-jump ? Vas is das It's when the processor jumps between restricted user mode, and kernel can do anything mode. Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] Things you shouldn't do.....

2012-11-30 Thread Wols Lists
On 30/11/12 16:39, Cypress Support wrote: The PH file is a type 1 file(a directory). On AIX: When you write the record back to the directory, the inode is changed to point the the new disk location of the new file. The old file is still update(output for phantom) until the file is closed,

Re: [U2] mailserver test

2012-11-18 Thread Wols Lists
Quasimodo? Cheers, Wol On 18/11/12 16:27, Wjhonson wrote: Who rang that bell! -Original Message- From: Robert Houben robert.hou...@fwic.net To: U2 Users List u2-users@listserver.u2ug.org Sent: Sun, Nov 18, 2012 8:10 am Subject: Re: [U2] mailserver test pong...

Re: [U2] Improving performance

2012-11-11 Thread Wols Lists
On 10/11/12 19:54, Jeff Butera wrote: In an attempt to improve performance, I've taken to replicating the spouse field in the DONOR record by using an update trigger on PERSON to ensure spouse is updated in DONOR as well. By replicating the spouse in DONOR, I eliminate one TRANS in each

Re: [U2] Multiple UniData Indexes in same select

2012-11-08 Thread Wols Lists
On 08/11/12 00:47, dennis bartlett wrote: Once again (I'm a fan of these) the answer is to create a file of composite keys (FldA * FldB etc) and index that... The bummer is that the xref file will always be out unless one adds a 'trigger' to each 'to be indexed' file Are you SURE? Itypes

Re: [U2] Loading a UNIX-based UNIDATA file system on a Windows system...

2012-11-07 Thread Wols Lists
And to add even further to the mix ... bear in mind my advice is about operating systems not U2, and my knowledge is UV not UD ... Are you SURE it's not needed if the source is Linux? Or do you actually mean Linux/x86? Certainly with UV, the OS is irrelevant, what matters is the endian-ness of

Re: [U2] Loading a UNIX-based UNIDATA file system on a Windows system...

2012-11-07 Thread Wols Lists
UPDATEVOC -oca ACCOUNTNAME Martin -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists Sent: 07 November 2012 10:42 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Loading a UNIX-based UNIDATA file

  1   2   3   4   >