RE: [U2] [UV] Phantom Limits

2006-11-27 Thread Stu Glancy
I was under the impression that the number of phantoms is limited to the 
licensed number of users less the number of users on the system.  In other 
words, each phantom used a license.  Am I out incorrect?

Tom Dodds <[EMAIL PROTECTED]> wrote:  In my experience, which is at UV 10.0.x 
some years back, the limit is not
system wide, but was imposed at the host process level. The limit I found
was 50 phantoms per host process so if you needed to have more than 50
phantoms running you needed to start multiple host process to spawn a set
number of processes. I was never able to find a tunable parameter to modify
the limit. 

Tom Dodds
[EMAIL PROTECTED]
708-234-9608 Office
630-235-2975 Cell

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Veenhof
Sent: Thursday, November 23, 2006 1:56 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Phantom Limits

Hi,

I'm just reading up on phantoms, and saw this little note in the HELP...

There is a system-wide limit on the number of processes that
you can initiate. If you can start no more processes when you
issue a PHANTOM command, the following message appears:

NO FREE PHANTOMS
You cannot run a phantom process now.
Wait a while, then try again.

I was wondering if anyone knows off the top of their head, what
determines this limit? Is it a static number, if so what, or is it user
definable?

Thanks
Peter
---
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/


 
-
Everyone is raving about the all-new Yahoo! Mail beta.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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

2005-05-03 Thread Stu Glancy
I do not belive 9.4 is certified for HP-UX 11.0.  I had the same 
problem.  Going to uv 10 solved the problem.

Jacques G. wrote:
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 ?

		
__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
 

--
Stu Glancy
Senior Analyst
AMOI
7001 Peachtree Industrial Blvd.
Norcross, GA  30101
678-282-6531
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Setting a Network Printer in Linux

2005-05-03 Thread Stu Glancy
You need to setup &DEVICE& by edit or uv admin.  UV admin is best 
because you will need to reread the spooler configuration files and you 
are prompted for this.  On my Linux the TCl command is "MOTIF 
SYSTEM.ADMIN" or SYSTEM.ADMIN  in the "uv" account. 

Marc Hilbert wrote:
I have tried reading the manual. How can I set up access to a network 
printer under UV 10 with Linux Redhat 9.0. From the Linux shell I can 
successfully print, but from UV all I get is the following message 
every minute or so...

"Unable to open device. Verify that the printer is on line..."
Thanks in advance,
Marc
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

--
Stu Glancy
Senior Analyst
AMOI
7001 Peachtree Industrial Blvd.
Norcross, GA  30101
678-282-6531
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Hashed file size

2005-03-01 Thread Stu Glancy
The 2 gig limit is the unix file size limit.
Cooper, Rudy wrote:
I seem to recall a limitation on the size of a hashed file.  I believe
it was 2gigs.  I've tried looking for an explaination in the U2 library
on the IBM site , but haven't come across anything regarding UV file
limitations.
Can someone please refresh this aging memory of mine or link me to the
appropriate documentation.
thx,
rudy
Rudy Cooper
Sage Publications
I.T Development
Thousand Oaks, California
(805) 499-0721 #7724
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
 

--
Stu Glancy
Senior Analyst
AMOI
7001 Peachtree Industrial Blvd.
Norcross, GA  30101
678-282-6531
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] SOX Compliance and Universe

2005-01-27 Thread Stu Glancy
You can user "R"emote VOC entries on sensitve commands to excute a 
security programs to allow or track access.

Meeta Advani wrote:
Hi all,
The company I work for, Mothers Work Inc., is a publicly held company,
traded on NASDAQ.  As a result, we are obliged to comply with the
Sarbanes-Oxley Act.  I'm sure others of you are in the same position.
We run our business on a DG-UX machine with Universe 9.411.
The guidance we have been given is that we need to put stronger access
controls on programmers, track programmer actions, make sure that
sensitive commands at TCL such as DELETE, CLEAR-FILE, and
DELETE/FILE/etc. within ED are locked down to a certain extent.
Although we normally do all of our programming in-house, in this case we
are interested in finding out if there is already a product out there
(or code that is used internally at some other company) that
accomplishes this, and works as a wraparound.
If anyone has insight on this or other comments about SOX and the MV
world, I'd like to hear how you are dealing with this situation.
Thanks,
Meeta Advani
===
Meeta Advani
Programmer/Analyst
Mothers Work, Inc.
[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/


Re: [U2] K = K

2005-01-20 Thread Stu Glancy
REMOVE is universal in U2 BASICs.  You are not using a U2 BASIC.  
According to your comment you are using D3 which is not a U2 product.

[EMAIL PROTECTED] wrote:
I've just started at a new site running D3 7.2.1.RS on AIX and the REMOVE
statement doesn't compile at all! It's very annoying as it's a very
convenient way of processing dynamic arrays and with larger arrays far more
efficient than counting the markers and FOR... NEXTing through it. I'm
suprised that REMOVE isn't universal amongst U2 BASICs.
Regards,
Chris
Bill writes -
In UniData and D3 the "REMOVE" statement looks like:
REMOVE variable FROM dynamic.array AT position.variable SETTING
delimiter.variable
This allows the explicit setting of the pointer, without resorting to
reinitialization by reassigning the array variable.  I've always just
assigned "Position.Variable" prior to doing any "REMOVE" stuff.  But then,
UniVerse is sometimes a different animal.  :-)

Checked by MimeSweeper Thu, 20 Jan 2005 14:56:43 -
---
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] Passing parameters to a paragraph?

2005-01-13 Thread Stu Glancy
IBM publication "Universe User Reference"
http://publibfi.boulder.ibm.com/epubs/pdf/25119310.pdf
In-line prompting explained on page 1-29 or 59 of 887
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] test

2004-11-26 Thread Stu Glancy
U.S. holiday.
It originated in the autumn of 1621 when Plymouth governor William 
Bradford  invited neighbouring Indians to join the Pilgrims 
for a three-day festival of recreation and feasting in gratitude for the 
bounty of the season, which had been partly enabled by the Indians' 
advice. Neither the standard Thanksgiving meal of turkey, cranberry 
sauce, and pumpkin pie nor the family orientation of the day reflects 
the Plymouth event, however. Proclaimed a national holiday in 1863, 
Thanksgiving is celebrated on the fourth Thursday in November (though it 
was moved back one week in 193941 to extend the Christmas shopping 
season). Canada adopted Thanksgiving as a national holiday in 1879; 
since 1957 it has been celebrated on the second Monday in October.

