Re: [U2] [AD] UniBasic Program with arguments

2005-02-03 Thread Mats Carlid
Well,
actually you can, sort of :
LIST VOC SAMPLE 1 EVAL  SUBR('your.subroutine', arg1 , arg2 )
Then we can argue forever if this is really running from TCl or what.  ;^)
And  IIRC  this has been mentioned on the list before.
-- mats
Chauhan, Savita wrote:
Thanks all you guys for all your replies. 
This list has come to my rescue so many times. I have so much more to
learn.

I realized that I can run my program (with args) only as one of the
following (without any external utitlity) :
1. as a subroutine (with no args, but can use @COMMAND to read the
command line)
2. as an external subroutine (with args)
If I make it a subroutine, then I cannot call it from another pgm and
pass it args.
If I make external subroutine, I cannot run it from TCL.
Thanks again.
Savita Chauhan, 
Programmer/Analyst
x:1754 Central Texas College.
---
Change is the only Constant.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
Sent: Wednesday, February 02, 2005 8:18 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [AD] UniBasic Program with arguments
Here it is, pretty quickly.
Create a Databasic Program, I call mine PRINT (losing regard for PRINT
being
there). That is a simple program that takes the @COMMAND or PROCREAD or
TCLREAD line you just typed as the first line in a Basic program, throw
an
END at the end, compile and run itself.
Thus, you can have this or virtually any single line program run from
TCL.
This is the absolutely best and simplest method. I use this 100's of
time a
day for testing the OCONV's, simple math, anything. Its only limitation
is
multiple line IF statements or anything with an ELSE.
PRINT ; CALL MY.SUB(ARG1, ARG2, WHATEVER) ; PRINT WHATEVER
PRINT 5+5
PRINT OCONV(12345,DMA)
PRINT ; OPEN MD THEN READ X FROM YOUR.ID THEN WRITEV A ON
SOMETHING,
2
PRINT ; FOR I=1 TO 15 STEP 2 ; PRINT I,I*11 ; NEXT I
ED MD PRINT
001 PQN
002 HRUN BP PRINT.PROG
003 P
ED BP PRINT.PROG
001 PROCREAD TEST ELSE STOP
OR
001 TCLREAD TEST
OR
001 [EMAIL PROTECTED]
001+ CONVERT CHAR(254) TO   IN TEST
002 OPEN BP TO F.BP ELSE STOP
003 TEST2=END
004 ID=PRINTTT
005 WRITE TEST ON F.BP, ID
006 EXECUTE DECATALOG BP :ID
007 EXECUTE BASIC BP :ID
008 EXECUTE RUN BP :ID
That's it. I created this in 1978 and have written 2 articles about it,
one
in Datastream and the other for Spectrum. It should be part of the MV
OS.
My 3 cents.
- Original Message -
From: Chauhan, Savita [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, February 01, 2005 5:48 PM
Subject: [U2] [AD] UniBasic Program with arguments
 

Hi,
I am trying to run a unibasic program (external subroutine) that takes
two arguments.
I don't know how do I pass it the arguments if I run it directly from
shel prompt instead of calling it from another program.
I have gone through the manual, but can't find anything. Pls help.
Thanks
Savita.
---
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/
---
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] Printronix + HP-Ux + JetDirect

2005-02-03 Thread u2
Note that a JetDirect will have two predefined queues, if you use lpd-style 
printing.

raw will pass the byte-stream directly to the print engine, and tends to 
produce strange results with unix text files :-)

text intelligently handles crlf and variants... (basically, lf implies cr)

Cheers,
Wol



use the dumb driver (no thats not a joke) it outputs just plain ol ascii 
which is what that printer will want to deal with.  You can telnet to the jet 
direct and set it up from there.  I've done a few of these and once the 
jetdirect is setup to only send ascii, and the HP-UX system see's it as a 
dumb printer then you'll be fine.

Thanks,



Don Kibbey
Financial Systems Manager
Finnegan, Henderson, Farabow, Garrett  Dunner LLP


 [EMAIL PROTECTED] 02/02/05 03:07PM 
We have a legacy Printronix P300 greenbar printer that we would like to
LAN-connect to our new HP-Ux server via an external HP JetDirect print
server.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [AD] UniBasic Program with arguments

2005-02-03 Thread Brian Leach
Mats,

Clever but not quite there... 
That would only work if the subroutine used arg 1 as a return argument.

