RE: [U2] Deciphering Pick UniBasic statement

2005-12-11 Thread Jacques G.
Caleb's. It could take days to unravel the code by hand versus the few minutes needed to send it out to www.srs4uv.com. From one horror story I read on the site about a programmer that had sabotaged source code: The company used the SRS on the object code they were running. In addition, they

[U2] Re: [UV] Account name in prompt ?

2005-12-08 Thread Jacques G.
Is there any feature in UV to get the account name into the prompt ? I know we can type: WHO anytime but having it there can help prevent people from running things into the wrong account. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

Re: [U2] [UV] -D command line switch?

2005-12-06 Thread Jacques G.
Well, today I wanted to use -D as an argument but discovered that somehow my screen output was suppressed. Anyway, after a bunch of fooling around, I discovered that -D, D, -P and P on the command line will suppress output to the screen, and send it to the default printer instead! Also,

[U2] Universe Version

2005-11-07 Thread Jacques G.
Is there a way to determine which Universe version is running (besides the RELLEVEL entry in the VOC ?) Perhaps a @ variable or with an undocumented SYSTEM command ? The length of the spooler entry files has recently changed in Universe and currently we are using the version number to detect

RE: [U2] [UV] nanosleep: Interrupted system call

2005-09-26 Thread Jacques G.
Has anyone else here seen this message: nanosleep: Interrupted system call This has popped up on some user's screens on: Hp-Ux Release 11i Universe 10.1.8 Anyone here know why this is happenning ? __ Do You Yahoo!? Tired of spam? Yahoo! Mail

[U2] Spooler entry numbers in Universe (R%6)

2005-06-14 Thread Jacques G.
We have process which normally produces reports in the evening, and assigns the resulting spooler entries to the user that launched the report via a chown. We have upgraded to version 10.1.6 on HP-UX 11i and now it seems that if the owner of a spooler is changed, the programs such as SP-EDIT can

Re: [U2] Storing graphics in UniData files

2005-05-25 Thread Jacques G.
You can upload the letter formats as macros on the HP Laserjet printer. There are software packages that let you design forms for the HP printers. The downside of this approach is you have to make sure the folks you work with don't turn off the printer. Alternatively, you could send the macro

RE: [U2] Include Vs Call - Software Maintenance

2005-05-20 Thread Jacques G.
main-program change and I then re-compile the sub, then the other main-program (which depends on the sub) could get whacked. It is more of a pain to maintain programs that depend on a shared include than maintaing a common subroutine. One way to limit the impact is to plan for new

[U2] [UV] Unusual PORT.STATUS error message

2005-05-02 Thread Jacques G.
Hello, I've encountered this message when doing a PORT.STATUS on version 9.4 of UV running on HP-UX 11.0. Unable to locate uniVerse user data area in kernel. How do I get PORT.STATUS to work again ? Is the kernel compiled with insufficient memory ?

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-09 Thread Jacques G.
The bottom line is that ANS MATCHES '0N' test should never be true if ANS contains anything other than the chars 0 through 9. Right? 074: IF MITM5,ANS# THEN 075: IF MITM7,ANS# THEN GOSUB 200 ; There is another possibility. Your non-numeric error could be on a different line of your code.

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-09 Thread Jacques G.
Actually, I was thinking that this was fixed a while back. Is that wrong or has this reappeared? There is another comparison error I ran into with Universe. When working with data that contained German accents, I came upon some that used character 255 as one of their accented characters.

RE: [U2] [UV] DATA statement not executing

2005-02-23 Thread Jacques G.
Also there is a SYSTEM(x) you can do which tells you if there is something on the data stack, and there is a command like dataclear or something like that which will clear it. INPUT XX, -1 IF XX THEN CRT There is something in the data stack END

Re: [U2] [UV] DATA statement not executing

2005-02-23 Thread Jacques G.
Generally I prefer this syntax EXECUTE SELECT FILE,//IN. PROGRAM2RUN I don't like this syntax. It reminds me of the more cryptic pre-processor commands in C. When I see, it I go back to the manual to make sure of what it does. EXECUTE SELECT FILE IF SYSTEM(11) THEN EXECUTE PROGRAM2RUN

RE: [U2] Quicksort ?

2005-02-21 Thread Jacques G.
Thanks to the folks who posted their routines, however the one I was looking for used the Quicksort algorithm (with the use of at least one pivot). I did some searching and found an interesting one written in Java which speeds up the Quicksort when the number elements to sort in the array is

Re: [U2] Quicksort ?

2005-02-19 Thread Jacques G.
Someone posted a Quicksort routine a while back where dependent elements could also be sorted with the array that was being sorted. Could someone repost it please (or supply a link to where I can find it ?) Thanks __ Do you Yahoo!? Read only

<    1   2