http://www.britannica.com/
The above article does not mention that several US Presidents proclaimed 
a day of thanksgiving for Divine providence but not an official holiday. 
Pres. Lincoln, during the U.S. Civil War, was the last to do so and it 
became a national holiday. Pres. Washington was the first to declare a 
day of thanksgiving. Pres. F.D. Roosevelt shifted the day as mentioned 
but it was unpopular and shifted back. Roosevelt temporarily fell out of 
favor for tampering with what had become a sacred icon of tradition. In 
the U.S., this is the most traveled week of the year as familys join 
together to enjoy the feast and reunion. The day after Thanksgiving is 
shopping hell!

DAWES, Ray wrote:
Thanksgiving?
-Original Message-
From: Les Hewkin [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 14:25
To: U2 Users (E-mail)
Subject: [U2] test
Are the lists up and running?
I haven't seen any post for nearly 24 hours
Les.
This e-mail and any attachments are confidential and intended solely for the
use of the addressee only. If you have received this message in error, you
must not copy, distribute or disclose the contents; please notify the sender
immediately and delete the message.
This message is attributed to the sender and may not necessarily reflect the
view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements
binding Travis Perkins may not be concluded by means of e-mail
communication.
E-mail transmissions are not secure and Travis Perkins accepts no
responsibility for changes made to this message after it was sent. Whilst
steps have been taken to ensure that this message is virus free, Travis
Perkins accepts no liability for infection and recommends that you scan this
e-mail and any attachments.
Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way,
Harlestone Road, Northampton, NN5 7UG.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]FILEINFO

2004-11-23 Thread Stu Glancy
I searched many places trying to find documentation on FILEINFO but not 
HELP BASIC FILEINFO.  I feel like an idiot.  Thanks Ray and Tom.

Ray Wurlod wrote:
FILEINFO() is a function that returns various items of information from an open 
file.
Read all about it in the BASIC manual or HELP BASIC FILEINFO.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE:[U2][UV]FILEINFO

2004-11-22 Thread Stu Glancy
Just curious.  Does anyone know about the "FILEINFO" program?  When is 
it run?  What does it do?  I found a reference to this in the fixes for 
UV-10.1.4.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-11-03 Thread Stu Glancy
I apologize for my incomplete response.  Perhaps I should have said 
"didn't have the quick answer I was looking for."  This forum is a great 
place to share ideas and anyone who offends here may not get the help 
they are looking for.  The only problem with this forum is the over 
response and analysis when a simple solution is wanted.  I didn't want 
to reply to every email, nor do I have the time to do so, so I was 
waiting for sufficient reply to see if someone had my answer.  Yes, 
there are other ways to solve my problem but Tom recognized my request 
for a simple example and an answer that met my needs.  Sorry if I offended.

Adrian Matthews wrote:
What I was getting at is that it easier to help people if they explain
the issue they are trying to solve rather than a problem with a
particular solution.
For example, if you wanted to run a remote telnet session to another U2
server just to execute another program then I might have suggested an
RPC call. It still might be the case that a "telnet script" is not the
best solution to what you are doing, but without knowing why you want to
do it...
Besides I only made the comment after postings from other people saying
"perhaps he's doing this" or "maybe he's doing that" so obviously a lot
of people wanted more detail.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: 02 November 2004 18:04
To: [EMAIL PROTECTED]
Subject: Re: [U2][UV]telnet
Au contrair.  Tom Firl was able to give me exactly what I needed.  I was
able to build a PAragraph with <> that executed a sh -c script 
passing the inputs to allow login and execution of a shell script.  I 
was after "concept" and Tom gave me concept. (See below.)  I used echo 
to pass my inputs and all worked just fine.  If you were frustrated with

my posting then perhaps you didn't have the answer.
SH -c '(sleep 1; echo username; sleep 1; echo password; sleep 5; echo
"ls -l"; sleep 3; echo "exit") | telnet hostname'
Adrian Matthews wrote:
 

I must admit that the original post is a good example of one of the
things I find really frustrating about this list. People just don't
   

give
 

enough info to get any real help.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rex Gozar
Sent: 29 October 2004 13:23
To: [EMAIL PROTECTED]
Subject: RE: [U2][UV]telnet
Bob:
I think Stu is trying to run another data entry application via telnet,
without the user realizing it.

   

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Witney
Sent: Friday, October 29, 2004 3:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2][UV]telnet
Stu:
I think that you are attempting to so something akin to this;
ftp -iv servername << EOF
  cd /account
  cd ramis_archive
  cd /account/CRG.VENDOR
  get filename
  quit
EOF
Where the login would be a line in .netrc on your home account
i.e machine servername login loginid password passwordone
I don't think that you can invoke a telnet session the same way
Bob
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stu Glancy
Sent: 28 October 2004 19:54
To: [EMAIL PROTECTED]
Subject: [U2][UV]telnet
I want to create a telnet script from a program and execute
it.  Can it
be done?  If it can, what would the EXECUTE look like?  What
would the
script look like?  I'm looking for concept and a little detail.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
  

 

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


The information contained in this email is strictly confidential and
   

for the use of the addressee only, unless otherwise indicated. If you
are not the intended recipient, please do not read, copy, use or
disclose to others this message or any attachment. Please also notify
the sender by replying to this email or by telephone +44 (0)20 7896 0011
and then delete the email and any copies of it. Opinions, conclusions
(etc.) that do not relate to the official business of this company shall
be understood as neither given nor endorsed by

Re: [U2][UV]telnet

2004-11-02 Thread Stu Glancy
Au contrair.  Tom Firl was able to give me exactly what I needed.  I was 
able to build a PAragraph with <> that executed a sh -c script 
passing the inputs to allow login and execution of a shell script.  I 
was after "concept" and Tom gave me concept. (See below.)  I used echo 
to pass my inputs and all worked just fine.  If you were frustrated with 
my posting then perhaps you didn't have the answer.

SH -c '(sleep 1; echo username; sleep 1; echo password; sleep 5; echo "ls -l"; sleep 3; echo 
"exit") | telnet hostname'
Adrian Matthews wrote:
I must admit that the original post is a good example of one of the
things I find really frustrating about this list. People just don't give
enough info to get any real help.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rex Gozar
Sent: 29 October 2004 13:23
To: [EMAIL PROTECTED]
Subject: RE: [U2][UV]telnet
Bob:
I think Stu is trying to run another data entry application via telnet,
without the user realizing it.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Witney
Sent: Friday, October 29, 2004 3:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2][UV]telnet
Stu:
I think that you are attempting to so something akin to this;
 ftp -iv servername << EOF
   cd /account
   cd ramis_archive
   cd /account/CRG.VENDOR
   get filename
   quit
 EOF