Brian

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
 Sent: 03 February 2005 10:22
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] [AD] UniBasic Program with arguments
 
 Well,
 
 actually you can, sort of :
 
 LIST VOC SAMPLE 1 EVAL  SUBR('your.subroutine', arg1 , arg2 )
 
 Then we can argue forever if this is really running from TCl 
 or what.  ;^)
 
 And  IIRC  this has been mentioned on the list before.
 
 -- mats
 
 
 Chauhan, Savita wrote:
 
 Thanks all you guys for all your replies. 
 This list has come to my rescue so many times. I have so 
 much more to 
 learn.
 
 I realized that I can run my program (with args) only as one of the 
 following (without any external utitlity) :
 1. as a subroutine (with no args, but can use @COMMAND to read the 
 command line) 2. as an external subroutine (with args)
 
 If I make it a subroutine, then I cannot call it from 
 another pgm and 
 pass it args.
 If I make external subroutine, I cannot run it from TCL.
 
 Thanks again.
 
 Savita Chauhan,
 Programmer/Analyst
 x:1754 Central Texas College.
 ---
 Change is the only Constant.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
 Sent: Wednesday, February 02, 2005 8:18 AM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] [AD] UniBasic Program with arguments
 
 Here it is, pretty quickly.
 
 Create a Databasic Program, I call mine PRINT (losing regard 
 for PRINT 
 being there). That is a simple program that takes the @COMMAND or 
 PROCREAD or TCLREAD line you just typed as the first line in a Basic 
 program, throw an END at the end, compile and run itself.
 
 Thus, you can have this or virtually any single line program 
 run from 
 TCL.
 This is the absolutely best and simplest method. I use this 100's of 
 time a day for testing the OCONV's, simple math, anything. Its only 
 limitation is multiple line IF statements or anything with an ELSE.
 
 PRINT ; CALL MY.SUB(ARG1, ARG2, WHATEVER) ; PRINT WHATEVER
 
 PRINT 5+5
 PRINT OCONV(12345,DMA)
 PRINT ; OPEN MD THEN READ X FROM YOUR.ID THEN WRITEV A ON 
 SOMETHING,
 2
 PRINT ; FOR I=1 TO 15 STEP 2 ; PRINT I,I*11 ; NEXT I
 
 ED MD PRINT
 001 PQN
 002 HRUN BP PRINT.PROG
 003 P
 
 ED BP PRINT.PROG
 001 PROCREAD TEST ELSE STOP
 OR
 001 TCLREAD TEST
 OR
 001 [EMAIL PROTECTED]
 001+ CONVERT CHAR(254) TO   IN TEST
 002 OPEN BP TO F.BP ELSE STOP
 003 TEST2=END
 004 ID=PRINTTT
 005 WRITE TEST ON F.BP, ID
 006 EXECUTE DECATALOG BP :ID
 007 EXECUTE BASIC BP :ID
 008 EXECUTE RUN BP :ID
 
 That's it. I created this in 1978 and have written 2 
 articles about it, 
 one in Datastream and the other for Spectrum. It should be 
 part of the 
 MV OS.
 
 My 3 cents.
 
 - Original Message -
 From: Chauhan, Savita [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Sent: Tuesday, February 01, 2005 5:48 PM
 Subject: [U2] [AD] UniBasic Program with arguments
 
 
   
 
 Hi,
 
 I am trying to run a unibasic program (external subroutine) 
 that takes 
 two arguments.
 I don't know how do I pass it the arguments if I run it 
 directly from 
 shel prompt instead of calling it from another program.
 I have gone through the manual, but can't find anything. Pls help.
 
 Thanks
 Savita.
 ---
 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/
 ---
 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniData error

2005-02-03 Thread Robert Paterson
File is corrupt - you need to run guide and then use fixfile to resolve.

Problem you may have is that this is possibly not the only file and you
should consider how wide ranging your run of guide should be.
 
If you haven't used these utilities before check with your support
organisation about some specifics with respect to fixfile operation.

Robert Paterson
Technology Support Manager
www.epicor.com
Tel.: +44 (1344) 468231
Cell: +44 (7799) 348513
Fax: +44 (1344) 468050
E-Mail: [EMAIL PROTECTED]

1 The Arena, Downshire Way, Bracknell, Berks, UK, RG12 1PU
This e-mail is for the use of the intended recipient(s) only. If you have
received this e-mail in error, please notify the sender immediately and then
delete it. If you are not the intended recipient, you must not use, disclose
or distribute this e-mail without the author's prior permission. We have
taken precautions to minimize the risk of transmitting software viruses, but
we advise you to carry out your own virus checks on any attachment to this
message. We cannot accept liability for any loss or damage caused by
software viruses.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lembit Pirn
Sent: 03 February 2005 06:02
To: u2-users@listserver.u2ug.org
Subject: [U2] UniData error

Hi !
After power crash we try to copy from crashed file to the new file and we
get error messages for crashed groups, but then unusual error message showed
up as well.
Does anybody know what this error message actually mean:
1:blk check error in U_post_read for file 'IMP', key 'IO*MP
0222145*RDMS_13542_44368%13542%44183', number=147079 UPL error = 104 : Lock
name not found Lockname (46597 22282252) RX -- 79872 upl unlock error(104).
We are running  UniData 6.09 on Solaris.

--
Lembit Pirn
7+7 Software
Tondi 1
Tallinn 11313

tel. +372 6566232
[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/


[U2] Piotr KIRYLUK/RCB-WARSAW/PL : nie ma mnie w pracy.

2005-02-03 Thread Piotr KIRYLUK
Nie bjdzie mnie w pracy od  2005-02-03 i nie wrscj przed 2005-02-08.

Odpowiem na wiadomo6f po powrocie z urlopu - 09/02/2005.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [AD] UniBasic Program with arguments

2005-02-03 Thread Mats Carlid
True - sorry.   :^(
I have worked too much with functions, haven't I?.
-- mats
Brian Leach wrote:
Mats,
Clever but not quite there... 
That would only work if the subroutine used arg 1 as a return argument.

Brian
 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
Sent: 03 February 2005 10:22
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [AD] UniBasic Program with arguments

Well,
actually you can, sort of :
LIST VOC SAMPLE 1 EVAL  SUBR('your.subroutine', arg1 , arg2 )
Then we can argue forever if this is really running from TCl 
or what.  ;^)

And  IIRC  this has been mentioned on the list before.
-- mats
Chauhan, Savita wrote:
   

Thanks all you guys for all your replies. 
This list has come to my rescue so many times. I have so 
 

much more to 
   

learn.
I realized that I can run my program (with args) only as one of the 
following (without any external utitlity) :
1. as a subroutine (with no args, but can use @COMMAND to read the 
command line) 2. as an external subroutine (with args)

If I make it a subroutine, then I cannot call it from 
 

another pgm and 
   

pass it args.
If I make external subroutine, I cannot run it from TCL.
Thanks again.
Savita Chauhan,
Programmer/Analyst
x:1754 Central Texas College.
---
Change is the only Constant.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
Sent: Wednesday, February 02, 2005 8:18 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [AD] UniBasic Program with arguments
Here it is, pretty quickly.
Create a Databasic Program, I call mine PRINT (losing regard 
 

for PRINT 
   

being there). That is a simple program that takes the @COMMAND or 
PROCREAD or TCLREAD line you just typed as the first line in a Basic 
program, throw an END at the end, compile and run itself.

Thus, you can have this or virtually any single line program 
 

run from 
   

TCL.
This is the absolutely best and simplest method. I use this 100's of 
time a day for testing the OCONV's, simple math, anything. Its only 
limitation is multiple line IF statements or anything with an ELSE.

PRINT ; CALL MY.SUB(ARG1, ARG2, WHATEVER) ; PRINT WHATEVER
PRINT 5+5
PRINT OCONV(12345,DMA)
PRINT ; OPEN MD THEN READ X FROM YOUR.ID THEN WRITEV A ON 
SOMETHING,
2
PRINT ; FOR I=1 TO 15 STEP 2 ; PRINT I,I*11 ; NEXT I

ED MD PRINT
001 PQN
002 HRUN BP PRINT.PROG
003 P
ED BP PRINT.PROG
001 PROCREAD TEST ELSE STOP
OR
001 TCLREAD TEST
OR
001 [EMAIL PROTECTED]
001+ CONVERT CHAR(254) TO   IN TEST
002 OPEN BP TO F.BP ELSE STOP
003 TEST2=END
004 ID=PRINTTT
005 WRITE TEST ON F.BP, ID
006 EXECUTE DECATALOG BP :ID
007 EXECUTE BASIC BP :ID
008 EXECUTE RUN BP :ID
That's it. I created this in 1978 and have written 2 
 

articles about it, 
   

one in Datastream and the other for Spectrum. It should be 
 

part of the 
   

MV OS.
My 3 cents.
- Original Message -
From: Chauhan, Savita [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, February 01, 2005 5:48 PM
Subject: [U2] [AD] UniBasic Program with arguments

 

Hi,
I am trying to run a unibasic program (external subroutine) 
   

that takes 
   

two arguments.
I don't know how do I pass it the arguments if I run it 
   

directly from 
   

shel prompt instead of calling it from another program.
I have gone through the manual, but can't find anything. Pls help.
Thanks
Savita.
---
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/
---
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/
   

---
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] [AD] UniBasic Program with arguments

2005-02-03 Thread Peter D Olson
Clever but not quite there... 
That would only work if the subroutine used arg 1 as a return argument.

the orig. post was to run subroutine from command line ???
exactly what does the user expect this subroutine to do ???

This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [AD] UniBasic Program with arguments

2005-02-03 Thread Chauhan, Savita
That's a good idea if the program doesn't have return arguments.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Jordan
Sent: Thursday, February 03, 2005 12:52 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [AD] UniBasic Program with arguments

You can run a program with arguments from the command line as below

RUN BP PROG ARG1 ARG2 ARG3

In the program use SEEK(ARG.,..) or GET(ARG.,...) to get the arguments
from
the command line.  Don't forget to quote the arguments if there are
spaces
in them.

You can run the program with parameters from within a BASIC Program 
EXECUTE RUN BP PROG :arg1: :arg2:  :arg3


Regards
David Jordan
Founding U2UG Board Member



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chauhan, Savita
Sent: Thursday, 3 February 2005 1:59 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [AD] UniBasic Program with arguments

Thanks all you guys for all your replies. 
This list has come to my rescue so many times. I have so much more to
learn.

I realized that I can run my program (with args) only as one of the
following (without any external utitlity) :
1. as a subroutine (with no args, but can use @COMMAND to read the
command line)
2. as an external subroutine (with args)

If I make it a subroutine, then I cannot call it from another pgm and
pass it args.
If I make external subroutine, I cannot run it from TCL.

Thanks again.

Savita Chauhan, 
Programmer/Analyst
x:1754 Central Texas College.
---
---
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] Unidata core dumps

2005-02-03 Thread Robert Paterson
I can understand most of the suggestions and can see value in each - which
may explain some of the improvement or reduction if dumps.

One thing the memory errors would make me consider - especially with the
variety of when they are logged - is that you may need to retune the system.

If you are referring to a document from Wally about errors then that is good
as he is the guru... (All bow to Wally!) ;-)

Seriously though, you should review whether this has always happened or has
just started. I am guessing it has certainly started to get worse for you
recently and that would lead me to look at changes that have happened. These
could range from new people, to hardware, to code, to whatever else you can
consider could affect the system.

When you have that list, start reviewing which elements you can clearly show
are working and continue to work and (at least temporarily eliminate them
from investigation). That should leave you with key elements against which
you can run testing. If you end up eliminating everything - an assumption is
wrong and you need to test each and every item on your list.

However, I would err on the side of checking UniData's config and consider
tuning whatever shows as needing to be changed.

(Identifying the circumstances of when the dumps occur would also help you
identify if a specific process or time of day or group of people are
specifically affected.)

Robert Paterson
Technology Support Manager
www.epicor.com
Tel.: +44 (1344) 468231
Cell: +44 (7799) 348513
Fax: +44 (1344) 468050
E-Mail: [EMAIL PROTECTED]

1 The Arena, Downshire Way, Bracknell, Berks, UK, RG12 1PU
This e-mail is for the use of the intended recipient(s) only. If you have
received this e-mail in error, please notify the sender immediately and then
delete it. If you are not the intended recipient, you must not use, disclose
or distribute this e-mail without the author's prior permission. We have
taken precautions to minimize the risk of transmitting software viruses, but
we advise you to carry out your own virus checks on any attachment to this
message. We cannot accept liability for any loss or damage caused by
software viruses.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] RAID debugger

2005-02-03 Thread Jerry Banker
I guess it does depend on the type of include it is but you could put the 
includes near the bottom of the program and use a gosub to reference them if 
they are needed at the top.