Where the login would be a line in .netrc on your home account
i.e machine servername login loginid password passwordone
I don't think that you can invoke a telnet session the same way
Bob
-Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Stu Glancy
Sent: 28 October 2004 19:54
To: [EMAIL PROTECTED]
Subject: [U2][UV]telnet
I want to create a telnet script from a program and execute
it.  Can it
be done?  If it can, what would the EXECUTE look like?  What
would the
script look like?  I'm looking for concept and a little detail.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
   

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


The information contained in this email is strictly confidential and for the use of 
the addressee only, unless otherwise indicated. If you are not the intended recipient, 
please do not read, copy, use or disclose to others this message or any attachment. 
Please also notify the sender by replying to this email or by telephone +44 (0)20 7896 
0011 and then delete the email and any copies of it. Opinions, conclusions (etc.) that 
do not relate to the official business of this company shall be understood as neither 
given nor endorsed by it.  IG Markets Limited and IG Index Plc are authorised and 
regulated by the Financial Services Authority and, in Australia, by the Australian 
Securities and Investments Commission.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
This was close.  I removed the exit and it sill exited.  I'd like to 
take over manually once I get in.

By the way, this example answered a question I've had for a while.  I 
saw automated telnet sessions posting and retrieving cash register 
transactions with a UniData server running Datatel's school 
administration software and wondered how it was done.  Wrap CAPTURE 
around this and I have the answer.

Tom Firl wrote:
For a variety of reasons (security being a big one), many people think that automating 
a telnet client isn't a good idea... Karl may be fishing for more information so as to 
suggest an alternative solution.
At any rate, the following has worked all right for simple tasks on an AIX system 
running Universe:
SH -c '(sleep 1; echo username; sleep 1; echo password; sleep 5; echo "ls -l"; sleep 3; echo 
"exit") | telnet hostname'
Tom Firl
Columbia Ultimate
 

-Original Message-
From: Stu Glancy [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 2:39 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2][UV]telnet
What the script does is not so important just yet.  How do 
you pass the 
login id and password?

[EMAIL PROTECTED] wrote:
   

I'm not sure you've given enough information. What would the 
 

script do?
   

What's it for?
I've created scripts that use ssh rather than telnet for automated
processes but never telnet.
Karl

 

I want to create a telnet script from a program and execute 
   

it.  Can it
   

be done?  If it can, what would the EXECUTE look like?  
   

What would the
   

script look like?  I'm looking for concept and a little detail.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
   

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

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


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
Didn't work.  I tried several times just in case I fat fingered somewhere.
Andrew McLaughlin wrote:
Try:
   CMD='SH -c "telnet myserver -l myuser << EOF ' : char(10):' 
password ' : char(10): ' EOF"'

That should pass in the password to the prompt via the "<<" input 
chevron. The "EOF" signals where the inputs should stop...

Andrew
Andrew McLaughlin - Business Systems Manager - Shurflo Pump LLC - 
Pentair Water Group
[EMAIL PROTECTED] - http://www.shurflo.com/
5900 Katella Ave - Cypress, CA  90630-5009
Main: 562-797-6668 - Cell: 714-270-6727

On Oct 28, 2004, at 2:36 PM, Stu Glancy wrote:
Too simple.  How do you pass the user id and password?
Lance Jahnke wrote:
CMD='SH -c "telnet myserver"'
EXECUTE CMD
END
* UniVerse

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


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
What the script does is not so important just yet.  How do you pass the 
login id and password?

[EMAIL PROTECTED] wrote:
I'm not sure you've given enough information. What would the script do?
What's it for?
I've created scripts that use ssh rather than telnet for automated
processes but never telnet.
Karl

 

I want to create a telnet script from a program and execute it.  Can it
be done?  If it can, what would the EXECUTE look like?  What would the
script look like?  I'm looking for concept and a little detail.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2][UV]telnet

2004-10-28 Thread Stu Glancy
Too simple.  How do you pass the user id and password?
Lance Jahnke wrote:
CMD='SH -c "telnet myserver"'
EXECUTE CMD
END
* UniVerse
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: Thursday, October 28, 2004 1:54 PM
To: [EMAIL PROTECTED]
Subject: [U2][UV]telnet
I want to create a telnet script from a program and execute it.  Can it 
be done?  If it can, what would the EXECUTE look like?  What would the 
script look like?  I'm looking for concept and a little detail.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2][UV]telnet

2004-10-28 Thread Stu Glancy
I want to create a telnet script from a program and execute it.  Can it 
be done?  If it can, what would the EXECUTE look like?  What would the 
script look like?  I'm looking for concept and a little detail.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Exit BASIC program with SELECT list?

2004-10-26 Thread Stu Glancy
I would never have thunk it.  Just reading the submissions from this 
list is a great learning experience.  The CHAIN 'GET-LIST ...' example 
is a better solution for a particular utility I wrote eight years ago 
and use every day.  Thanks!!

[EMAIL PROTECTED] wrote:
Try this. I've done this in a simple search program... It works fine.
   IF LIST.B THEN
  WRITELIST LIST.B ON 'TEMP&':@TTY:'&'
  CHAIN 'GET-LIST TEMP&':@TTY:'&'
   END
Vance
- Original Message - 
From: "Brian Leach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 26, 2004 9:23 AM
Subject: RE: [U2] [UV] Exit BASIC program with SELECT list?

 

Barry,
Another way is to CHAIN the select statement, rather than execute it.
Brian 
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
   

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


Re: [U2] connect to an access database

2004-10-25 Thread Stu Glancy
I was very interested to see your code but the attachment didn't make 
it.  Could you paste your code into another email?  Much appreciated.

Stu Glancy
Richard Taylor wrote:
Yes, you can do this, I have an operation program that reads and writes an
Access Database from a UV Basic program.  I am attaching a sample program
that shows the techniques written under Universe.  I had to change the
code to remove any proprietary information, but you should still be able
to follow the logic of reading and writing to an access database.  One
caveat, this was written to work with UV on Windows.  I believe that this
should work on Unix too as long as ODBC has been configured.  You will
also need to setup an odbc data source on the client that points to your
Access database. In this program that is call "SOSHIP" and is referenced
in the MDB.CONNECT subroutine.  Sorry I don't have an example of that, but
if you have trouble post back an I will dig in some more.
Rich Taylor | Senior Programmer/Analyst| VERTIS
250 W. Pratt Street | Baltimore, MD 21201
P 410.361.8688 | F 410.528.0319 
[EMAIL PROTECTED] | http://www.vertisinc.com

Vertis is the premier provider of targeted advertising, media, and
marketing services that drive consumers to marketers more effectively.
"The more they complicate the plumbing
 the easier it is to stop up the drain"
- Montgomery Scott NCC-1701
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 9:33 AM
To: [EMAIL PROTECTED]
Subject: [U2] connect to an access database
Hello all,
Is anyone familiar with a way to connect an MVBasic app to an access
database
or datasource ?
I need to be able to read/ write to/from a specifiac datasource. Is there
a
way I can connect from within a UV app to another datasource via ODBC ?
Any
transport will do really.
I was thinking of writing an outside app to do the data connection to
pass
and retr for the uvapp but if theres a more direct approach from the MVApp
itself, I'm wide open to suggestions.
Thanks in advance,
Vance
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
[demime 1.01d removed an attachment of type application/octet-stream which had a name 
of ACCESS DATABASE CODE]
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UD] running a subroutine

2004-10-20 Thread Stu Glancy
Criticisms for Mark:
Your concept won't work if there are commons that need to be set in the 
calling program.  However, with the use of named commons they can be set 
in a test program and then use your print which includes the "$INCLUDE 
file named.commons" in the command line.  (For those who don't know, 
named commons remain in memory between programs and can be used again 
until you logout.)


Bill H. wrote:
Mark:
The program at http://www.pickwiki.com/cgi-bin/wiki.pl?BPTest doesn't even
have these limitations.
This wiki has some pretty nice free programs.  I like to take the non-mvDbms
attitude: it's free so use it.  :-)  We should all post our free programs
there.
Bill
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson
Sent: Wednesday, October 20, 2004 5:54 AM
To: [EMAIL PROTECTED]
Subject: Re: [U2] [UD] running a subroutine
   

[snipped]
 

In fact, I welcome any criticisms or limitations anyone would have against
establishing this PRINT command to handle everything. I know of 2
limits: 1)
No hanging ELSE or THENs. 2) Cannot use READNEXT. Other than that I'm all
ears.
My 3 cents.
- Original Message -
From: "Peter Olson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 8:43 AM
Subject: RE: [U2] [UD] running a subroutine
   

"but i want more!"
found it!
0001: PQ
0002: HSELECT
0003: H EVAL "SUBR('
0004: A\2
0005: H',
0006: A3
0007: H )" FROM VOC FIRST 1;
0008: P
now it's
tcl>TS AGE.DATE -2224,42
Cool thanks!
 

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


Re: [U2] [UD] running a subroutine

2004-10-19 Thread Stu Glancy
One more possible solution:
This discussion intrigued me so I thought I'd give it a try for my 
situation.  I "usually" write subroutines with the first variable being 
the '"RESULT"; that way the sub can be used as an I-DESC or or used with 
an ITYPE in a program as well as a CALL.  I gave this a quick test and 
seems to work quite well.  Give it a try.

>ED VOC TEST.SUB
4 lines long.
: P
0001: PA
0002: LIST VOC _
0003: EVAL "SUBR('<>','<>')"_
0004: "TEST.SUB.ANS"
Bottom at line 4.
>ED VOC TEST.SUB.ANS
1 lines long.
: P
0001: X
Bottom at line 1.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Max Files Per Directory

2004-09-30 Thread Stu Glancy
A friend of mine, Simon Shapiro,  has worked for years with the Unix 
kernel to overcome the limitations of the sequential search in Unix 
directories.  He has created a b-tree index as the directory built into 
the kernel capable of millions of entries with instantaneous access to 
any of them.  This would have been great for UniVerse as a type 19 file 
or UniData DIR file.  Unfortunately his health is failing and this 
research project which he hoped to market is dieing with him.  Anybody 
interested in picking it up?


Scott Richardson wrote:
Stephen hit the nail on the head with the number I have always heard
when talking about optimal I/O threshold target limits for Unix file
systems.
Many years of benchmarking large SMP UNIX architectures and
applications on those seem to confirm those numbers as well. I'd be
willing to say the same about Windows, as a general rule, and
because it simply makes good sense.
Combine file system fragmentation issues, with a little bit too much
indirection, inflicted by huge directories with lots of files, bits and
pieces, and you've got less than desirable I/O performance.

- Original Message - 
From: "Stephen O'Neal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 30, 2004 11:38 AM
Subject: Re: [U2] [UV] Max Files Per Directory

 

[EMAIL PROTECTED] wrote:
   

I've heard some discussions in the past regarding limiting the number of
files per directory to help OPEN performance.  Does anyone have any
real-world experience on what a reasonable limit might be on a *nix file
system?
 

This topic was presented on this at the DM Technical Users Conference.
Our experience shows that it effects the length of time it takes to open a
file.  The reason is the length of time it takes to traverse the directory
table to find the file.  Literally, we have seen directories (accounts)
with upwards of 4,000 files & dictionaries!  We saw improvement in speed
when reduced to the 1,000 entry range.
But this is pail in comparison to keeping files opened thru labeled
   

common.
 

We HIGHLY recommend holding files open in common!
FYI,
  Steve
  Stephen M. O'Neal, CDP &  IBM Certified
  SWG Services Sales Specialist / Channels & U2
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
   

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


Re: [U2] "thoroughbred basic"

2004-09-30 Thread Stu Glancy
Brian Leach wrote:
Stu,
The problem is you obviously haven't *embraced* the new technology !
Flat files - Sooo yesterday.
Now what you should have done is spent a few weeks designing and building an
XML schema (preferably using an overpriced and complex 'now' tool like Visio
or .Net), then exported the data from Mentor into that schema, and finally
spent more weeks remapping the schema onto UniVerse...
That would have been the modern approach. 

There you go. See how far forward technology has taken us.
Brian "cynical - who me?" Leach
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy
Sent: 30 September 2004 13:02
To: [EMAIL PROTECTED]
Subject: Re: [U2] "thoroughbred basic"
These recent comments show how old some of us are.  Twenty years ago I was
introduced to Prime and Armstrong Basic and Information.  This was a
migration and we did it with flat files in two 80+ hour work weeks.  I
recently did 2 migrations from Mentor to UniVerse where media compatibility
was a problem so the answer was ftp flat files.  After 29 years in this
industry, the problems and answers always seem to be about the same,
sometimes with a new technology twist.

This email was checked on leaving Microgen for viruses, similar
malicious code and inappropriate content by MessageLabs SkyScan.
DISCLAIMER
This email and any attachments are confidential and may also be
privileged.
If you are not the named recipient, please notify the sender
immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information.
In the event of any technical difficulty with this email, please
contact the sender or [EMAIL PROTECTED]
Microgen Information Management Solutions
http://www.microgen.co.uk
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
 

You're right.  I haven't *embraced* the new technology.  I learn and use 
what I need to when I need to otherwise I wouldn't get anything done.  
There is too much out there to chase it all.  I tried and gave up.   It 
was too time and  money consuming.  In the mean time,  old tricks seem 
to do a lot.  After all, underneath it is just bytes.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] "thoroughbred basic"