- Original Message - 
From: Mike Farrant [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Wednesday, February 02, 2005 8:58 AM
Subject: [U2] [UV] RAID debugger


Talking of debuggers, can anyone remind me how the $INCLUDE s can mess
up the line numbers displayed within the RAID debugger.

I had a solution to this once which I seem to remember had something to
do with the configuration or placement of the $INCLUDE lines in the
source code.

I look forward to any response

Thanks

Mike Farrant
---
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] [UV] RAID debugger

2005-02-03 Thread Jerry Banker
Check the errlog file in your uv directory. If you don't have one then 
create one. It will log any runtime errors in your programs. You can view it 
with more or print it out. The number of lines in this file are controlled 
by the MAXERRLOGENT parameter.

- Original Message - 
From: Bill H. [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Wednesday, February 02, 2005 11:21 AM
Subject: RE: [U2] [UV] RAID debugger


Great!  Now if only the runtime engine would tell me a little more about the
Variable Not Assigned a Value, Zero Used (and other such) error(s); like
what variable and what value!  Seems this was requested from Microdata 25
years ago too.  :-)

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Maresh, Mel
 Sent: Wednesday, February 02, 2005 7:20 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] [UV] RAID debugger


 Talking of debuggers,

 is everyone aware that RAID will now display the values of
 individual elements in a dynamic array

 :: D.CHART10/
 STRING: T r L=114
 `34321035593806859869452618551232605421692343520675401124
 5611372190936940279115843867302197542611598000'
 :: D.CHART10,1/
 STRING: T r L=10 `3432103559'

 This is really cool, something I requested from microdata 25 years ago.

 Mel



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mike Farrant
 Sent: Wednesday, February 02, 2005 8:58 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] [UV] RAID debugger


 Talking of debuggers, can anyone remind me how the $INCLUDE s can mess
 up the line numbers displayed within the RAID debugger.

 I had a solution to this once which I seem to remember had something to
 do with the configuration or placement of the $INCLUDE lines in the
 source code.

 I look forward to any response

 Thanks

 Mike Farrant
 ---
 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/
---
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] UV - GROUP.STAT.DETAIL

2005-02-03 Thread Chuck Mongiovi
UniVerse or UniData? .. You could use the RECORD command, or FIXTOOL with
the appropriate log options ..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Carolina Lizama
Sent: Thursday, February 03, 2005 11:44 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV - GROUP.STAT.DETAIL


Is there a way (a command or logic) to determine which records resides in
which bucket inside a hashed file, assuming we dont have the Hasing
Algorithm. I just want to simulate the output of GROUP.STAT.DETAIL through a
Basic Program.

Carol.


GROUP.STAT.DETAIL ERROR.DETAIL
Type description= Hashed, keys end in numbers.
Bytes  Record.id   File= ERROR.DETAIL  Modulo= 269  Sep= 4  Type= 2
   388  807
   404  269
   368  538
--
  1160 Bytes 3 Records in Group 1

   388  539
   404  1
   380  808
   400  270
--
  1572 Bytes 4 Records in Group 2

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---
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/


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

2005-02-03 Thread asvin . dattani
Hi Carolina,

You could use the RECORD command...

RECORD filename itemname

will display the group that item hashes to.

hth







Carolina Lizama [EMAIL PROTECTED] on 03 Feb 2005 13:43

Please respond to u2-users@listserver.u2ug.org

Sent by:[EMAIL PROTECTED]

To:u2-users@listserver.u2ug.org
cc:
bcc:

Subject:[U2]UV - GROUP.STAT.DETAIL


Is there a way (a command or logic) to determine which records resides in
which bucket inside a hashed file, assuming we dont have the Hasing
Algorithm. I just want to simulate the output of GROUP.STAT.DETAIL through
a
Basic Program.

Carol.


GROUP.STAT.DETAIL ERROR.DETAIL
Type description= Hashed, keys end in numbers.
Bytes  Record.id   File= ERROR.DETAIL  Modulo= 269  Sep= 4  Type= 2
   388  807
   404  269
   368  538
--
  1160 Bytes 3 Records in Group 1

   388  539
   404  1
   380  808
   400  270
--
  1572 Bytes 4 Records in Group 2

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---
u2-users mailing list
u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/






   
   HSBC Bank plc may be solicited in the course of its placement
   efforts for a new issue, by investment clients of the firm for whom
   the Bank as a firm already provides other services. It may equally
   decide to allocate to its own proprietary book or with an associate
   of HSBC Group. This represents a potential conflict of interest.
   HSBC Bank plc has internal arrangements designed to ensure that the
   firm would give unbiased and full advice to the corporate finance
   client about the valuation and pricing of the offering as well as
   internal systems, contr
s to identify and manage
   conflicts of interest.

   HSBC Bank plc
   Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom
   Registered in England - Number 14259
   Authorised and regulated by the Financial Services Authority.
   


-
This transmission has been issued by a member of the HSBC Group HSBC for
the information of the addressee only and should not be reproduced and/or
distributed to any other person. Each page attached hereto must be read in
conjunction with any disclaimer which forms part of it. Unless otherwise
stated, this tranmission is neither an offer nor the solicitation of an
offer to sell or purchase any investment. Its contents are based on
information obtained from sources believed to be reliable but HSBC makes no
representation and accepts no responsibility or liability as to its
completeness or accuracy.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UV ODBC Client on Win2003

2005-02-03 Thread Rod Hills
Does anyone know if UV ODBC Client can be installed (and work) on a
Win2003 server?

-- Rod Hills
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV - GROUP.STAT.DETAIL

2005-02-03 Thread Stevenson, Charles
TCL verb: RECORD [[DICT] filename [record]]

displays the group the record ID hashed to and indicates whether the
record
was found in the file. 