2004-09-30 Thread Stu Glancy
These recent comments show how old some of us are.  Twenty years ago I 
was introduced to Prime and Armstrong Basic and Information.  This was a 
migration and we did it with flat files in two 80+ hour work weeks.  I 
recently did 2 migrations from Mentor to UniVerse where media 
compatibility was a problem so the answer was ftp flat files.  After 29 
years in this industry, the problems and answers always seem to be about 
the same, sometimes with a new technology twist.

Scott Richardson wrote:
I concur with Larry - not an easy migration at all.
Secondly - Thanks Larry - BP99 from Chuck Armstrong!
Bill Coffing was the Prime rep out of greater Chicago area who
was Prime's main technical guru on converting various
Business BASIC applications to BP99.
Regards
Scott Richardson
- Original Message - 
From: "Larry Hiscock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 30, 2004 2:11 AM
Subject: RE: [U2] "thoroughbred basic"

%
 

All in all, I don't think there's a big market for Business Basic to U2
conversions.  Especially since most of the modern Business Basics have
   

full
 

GUI and OO capabilities built in, albeit implemented in slightly different
ways.
On another note:  someone earlier mentioned a Business Basic interpreter
that ran on the Prime.  The name of the product was BP99, from Chuck
Armstrong (Armstrong System House).
Larry Hiscock
Western Computer Services
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] I descriptor and subroutine

2004-09-28 Thread Stu Glancy
U2 Users Group, International wrote:
Forums U2 Users Group, International
Community :: Chatter ::.. I descriptor and subroutine
rotto wrote at Sep 28, 2004 - 05:34 PM
-
Hey,
I'm running a sub from an I-descriptor in uv. I want to count the number of records in 
a table, but you cannot do a SELECT or COUNT in a sub running from i-descriptor.
Is there any other way to get the number of records in such a sub or in a i-descriptor?
Thanks
Rehan
-
My VOC record COUNT.REC will count records in a file from an I-Descriptor:
0001: I
0002: SUBR("SUB.COUNT.REC",@ID)
0003:
0004: COUNT
0005: 30L
0006: S
0001:   SUBROUTINE SUB.COUNT.REC(RESULT,FILENAME)
0002:   OPEN FILENAME TO FILE THEN
0003:  SELECTN FILE TO 2
0004:  DONE = 0
0005:  CNTR = 0
0006:  LOOP
0007: READNEXT K FROM 2 ELSE DONE = 1
0008:  UNTIL DONE
0009: CNTR += 1
0010:  REPEAT
0011:  RESULT = CNTR
0012:   END ELSE
0013:  RESULT = 'OPEN ERROR'
0014:   END
0015:   CLOSE FILE
0016:   RETURN
Bottom at line 16.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] SOX - TCL command logging / auditing

2004-09-16 Thread Stu Glancy
You can use "R"emote VOC entries to control access and logging the use 
of TCL commands.  For instance, the ED verb could be copied to VOCLIB 
and replaced with;

1) R
2) VOCLIB
3) ED
4) security_logging_subroutine_of_your_own_making
Buss, Troy (Logitek Systems) wrote:
Does anyone know if there is a built in facility within universe for
logging TCL commands by account or even globally?  Something similar
perhaps as the 'errlog' feature.
Of concern by an internal SOX (sarbanes-oxley) audit was that its
possible for data to be changed outside of the application.
Specifically, "direct access to data could remain undetected resulting
in unauthorized changes to financial data, affecting data integrity".
Thanks!
-Troy
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV: FMT and FMTS processing of CHAR(247) differs

2004-09-02 Thread Stu Glancy
The functions that deal with delimeters are RAISE and LOWER.  The UniVerse
defined delimiters are from 255 to 248.  I use LOWER to combine all
associated records into fields of one record for archiving and RAISE to
unarchive into individual records.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin Scholl
Sent: Wednesday, September 01, 2004 7:04 PM
To: [EMAIL PROTECTED]
Subject: RE: [U2] UV: FMT and FMTS processing of CHAR(247) differs


I've heard once that UniVerse goes down to char(246) as system delimiters.
Don't know where it came from. (Probably this list)
I would love to have the ability to access those values with the normal
tools of Basic or UniObjects, but I guess this is one case where there show
through.

Martin Scholl
President Martin Scholl Consulting, Inc.
http://www.hipaasuite.com/
mailto:[EMAIL PROTECTED]
18910 New Hampshire Ave
Brinklow, MD 20862
301-924-5537  Phone
301-570-0139  Fax
301-613-9572  Cell

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Barry Brevik
Sent: Wednesday, September 01, 2004 3:36 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] UV: FMT and FMTS processing of CHAR(247) differs

>Problem: FMTS is supposed to FMT each field of a given dynamic array.
>It appears to be wrong if source data in a field of the array contains
CHAR(247).

If you look at the DOCs for REMOVE (for example), it indicates that the
lowest system delimiter is CHAR(248), and that is true with REMOVE.

However, I've noticed that some of the functions like FMTS() and FIELDS()
also consider CHAR(247) to be a system delimiter. Experimentation has shown
me that CHAR(246) and below are safe to use.

I've always wondered about the discrepancy though.

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


Re: [U2] Paragraphs in Files Other Than VOC

2004-08-09 Thread Stu Glancy
Use VOCLIB, a standard file, with a type R record in the VOC.  Here is an
example:

R
VOCLIB
MY.PARAGRAPH.OR.PROGRAM.OR.VERB
OPTIONAL.SECURITY.PROGRAM

- Original Message -
From: "Perry Taylor" <[EMAIL PROTECTED]>
To: "U2-Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 09, 2004 11:04 AM
Subject: [U2] Paragraphs in Files Other Than VOC


> Is it possible to store paragraphs in files other than the VOC?  I'm
> looking for a way to not clutter up the VOC with paragraphs... something
> like can be done with PROCs.
>
> Thanks.
>
> Perry Taylor
> Zirmed, Inc.
>
>
>
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited. ZirMed, Inc. has strict policies regarding the
content of e-mail communications, specifically Protected Health Information,
any communications containing such material will be returned to the
originating party with such advisement noted. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies
of the original message.
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Univere Login Security

2004-08-04 Thread Stu Glancy
Send an email to him where he has a program checking for your email and
extracts info to update the table prior to your logging in.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "u2-Users" <[EMAIL PROTECTED]>
Sent: Wednesday, August 04, 2004 12:45 PM
Subject: [U2] Univere Login Security