PI had a subroutine called !HASH.ID (if I recall correctly).
I wish we had the same.  I used to use it in my own verb I called
PREHASH that would take an active select list, sort it in group order
per specified file (but without actually doing file i/o for each key)
and leave you you with an active select list.  It made subsequent
selects or READNEXTs against the file considerably faster, since a group
could be read into memory once and all records processed.

Maybe this request should be added to www.u2ug.org forums 
enhancements.

Maybe Fitzgerald  Long would include a utility subroutine for the
convenience of their FAST customers.


cds

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carolina Lizama
Sent: Thursday, February 03, 2005 8:44 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV - GROUP.STAT.DETAIL

Is there a way (a command or logic) to determine which records resides
in which bucket inside a hashed file, assuming we dont have the Hasing
Algorithm. I just want to simulate the output of GROUP.STAT.DETAIL
through a Basic Program.

Carol.


GROUP.STAT.DETAIL ERROR.DETAIL
Type description= Hashed, keys end in numbers.
Bytes  Record.id   File= ERROR.DETAIL  Modulo= 269  Sep= 4  Type= 2
   388  807
   404  269
   368  538
--
  1160 Bytes 3 Records in Group 1

   388  539
   404  1
   380  808
   400  270
--
  1572 Bytes 4 Records in Group 2
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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

2005-02-03 Thread asvin . dattani
sorry, Carolina, I just reread your post and realised that that is not what
you want.

You can use uvfixfile to list the contents of a group. You have to set the
verbosity level using the -v option and limit the groups that you want to
dump using the -t option.

Sorry I dont have all the details to hand - i'll try and dig them out if no
one else has them.

cheers,

asvin

 You could probably also use the replacement fixtool, but I've never used
it for that.






Asvin DATTANI/IBEU/[EMAIL PROTECTED] on 03 Feb 2005 17:50

Please respond to u2-users@listserver.u2ug.org

Sent by:[EMAIL PROTECTED]

To:u2-users@listserver.u2ug.org
cc:
bcc:

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


Hi Carolina,

You could use the RECORD command...

RECORD filename itemname

will display the group that item hashes to.

hth







Carolina Lizama [EMAIL PROTECTED] on 03 Feb 2005 13:43

Please respond to u2-users@listserver.u2ug.org

Sent by:[EMAIL PROTECTED]

To:u2-users@listserver.u2ug.org
cc:
bcc:

Subject:[U2]UV - GROUP.STAT.DETAIL


Is there a way (a command or logic) to determine which records resides in
which bucket inside a hashed file, assuming we dont have the Hasing
Algorithm. I just want to simulate the output of GROUP.STAT.DETAIL through
a
Basic Program.

Carol.


GROUP.STAT.DETAIL ERROR.DETAIL
Type description= Hashed, keys end in numbers.
Bytes  Record.id   File= ERROR.DETAIL  Modulo= 269  Sep= 4  Type= 2
   388  807
   404  269
   368  538
--
  1160 Bytes 3 Records in Group 1

   388  539
   404  1
   380  808
   400  270
--
  1572 Bytes 4 Records in Group 2

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---
u2-users mailing list
u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/






   
   HSBC Bank plc may be solicited in the course of its placement
   efforts for a new issue, by investment clients of the firm for whom
   the Bank as a firm already provides other services. It may equally
   decide to allocate to its own proprietary book or with an associate
   of HSBC Group. This represents a potential conflict of interest.
   HSBC Bank plc has internal arrangements designed to ensure that the
   firm would give unbiased and full advice to the corporate finance
   client about the valuation and pricing of the offering as well as
   internal systems, contr
s to identify and manage
   conflicts of interest.

   HSBC Bank plc
   Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom
   Registered in England - Number 14259
   Authorised and regulated by the Financial Services Authority.
   


-
This transmission has been issued by a member of the HSBC Group HSBC for
the information of the addressee only and should not be reproduced and/or
distributed to any other person. Each page attached hereto must be read in
conjunction with any disclaimer which forms part of it. Unless otherwise
stated, this tranmission is neither an offer nor the solicitation of an
offer to sell or purchase any investment. Its contents are based on
information obtained from sources believed to be reliable but HSBC makes no
representation and accepts no responsibility or liability as to its
completeness or accuracy.
---
u2-users mailing list
u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/






   
   HSBC Bank plc may be solicited in the course of its placement
   efforts for a new issue, by investment clients of the firm for whom
   the Bank as a firm already provides other services. It may equally
   decide to allocate to its own proprietary book or with an associate
   of HSBC Group. This represents a potential conflict of interest.
   HSBC Bank plc has internal arrangements designed to ensure that the
   firm would give unbiased and full advice to the corporate finance
   client about the valuation and pricing of the offering as well as
   internal systems, controls and procedures to identify and manage
   conflicts of interest.

   HSBC Bank plc
   Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom
   Registered in England - Number 14259
   Authorised and regulated by the Financial Services Authority.
   
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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

2005-02-03 Thread FFT2001
In a message dated 2/3/2005 8:55:05 AM Pacific Standard Time, 
[EMAIL PROTECTED] writes:

 Is there a way (a command or logic) to determine which records resides in 
 which bucket inside a hashed file, assuming we dont have the Hasing 
 Algorithm. I just want to simulate the output of GROUP.STAT.DETAIL through a 
 
 Basic Program.

Yes Caroline do this
*
HEADING ''
EXECUTE GROUP.STAT.DETAIL blah blah blah CAPTURING OUTPUT
S.OUTPUT = DCOUNT(OUTPUT,@AM)
FOR I.OUTPUT = 1 TO S.OUTPUT
   T.OUTPUT = OUTPUTI.OUTPUT
   PRINT T.OUTPUT
NEXT I.OUTPUT

Or maybe you could explain your requirements with more detail?
Thanks
Will
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [AD] UniBasic Program with arguments

2005-02-03 Thread Michael Blum
This is actually pretty simple in UniData - UniBasic. The call to 
'SYSTEM(17)' tells you whether you're running from the command line or 
as a called routine. Here's a program I wrote along these lines.

SUBROUTINE GET.UDT.OPTION(RES, OPTNO)
* GET.UDT.OPTION - Get the value of one specific UDT.OPTION
* May be invoked either as a Subroutine or from the command line.
* M. Blum, 12/7/2004
FROM.CMD = SYSTEM(17) = 0 ;* Invoked from the Command Line
IF FROM.CMD THEN ;* Invoked from Command Line
 SENT = CONVERT(' ', @FM, TRIM(@SENTENCE))
 OPTNO = SENT2
END
EXECUTE 'UDT.OPTIONS' CAPTURING XX.OUT
XX.OUT = TRIM(XX.OUT)
OPT.LINE = ''
LOOP
 REMOVE A.LINE FROM XX.OUT SETTING DELIM
 IF FIELD(A.LINE,' ',1) = OPTNO THEN
   OPT.LINE = A.LINE
   EXIT
 END
WHILE DELIM DO
REPEAT
IF FROM.CMD THEN
 IF OPT.LINE = '' THEN OPT.LINE = 'Not Found!'
 PRINT OPT.LINE
END ELSE
 RES = FIELD(OPT.LINE, ' ', 3)
 RETURN
END
END
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV ODBC Client on Win2003 Unclassified

2005-02-03 Thread HENDERSON MIKE, MR
Rod,

Yes, we have the 10.0 client installed on a number of W2K3 servers.
Our users certainly believe it works!

Note that the 10.1 client is apparently a completely different beast,
and is required to talk to a UV 10.1 server.  I have not tested the 10.1
client at all yet.
The fact that I have to (find and) replace all the 10.0 UV ODBC Clients
is one major reason we haven't looked seriously at 10.1 yet.  :-(


HTH

Mike
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rod Hills
Sent: Friday, 4 February 2005 06:57
To: u2-users@listserver.u2ug.org
Subject: [U2] UV ODBC Client on Win2003

Does anyone know if UV ODBC Client can be installed (and work) on a
Win2003 server?

-- Rod Hills
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] SBClient cannot connect to SB+ on UV/AIX

2005-02-03 Thread Dave Schexnayder
I just installed SB+ 5.2.4 on UV/AIX and I cannot get SBClient to probably
connect to SB+.

Neither GUI nor character mode work. In fact, using TU.VT220, I am unable to
get past the login.  It replies that I need a newer SBClient version.  I am,
however, using SBClient 5.2.4.246.

Is this an stty problem? I installed UV as root and am user root trying to
get this to work. I even setup a user, added new Unix group sb as part of
the user, set him to bourne shell, home directory to the SB+ home directory.
It initiates an SB+ login, but fails to validate after the Terminal ID
TU.VT220 is entered.

I get the following message after 30-60 seconds:

SECURITY VIOLATION 101

You must use a later version of SBClient with this release of SB+.

# SBGUI SBClient-Rel-5.2.4.246/VT22032/Cheetah_Falcon/

If it matters, AIX 5.2, UniVerse/AIX 10.1.4.

Any help would be appreciated.

Thanks,


Dave Schexnayder.
Cheetah Adv Tech, Inc.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] SBClient cannot connect to SB+ on UV/AIX

2005-02-03 Thread Kevin King
I would first consider the potential that it's a stty problem.  What's
a sample stty -a say?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Schexnayder
Sent: Thursday, February 03, 2005 1:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SBClient cannot connect to SB+ on UV/AIX

I just installed SB+ 5.2.4 on UV/AIX and I cannot get SBClient to
probably connect to SB+.

Neither GUI nor character mode work. In fact, using TU.VT220, I am
unable to get past the login.  It replies that I need a newer SBClient
version.  I am, however, using SBClient 5.2.4.246.

Is this an stty problem? I installed UV as root and am user root
trying to get this to work. I even setup a user, added new Unix group
sb as part of the user, set him to bourne shell, home directory to
the SB+ home directory.
It initiates an SB+ login, but fails to validate after the Terminal ID
TU.VT220 is entered.

I get the following message after 30-60 seconds:

SECURITY VIOLATION 101

You must use a later version of SBClient with this release of SB+.

# SBGUI SBClient-Rel-5.2.4.246/VT22032/Cheetah_Falcon/

If it matters, AIX 5.2, UniVerse/AIX 10.1.4.

Any help would be appreciated.

Thanks,


Dave Schexnayder.
Cheetah Adv Tech, Inc.
---
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] SBClient cannot connect to SB+ on UV/AIX

2005-02-03 Thread Dave Schexnayder
Kevin,

Here is the stty -a output:

root user:

# stty -a
speed 9600 baud; 0 rows; 0 columns; 
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext 
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
-ixon -ixany -ixoff imaxbel 
isig icanon -xcase echo echoe echok -echonl -noflsh 
-tostop echoctl -echoprt echoke -flusho -pending iexten 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3 


non-root, bourne shell, SB+ home directory user:

# stty -a
speed 9600 baud; 0 rows; 0 columns; 
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^P; quit = ^_; erase = ^H; kill = ^X; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^@; dsusp = ^@; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb -hupcl cread clocal -parext 
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
-ixon -ixany -ixoff imaxbel 
isig icanon -xcase echo echoe echok -echonl -noflsh 
-tostop echoctl -echoprt echoke -flusho -pending iexten 
opost -olcuc onlcr -ocrnl -onocr -onlret ofill -ofdel tab3 

Thanks,


Dave Schexnayder.   :-)
Cheetah Advanced Technologies, Inc.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin King
Sent: Thursday, February 03, 2005 2:54 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] SBClient cannot connect to SB+ on UV/AIX


I would first consider the potential that it's a stty problem.  What's
a sample stty -a say?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Schexnayder
Sent: Thursday, February 03, 2005 1:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SBClient cannot connect to SB+ on UV/AIX