> Hi all,
> A buddy of mine wants me to be able to login to his computer on a routine
basis to give him a hand with some development.  Currently, he has a process
that matches the ip address to the username and if it does not match, the
user gets booted.  The problem that I have is that my ip address is dynamic.
Given the fact that this is a unix machine that I will be logging into, I
assume that I cannot use a mac address or anything like that,  Can someone
out there give me a simple and effective solution for this?
>
> Thanks,
>
> Scott
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Phantom Problem

2004-08-02 Thread Stu Glancy
I have a similar process.  The spawning process clears a control record,
spawns the phantoms, and checks the control record at a fixed interval.
Each spawned phantom reports to the control record when it is finished.
When the spawning phantom has the results from all the spawned phantoms, it
emails me a message and stops.  No defunct processes.

- Original Message -
From: "Nick Cipollina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 31, 2004 3:26 PM
Subject: [U2] [UV] Phantom Problem


> We are having a problem with our phantom processes.  We have a job that
> runs as a phantom that spawns many phantom processes.  When these many
> phantom processes die, they are leaving behind a  process.
> This is cause  when the phantom process attempts to notify the process
> that started it that they are complete.  Since they were started by a
> phantom, there is no process to notify.  I've run into this before, but
> I don't' remember how we resolved it.  I got my solution from this user
> list, and I'm hoping that someone can refresh my memory.  Thanks in
> advance.
>
>
>
> Nick Cipollina
>
>
>
> Pick Programmer
>
> ACS - Heritage Information Systems, Inc.
>
> 2810 North Parham Road, Suite 210
>
> Richmond, VA 23294
>
> (804)644-8707 x 314
>
> [demime 1.01d removed an attachment of type image/jpeg which had a name of
image001.jpg]
>
> [demime 1.01d removed an attachment of type image/gif which had a name of
image002.gif]
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] merge sort

2004-07-27 Thread Stu Glancy
Another simple solution may be to use REFORMAT.  Read HELP REFORMAT if
you're not familiar with it.  Here is an example:

REFORMAT MYFILE BY  EVAL "@RECORD<6>:'|':@ID" SEQ EVAL "@RECORD<6>" @ID
@RECORD < 6 > : | : @ID
@RECORD < 6 >
File Name =WORKFILE

SEQ is an I-Descriptor in the VOC that can be used by any file:

0001: I
0002: @2;@+1
0003:
0004: SEQ
0005: 9R
0006: S

The key to WORKFILE is a sequential counter, field 1 is the zip code, and
field 2 is the key to the original file.  Here is a sample of the results:

>SSELECT WORKFILE

8387 record(s) selected to SELECT list #0.
>>CT WORKFILE
You have an active SELECT list.

 1
0001 00491-0062
0002 56487721

 2
0001 00802-1305
0002 55960316

 3
0001 00921-1736
0002 56487733

 4
0001 00926
0002 56487004

 5
0001 00957
0002 55681944

 6
Press any key to continue...

- Original Message -
From: "Stu Glancy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 9:46 AM
Subject: Re: [U2] merge sort


> Try this for an easy sorted list assuming field 6 is the field to sort on:
>
> 0001: PA
> 0002: SELECT MYFILE SAVING EVAL "@RECORD<6>:'|':@ID"
> 0003: SAVE.LIST MYLIST
> 0004: SH -c 'sort "&SAVEDLISTS&"/MYLIST > "&SAVEDLISTS&"/MYLIST.OUT'
>
> You can then do a REANEXT and FIELD the key in a program after executing
> "GET.LIST MYLIST.OUT".
>
> - Original Message -
> From: "Chuck Mongiovi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 27, 2004 8:28 AM
> Subject: RE: [U2] merge sort
>
>
> > > Just to avoid the obvious question, you have tried using the LOCATE
and
> > > INSERT commands?  If not this is an easy to use construct.
> >
> > No, I have to admit that I haven't .. In order to use LOCATE, I have to
> > transpose my data:
> >
> > >REC<1> = A]W]1]5]15
> > >REC<2> = B]X]2]6]25
> > >REC<3> = C]Y]3]7]100
> > >REC<4> = D]Z]4]8]11
> >
> > to
> >
> > REC<1> = A]B]C]D
> > REC<2> = W]X]Y]Z
> > REC<3> = 1]2]3]4
> > REC<4> = 5]6]7]8
> > REC<5> = 15]25]100]11
> >
> > I think this (and some version of the SHELL sort or DIMmed arrays) will
> work
> > for me ..
> >
> > Thanks for all of the help everyone ..
> > -Chuck
> > ---
> > u2-users mailing list
> > [EMAIL PROTECTED]
> > To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] merge sort

2004-07-27 Thread Stu Glancy
Try this for an easy sorted list assuming field 6 is the field to sort on:

0001: PA
0002: SELECT MYFILE SAVING EVAL "@RECORD<6>:'|':@ID"
0003: SAVE.LIST MYLIST
0004: SH -c 'sort "&SAVEDLISTS&"/MYLIST > "&SAVEDLISTS&"/MYLIST.OUT'

You can then do a REANEXT and FIELD the key in a program after executing
"GET.LIST MYLIST.OUT".

- Original Message -
From: "Chuck Mongiovi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 8:28 AM
Subject: RE: [U2] merge sort


> > Just to avoid the obvious question, you have tried using the LOCATE and
> > INSERT commands?  If not this is an easy to use construct.
>
> No, I have to admit that I haven't .. In order to use LOCATE, I have to
> transpose my data:
>
> >REC<1> = A]W]1]5]15
> >REC<2> = B]X]2]6]25
> >REC<3> = C]Y]3]7]100
> >REC<4> = D]Z]4]8]11
>
> to
>
> REC<1> = A]B]C]D
> REC<2> = W]X]Y]Z
> REC<3> = 1]2]3]4
> REC<4> = 5]6]7]8
> REC<5> = 15]25]100]11
>
> I think this (and some version of the SHELL sort or DIMmed arrays) will
work
> for me ..
>
> Thanks for all of the help everyone ..
> -Chuck
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] How big is "BIG" for Linux

2004-07-12 Thread Stu Glancy
We have 601 licenses of 10.1.1 on Red Hat Enterprise Linux AS release 3
(Taroon Update 1)
Kernel 2.4.21-9.ELsmp on an i686 (Dell 2600 with 2 multi-threading
processors and 6G memory.).  Memory is crucial for best performance.  The
most users at any one time has been 290.  Performance smokes (highly
technical term).  We moved from an HPUX 10.0 and got 3x the disk io and 10x
the cpu crunches.  Our day end runs 3x faster (disk io bound).  We've been
running since conversion with no down time for 4 weeks.  Another benefit is
considerable less cost, maintenance, and support expense.  uptime load
averages are higher but we believe that is because of the multi-threading
pushing the io faster than the io can happen and processes get stacked up in
memory.  It causes no ill effects and just something to get use to.  We've
had it as high as 40+ and it clears up in a short time with no noticeable
performance hit to the users.  The HP would have died long before getting
that high.  We love out Linux (if loving an inanimate object is possible).