I just installed SB+ 5.2.4 on UV/AIX and I cannot get SBClient to
probably connect to SB+.

Neither GUI nor character mode work. In fact, using TU.VT220, I am
unable to get past the login.  It replies that I need a newer SBClient
version.  I am, however, using SBClient 5.2.4.246.

Is this an stty problem? I installed UV as root and am user root
trying to get this to work. I even setup a user, added new Unix group
sb as part of the user, set him to bourne shell, home directory to
the SB+ home directory.
It initiates an SB+ login, but fails to validate after the Terminal ID
TU.VT220 is entered.

I get the following message after 30-60 seconds:

SECURITY VIOLATION 101

You must use a later version of SBClient with this release of SB+.

# SBGUI SBClient-Rel-5.2.4.246/VT22032/Cheetah_Falcon/

If it matters, AIX 5.2, UniVerse/AIX 10.1.4.

Any help would be appreciated.

Thanks,


Dave Schexnayder.
Cheetah Adv Tech, Inc.
---
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] SBClient cannot connect to SB+ on UV/AIX

2005-02-03 Thread Kevin King
Try undef-ing kill (^U) and susp (^Z) and maybe dsusp (^Y).  I'm
guessing, but those seem the most obvious to start. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Schexnayder
Sent: Thursday, February 03, 2005 3:00 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] SBClient cannot connect to SB+ on UV/AIX

Kevin,

Here is the stty -a output:

root user:

# stty -a
speed 9600 baud; 0 rows; 0 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V -parenb -parodd cs8 -cstopb
hupcl cread -clocal -parext -ignbrk brkint ignpar -parmrk -inpck
-istrip -inlcr -igncr icrnl -iuclc -ixon -ixany -ixoff imaxbel isig
icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl
-echoprt echoke -flusho -pending iexten opost -olcuc onlcr -ocrnl
-onocr -onlret -ofill -ofdel tab3 


non-root, bourne shell, SB+ home directory user:

# stty -a
speed 9600 baud; 0 rows; 0 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^P; quit = ^_; erase = ^H; kill = ^X; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^@; dsusp = ^@; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V -parenb -parodd cs8 -cstopb
-hupcl cread clocal -parext -ignbrk brkint ignpar -parmrk -inpck
-istrip -inlcr -igncr icrnl -iuclc -ixon -ixany -ixoff imaxbel isig
icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl
-echoprt echoke -flusho -pending iexten opost -olcuc onlcr -ocrnl
-onocr -onlret ofill -ofdel tab3 

Thanks,


Dave Schexnayder.   :-)
Cheetah Advanced Technologies, Inc.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin King
Sent: Thursday, February 03, 2005 2:54 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] SBClient cannot connect to SB+ on UV/AIX


I would first consider the potential that it's a stty problem.  What's
a sample stty -a say?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Schexnayder
Sent: Thursday, February 03, 2005 1:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SBClient cannot connect to SB+ on UV/AIX

I just installed SB+ 5.2.4 on UV/AIX and I cannot get SBClient to
probably connect to SB+.

Neither GUI nor character mode work. In fact, using TU.VT220, I am
unable to get past the login.  It replies that I need a newer SBClient
version.  I am, however, using SBClient 5.2.4.246.

Is this an stty problem? I installed UV as root and am user root
trying to get this to work. I even setup a user, added new Unix group
sb as part of the user, set him to bourne shell, home directory to
the SB+ home directory.
It initiates an SB+ login, but fails to validate after the Terminal ID
TU.VT220 is entered.

I get the following message after 30-60 seconds:

SECURITY VIOLATION 101

You must use a later version of SBClient with this release of SB+.

# SBGUI SBClient-Rel-5.2.4.246/VT22032/Cheetah_Falcon/

If it matters, AIX 5.2, UniVerse/AIX 10.1.4.

Any help would be appreciated.

Thanks,


Dave Schexnayder.
Cheetah Adv Tech, Inc.
---
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/
---
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/


[U2] Universe CREATE SCHEMA

2005-02-03 Thread Bob Woodward
Hi folks.



I'm trying to get my feet wet with SQL and I've got what seems like a
simple question to ask but one that is proving to be rather difficult to
find an answer to.  I'm wanting to issue a CREATE SCHEMA command but
when I do I get an error message that I'm not an SQL user.  How do I go
about setting myself up as an SQL user?  I'm logged into our domain and
my UID is in the Administrators group so I should have rights to just
about everything.



The environment is Win2003 server, UV 10.1.3.



I've searched FAQ's, PDF's, DOC's, websites, Google and still am having
no luck finding anything that tells me how to set myself up as an SQL
user.  Any direction would be greatly appreciated.



BobW
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] SBClient cannot connect to SB+ on UV/AIX

2005-02-03 Thread John Jenkins
Hmmm

I would suggest losing all the control characters you don't need  make them
undefined. I know that ^Z can be troublesome (Enterprise license?). 

Basically lose everything except ^C and ^H and take it from there.

SB+ speaks to SBClient and they exchange signatures and it looks like
something is getting in the way  the other distinct possibility is
delays in the handshake  any delays on your tty connection?

The command to make a parameter undefined can take one of two forms:

stty susp undef
stty intr \\^-

I think there was a 3rd way to do this (other than editing the settings in
smit) but don't recall off the top of my (slightly bruised at this time)
head. Should remember to take the 'plane the next time I go flying

Favourite? -  timing.. otherwise ^(something) 

Regards

JayJay



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Schexnayder
Sent: 03 February 2005 22:00
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] SBClient cannot connect to SB+ on UV/AIX

Kevin,

Here is the stty -a output:

root user:

# stty -a
speed 9600 baud; 0 rows; 0 columns; 
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext 
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
-ixon -ixany -ixoff imaxbel 
isig icanon -xcase echo echoe echok -echonl -noflsh 
-tostop echoctl -echoprt echoke -flusho -pending iexten 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3 