- Original Message -
From: "Ross Ferris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 11, 2004 10:43 PM
Subject: [U2] How big is "BIG" for Linux


> Im trying to get a handle for how many users UV (or UD) can support on a
> reasonable Intel Linux Box (say, dual CPUs and a few gig of RAM). I
know
> that it all depends, but Id suggest that when you get right down to it,
> with a non-trivial user population, the guts of the application (what is
> going on under the hood) becomes less important (assuming it is well
written,
> otherwise it probably wouldnt scale to the size Im interested in)
>
>
>
> I was surprised to learn that there are quite a few 300+ user sites
running
> on NT, so was trying to get a handle on how far people had pushed Linux,
> and/or/if people bail to real Unix before they hit a few hundred.
>
>
>
> This is just a curiosity post as much as anything, trying to get a real
> world picture of what is possible.
>
>
>
> Ross Ferris
> Stamina Software
>
> Visage  an Evolution in Software Development
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.718 / Virus Database: 474 - Release Date: 9/07/2004
>
> [demime 1.01d removed an attachment of type image/jpeg which had a name of
image001.jpg]
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Printer Question

2004-06-03 Thread Stu Glancy
You could print to &HOLD& by SETPTR ,3,BANNER reportname and the assign
a printer ans spool and then assign the other printer and spool.  You also
could open 2 printers and print each line twice, once to each printer.

- Original Message -
From: "George Gallen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 2:46 PM
Subject: RE: [U2] Printer Question


> or use tee inside one driver script to send it to another driver script
> this way you do not need a temp file.
>
> George
>
>
> >-Original Message-
> >From: Drew Henderson [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, June 03, 2004 2:26 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: [U2] Printer Question
> >
> >
> >One way would be to do it in a driver script; cat the output to a temp
> >file, then cat that temp file to
> >each printer (assuming you are on a unix-variant).
> >
> >Drew
> >
> >Walker, Dave (Ivy Hill) wrote:
> >
> >>Is there a way to assign TWO printers to a single print job.
> >I.E., we want a
> >>report to print both on the shipping floor and in the
> >shipping manager's
> >>office. The only thing I could come up with was to run the
> >report once for
> >>each printer. Any way to generate it once and send it to both
> >printers at
> >>the same time?
> >>
> >>TIA
> >>--
> >>Dave Walker
> >>,... ???))  -:|:-
> >>  -:|:-,..? ..???))
> >> ((,,..?  ...?  -:|:-
> >>((,,..?   * Peace
> >>---
> >>u2-users mailing list
> >>[EMAIL PROTECTED]
> >>To unsubscribe please visit http://listserver.u2ug.org/
> >>
> >>
> >
> >--
> >--
> >Drew Henderson "There are two types of people -
> >Dir. for Computer Center Operations those who do the work and those
> >[EMAIL PROTECTED] who take the credit. Try to be
> >in the first group, there is
> >110 Ginger Hall less competition."
> >Morehead State University   Indira Ghandi
> >Morehead, KY  40351
> >Phone: 606/783-2445   Fax: 606/783-5078
> >--
> >---
> >u2-users mailing list
> >[EMAIL PROTECTED]
> >To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] TIME() truncation

2004-05-27 Thread Stu Glancy
According to IBM, the problem is only on RH 10.1.1.  I have the same problem
and reported it.  The next release ("sometime this summer") will have
uvconfig "TIMEACCURACY 0" working correctly.

- Original Message -
From: "Karl L Pearson" <[EMAIL PROTECTED]>
To: "u2-users" <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 2:02 PM
Subject: [U2] [UV] TIME() truncation


> I remember seeing this but searching archives isn't working at
> oliver.com. My main problem with searching is that I can't remember the
> correct text to search for.
>
> I have a client that uses TIME() in filenames, etc. when creating items,
> and even for creating some files. They just upgraded from UV9.6 (HPUX)
> to 10.n and are getting numbers like 12345.9239813 and want to get rid
> of the .9239813 part. Using field(TIME(),'.',1) is not acceptible
> because they have about 2000 programs they'd have to modify. They are
> hoping for an OS-based solution. Is there one? I can't remember because
> at the time this was being discussed, it wasn't an issue.
>
> TIA,
>
> --
> Karl L. Pearson
> Director of IT,
> ATS Industrial Supply
> Direct: 801-978-4429
> Toll-free: 888-972-3182 x29
> Fax: 801-972-3888
> http://www.atsindustrial.com
> [EMAIL PROTECTED]
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.u2ug.org/listinfo/u2-users
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Re: Unclassified RE: [U2] [UV] TIME() precision on UV 10.1

2004-05-14 Thread Stu Glancy
TIMEACCURACY didn't work for me either.   I've reported it to IBM.
- Original Message -
From: "HENDERSON MICHAEL MR" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 11, 2004 8:43 PM
Subject: Unclassified RE: [U2] [UV] TIME() precision on UV 10.1


> John,
>
> Your 9.6 system was HP-UX, right?
> The change came at 10.0.4 IIRC, and brings HP-UX in line with all the
other
> ports.
> Check the list archives, there have been two or three discussions on this
in
> the last twelve months or so.
>
> I _think_ you'll have to put a "$OPTIONS TIME.MILLISECOND" into every
> program unit whose behaviour you want to change (and re-compile of
course).
>
>
> HTH
>
> Mike
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of John Hester
> Sent: Wednesday, 12 May 2004 12:02
> To: U2 Users Discussion List
> Subject: [U2] [UV] TIME() precision on UV 10.1
>
> I'm working on an upgrade from UV 9.6 to 10.1 and need TIME() to behave as
> it used to for backward compatibility.  UV 10.1 is running on RedHat EL
3.0.
> I changed TIMEACCURACY to 0 in uvconfig and executed uvregen, but TIME()
is
> still showing milliseconds instead of whole seconds.  What am I missing?
>
> TIA,
> John
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.u2ug.org/listinfo/u2-users
>
> The information contained in this Internet Email message is intended
> for the addressee only and may contain privileged information, but not
> necessarily the official views or opinions of the New Zealand Defence
Force.
> If you are not the intended recipient you must not use, disclose, copy or
> distribute this message or the information in it.
>
> If you have received this message in error, please Email or telephone
> the sender immediately.
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.u2ug.org/listinfo/u2-users
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Re: [U2] A MERGE.LIST utility that may be useful

2004-05-14 Thread Stu Glancy
Since I like PAragraphs I've come up with my solution:

0001: PA
0002: * ML type list1 list2 list3
0003: * <>
0004: GET.LIST <> TO 1
0005: GET.LIST <> TO 2
0006: IF <> = "U" THEN GO UNION
0007: IF <> = "D" THEN GO DIFFERENCE
0008: IF <> = "I" THEN GO INTERSECTION
0009: *
0010: UNION:
0011: MERGE.LIST 1 UNION 2 TO 3
0012: SAVE.LIST <> FROM 3
0013: DISPLAY UNION
0014: GO FINISH
0015: *
0016: DIFFERENCE:
0017: MERGE.LIST 1 DIFFERENCE 2 TO 3
0018: SAVE.LIST <> FROM 3
0019: DISPLAY DIFFERENCE
0020: GO FINISH
0021: *
0022: INTERSECTION:
0023: MERGE.LIST 1 INTERSECTION 2 TO 3
0024: SAVE.LIST <> FROM 3
0025: DISPLAY INTERSECTION
0026: GO FINISH
0027: *
0028: FINISH:
0029: CLEARPROMPTS


- Original Message -
From: "Jan Shaw and Keith Johnson" <[EMAIL PROTECTED]>
To: "U2-Users" <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 1:28 AM
Subject: [U2] A MERGE.LIST utility that may be useful


> My first post to the new list was this, but I don't see it in the digest
so
> I'm re-sending it.
>
>
>
>
> I was doing a little consulting work at a new client when I finally got
> around to writing a utility I have been thinking about for some time.
>
> As a background, I usually copy the various ...LIST verbs to two-letter
> equivalents; EL for EDIT.LIST, SL for SAVE.LIST, CL for COPY.LIST, DL for
> DELETE.LIST, and GL for GET.LIST.
>
> The utility is ML for MERGE.LIST, but it has a twist.  While MERGE.LIST
> works on the active numbered select lists, my ML command works on saved
> lists.  Frankly, I have always found it a chore to pull the saved lists
into
> two active ones before using MERGE.LIST,  I have also found it a pain to
> have to remember how much of INTERSECTION I had to write, so my version
only
> requires the first letter.
>
> Now it worked fine at the client under Universe, merging two lists (LISTA
> and LISTB) into one active list (number 3).  When I got it home I added
the
> ability to save the resultant list to LISTC - and this works fine under
QM.
> Your mileage may vary - don't hassle me if something goes wrong - it's a
> "source code resource" - etc., etc.
>
> And here is the code
>
> *
>   PROGRAM ML
> * TCL - KRJ - Merge list program - Universe
> *
> * Pick up the input line and make it a dynamic array
>   LINE = TRIM(@SENTENCE)
>   CONVERT ' ' TO @AM IN LINE
>   WORD = LINE<1>
>   IF WORD = 'RUN' THEN
>  DEL LINE<1>
>  DEL LINE<1>
>   END
>   DEL LINE<1>
> *
> * See if we have enough words - if not, give them help
>   XXCNT = DCOUNT(LINE,@AM)
>   IF XXCNT LT 3 THEN
>  CRT @(-1)
>  CRT 'ML Command Syntax'
>  CRT
>  CRT 'ML LISTA COMMAND LISTB [LISTC]'
>  CRT
>  CRT 'ML is a program to execute MERGE-LIST on saved lists'
>  CRT 'LISTA and LISTB are the two saved lists while'
>  CRT 'COMMAND is one of the valid MERGE-LIST commands'
>  CRT
>  CRT 'DIFFERENCE, INTERSECTION, and UNION (only the first':
>  CRT 'letter is required)'
>  CRT
>  CRT 'LISTC is an optional name to save the result'
>  CRT
>  STOP
>   END
> *
> * Now check we can understand the command part
>   WORD = UPCASE(LINE<2>[1,1])
>   BEGIN CASE
>  CASE WORD = 'I'
> WORD = 'INTERSECTION'
>  CASE WORD = 'D'
> WORD = 'DIFFERENCE'
>  CASE WORD = 'U'
> WORD = 'UNION'
>  CASE 1
> CRT 'Last word must begin with "D", "I", or "U"'
> STOP
>   END CASE
> *
> * Clear the three select lists we are using
>   CLEARSELECT 1
>   CLEARSELECT 2
>   CLEARSELECT 3
> *
>   EXECUTE 'GET.LIST ':LINE<1>:' TO 1' RETURNING A
>   IF A < 0 THEN STOP
>   EXECUTE 'GET.LIST ':LINE<3>:' TO 2' RETURNING A
>   IF A < 0 THEN
>  CLEARSELECT 1
>  CRT 'SELECT list number 1 cleared.'
>  STOP
>   END
>   VERB = 'MERGE.LIST 1 ':WORD:' 2 TO 3'
>   CRT
>   CRT VERB
>   PERFORM VERB
> *
>   WORD = LINE<4>
>   IF WORD NE '' THEN
>  EXECUTE 'SAVE.LIST ':WORD:' FROM 3'
>   END
> *
>END
> *
>
>
> Regards, Keith Johnson
>
> Owner/Host
>
> www.emeraldglenlodge.co.nz
> 04 299 3066
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.u2ug.org/listinfo/u2-users
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Re: [U2] Universe SIMPLE database management tool

2004-05-11 Thread Stu Glancy
Just an historical note.  I believe that SIMPLE was part of the PC product
from Prime Information.
- Original Message -
From: "Rob Thometz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 10, 2004 7:00 PM
Subject: [U2] Universe SIMPLE database management tool


> Wondering if anyone has had any experience with the SIMPLE (originally
> marketed by Vmark) database management tool, running on Universe. We
> currently have a Universe system with the SIMPLE tool installed.
> Management has asked that we look into stripping SIMPLE out of Universe
> or find out if any conversion tools exist to convert to another more
> scalable database management tool. Our use of the tool is limited mainly
> to screen processing (&SCREENS& file). If anyone has any information I'd
> greatly appreciate it.
>
> Rob Thometz
> Info Tech Analyst
> City of St. Paul, Minnesota
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.u2ug.org/listinfo/u2-users
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Re: [U2] Loneliness

2004-05-07 Thread Stu Glancy
Sometime loneliness is a blessing.  (Sometimes too many postings - and they
get deleted without being read.)
- Original Message -
From: "Daly, Mark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 07, 2004 10:10 AM
Subject: [U2] Loneliness


> I haven't seen any postings in a couple of days. Anyone out there?
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.u2ug.org/listinfo/u2-users
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users