non-root, bourne shell, SB+ home directory user:

# stty -a
speed 9600 baud; 0 rows; 0 columns; 
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^P; quit = ^_; erase = ^H; kill = ^X; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^@; dsusp = ^@; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb -hupcl cread clocal -parext 
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
-ixon -ixany -ixoff imaxbel 
isig icanon -xcase echo echoe echok -echonl -noflsh 
-tostop echoctl -echoprt echoke -flusho -pending iexten 
opost -olcuc onlcr -ocrnl -onocr -onlret ofill -ofdel tab3 

Thanks,


Dave Schexnayder.   :-)
Cheetah Advanced Technologies, Inc.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin King
Sent: Thursday, February 03, 2005 2:54 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] SBClient cannot connect to SB+ on UV/AIX


I would first consider the potential that it's a stty problem.  What's
a sample stty -a say?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Schexnayder
Sent: Thursday, February 03, 2005 1:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SBClient cannot connect to SB+ on UV/AIX

I just installed SB+ 5.2.4 on UV/AIX and I cannot get SBClient to
probably connect to SB+.

Neither GUI nor character mode work. In fact, using TU.VT220, I am
unable to get past the login.  It replies that I need a newer SBClient
version.  I am, however, using SBClient 5.2.4.246.

Is this an stty problem? I installed UV as root and am user root
trying to get this to work. I even setup a user, added new Unix group
sb as part of the user, set him to bourne shell, home directory to
the SB+ home directory.
It initiates an SB+ login, but fails to validate after the Terminal ID
TU.VT220 is entered.

I get the following message after 30-60 seconds:

SECURITY VIOLATION 101

You must use a later version of SBClient with this release of SB+.

# SBGUI SBClient-Rel-5.2.4.246/VT22032/Cheetah_Falcon/

If it matters, AIX 5.2, UniVerse/AIX 10.1.4.

Any help would be appreciated.

Thanks,


Dave Schexnayder.
Cheetah Adv Tech, Inc.
---
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/
---
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/


[U2] POS for Pizza Restaurant

2005-02-03 Thread Bob Gerrish
Anyone out there know of any reasonably priced (under $1000)
POS systems in UniVerse (or mv in general) that would work for
 a Limited Service Pizza Restaurant that does delivery?  I have a
client with a limited budget that needs something.
Thanks
Bob Gerrish -  [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] examples of X[n], X[m,n], X[c,m,n] substring extractions and assignments

2005-02-03 Thread Stevenson, Charles
I wrote these examples up for our own programmers.
Might as well share them with the group for the newbies' sakes.
 __

Suppose X always contains the string

   'AB-CD-EF-GH'

for each of the following examples:

Substring extractions:

Y = X[3]-- Y = '-GH'  compiles same as Y = RIGHT(X,3)
Y = X[2,3]  -- Y = 'B-C'
Y = X['-',2,1 ] -- Y = 'CD'
Y = X['-',2,2 ] -- Y = 'CD-EF'
 __

Substring assignments:

X[2,1] = '1'   -- X = 'A1-CD-EF-GH'
X[2,3] = '123' -- X = 'A123D-EF-GH'

X[3] = '123'   -- X = 'AB-CD-EF123'

X['-',2,1] = '1234'-- X = 'AB-1234-EF-GH'
X['-',2,2] = '12-34'   -- X = 'AB-12-34-GH'
 __

Some curiosities when things don't quite match up:

X[2,1] = '123'  -- X = 'A1-CD-EF-GH'
X[2,3] = '12'   -- X = 'A12 D-EF-GH'  pad with spaces.

X[3] = '12' -- X = 'AB-CD-EF12 '  surprising.
X[3] = ''   -- X = 'AB-CD-EF   '  3 spaces

X['-',2,2] = '12'   -- X = 'AB-12--GH'3rd field nulled.
X['-',2,2] = '12-34-56' -- X = 'AB-12-34-GH'  only 2 fields are
replaced.
 __

Caution:These were simply typed, not bench tested.
All typos are the responsibility of the reader.

Charles Stevenson
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] POS for Pizza Restaurant

2005-02-03 Thread Tony Gravagno
Check with Drew Conboy at Drexel Management.  He has software that is
targeted at take-out food businesses.

Dconboy at REMOVETHISdrexelmgt dotster com

Tony
TG at removethistooNebula-RnD dot com

Bob Gerrish bobg-at-connectexpress.com |U2UG| wrote:
 Anyone out there know of any reasonably priced (under
 $1000) 
 POS systems in UniVerse (or mv in general) that would
   work for a Limited Service Pizza Restaurant that does
 delivery?  I have a client with a limited budget that
 needs something. 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe CREATE SCHEMA

2005-02-03 Thread David Jordan
You need to login as the administrator, which is the initial SQL User.  Then
GRANT Connect and then resources, etc to alternative users.  Then you can
logout and login under the new user and you will have SQL access rights.

Regards

David Jordan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
Sent: Friday, 4 February 2005 10:14 AM
To: U2-Users List
Subject: [U2] Universe CREATE SCHEMA

Hi folks.



I'm trying to get my feet wet with SQL and I've got what seems like a
simple question to ask but one that is proving to be rather difficult to
find an answer to.  I'm wanting to issue a CREATE SCHEMA command but
when I do I get an error message that I'm not an SQL user.  How do I go
about setting myself up as an SQL user?  I'm logged into our domain and
my UID is in the Administrators group so I should have rights to just
about everything.



The environment is Win2003 server, UV 10.1.3.



I've searched FAQ's, PDF's, DOC's, websites, Google and still am having
no luck finding anything that tells me how to set myself up as an SQL
user.  Any direction would be greatly appreciated.



BobW
---
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/