Re: [U2][UV] UO.NET beginner question

2005-03-01 Thread Simon Lewington
Don Kibbey wrote: (this won't compile and is not meant to) Have a look in the UniObjects .Net pdf file for more info on this, but here's how you can change the port number used for the connection. public UniSession uSession; uSession.HostPort = 12345; uSession =

RE: [U2][UV] UO.NET beginner question

2005-03-01 Thread Nick Cipollina
Here is the code I am trying to use: us1 = null ; us1.HostPort = 7200; try { us1 = UniObjects.OpenSession(Server,LoginName,Password,uvAccount,uvcs ); It is compiling

Re: [U2][UV] UO.NET beginner question

2005-03-01 Thread Don Kibbey
Are you on the same physical network as the target machine? Is there a firewall between you and it? What is the reasoning behind changing the rpc port to 7200? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2][UV] UO.NET beginner question

2005-03-01 Thread Adrian Matthews
What have you declared us1 as? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: 01 March 2005 13:42 To: u2-users@listserver.u2ug.org Subject: RE: [U2][UV] UO.NET beginner question Here is the code I am trying to use:

RE: [U2][UV] UO.NET beginner question

2005-03-01 Thread Nick Cipollina
Yes. No. I'm not sure if there was a reason. I would still like to know how to point to a different port, even if I could change it back to 31438. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Kibbey Sent: Tuesday,

RE: [U2][UV] UO.NET beginner question

2005-03-01 Thread Nick Cipollina
Sorry, Private UniSession us1; Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Matthews Sent: Tuesday, March 01, 2005 10:01 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2][UV] UO.NET beginner question What have

RE: [U2][UV] UO.NET beginner question

2005-03-01 Thread Les Hewkin
I thought this was a bug in UV.NET, it can only use port 31438. Les -Original Message- From: Nick Cipollina [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 15:43 To: u2-users@listserver.u2ug.org Subject: RE: [U2][UV] UO.NET beginner question Yes. No. I'm not sure if there was a reason.

Re: [U2][UV] UO.NET beginner question

2005-03-01 Thread Simon Lewington
Nick Cipollina wrote: Here is the code I am trying to use: us1 = null ; us1.HostPort = 7200; try { us1 = UniObjects.OpenSession(Server,LoginName,Password,uvAccount,uvcs ); It is compiling just fine, I am getting an error when I run it though. Any suggestions? OK - it will compile,

RE: [U2][UV] UO.NET beginner question

2005-03-01 Thread Nick Cipollina
Bug, or feature? Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Les Hewkin Sent: Tuesday, March 01, 2005 11:27 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2][UV] UO.NET beginner question I thought this was a bug in

RE: [U2][UV] UO.NET beginner question

2005-03-01 Thread Nick Cipollina
I thought I remembered something about this. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Lewington Sent: Tuesday, March 01, 2005 11:50 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2][UV] UO.NET beginner question

[U2] [UV] Hashed file size

2005-03-01 Thread Cooper, Rudy
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

[U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread Dana Baron
Greetings, I'm trying to write a Unidata program to interface with another system via the serial port (/dev/tty01) on a Compaq Tru64 system. I'm wondering if anyone has any experience with this that may be able to offer some advice. Specifically, according to the published protocol, I need to

RE: [U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread George Gallen
what is on the other side of the tty port? a modem or device? If a modem, what is on the other end of the modem? Is this a PPP/SLIP or just system - system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dana Baron Sent: Tuesday, March 01, 2005 1:24 PM To:

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

RE: [U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread Marilyn Hilb
There actually are Unidata commands to send/receive data through a port. This is how I did modem EDI transfers on NT. I don't recall the exact commands.. Try looking for the commands SEND RECEIVE. Also yes. The LINE.ATT is also needed. Thanks, Marilyn A. Hilb Value Part, Inc Direct:

RE: [U2] [UV] Hashed file size (Unclassified)

2005-03-01 Thread HENDERSON MIKE, MR
Rudy, Any 32-bit file (UV or anything else) is limited to 2GB. UV supports 64-bit files, but your O/S may need special configuration to support that. (What O/S are you using?) UV also supports distributed files, the parts of which may be 32-bit or 64-bit. Also, a UV Dynamic file has two parts,

RE: [U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread Dana Baron
George Gallen wrote: what is on the other side of the tty port? a modem or device? If a modem, what is on the other end of the modem? Is this a PPP/SLIP or just system - system. This is part of an effort to interface with a Squirrel POS system. The tty port connects to a Systech brand serial

RE: [U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread George Gallen
are both system tru64? Why not setup a SLIP connection in tru64 (man slattach and man SLIP) on both sides. Then you open a port directly to the other machine, just like it was connected to the network, except...the main network of the tru64 machine can not access this SLIP connection.

RE: [U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread Ed Clark
It sounds like you have most of the pieces. You're doing a LINE-ATT and using GET and SEND to talk to the systech box. The device is sending you an ENQ and you respond with an ACK that it doesn't recognize. So, 2 questions: first, are you seeing the ENQ (and is there any associated data with the

RE: [U2] [UD] LINE.ATT for attaching serial line (unclassified)

2005-03-01 Thread HENDERSON MIKE, MR
Dana, So, you've got a Squirrel POS system on an Ethernet LAN connecting to a UniData system on a (presumably different) Ethernet LAN and you're trying to connect them via serial ports? Wouldn't a LAN-level [router] connection be easier? Then you could try some XML, or HTTP, or sockets

Re: [U2] [UV] Hashed file size

2005-03-01 Thread Alan Walters
Hi Stu (and Rudy), If you're running on HP-UX, you might want to look at: http://docs.hp.com/en/5964-5283/ch02s09.html At 10.10 the limit (for individual files) was 2GB. At 10.20 (and up) the limit has been increased to 128GB. At least for HP-UX, the limitation is most definitely NOT the OS...

Re: [U2] [UV] Hashed file size

2005-03-01 Thread Cooper, Rudy
So does that mean there is no limit on a w2k box ? rudy Date: Tue, 01 Mar 2005 13:47:44 -0500 From: Stu Glancy [EMAIL PROTECTED] Subject: Re: [U2] [UV] Hashed file size 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.

RE: [U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread Dana Baron
Ed Clark wrote: So, 2 questions: first, are you seeing the ENQ (and is there any associated data with the ENQ?); I'm seeing the ENQ fine. Unfortunately, I need to work with Squirrel support to help debug this, but they report that they're seeing my ACK embedded in other data, things like CR LF,

RE: [U2] [UD] LINE.ATT for attaching serial line

2005-03-01 Thread Ed Clark
So, you've got a line of code something like SEND ACK: TO PORT ELSE GOTO DISASTER: and the POS is seeing other stuff besides your ACK? If you left out the colon after the ACK then you will be sending extra line feeds--you might want to check that. You also might want to check and replace

[U2] Using an I descriptor in a UniBasic program

2005-03-01 Thread Bill Stinocher
Hello all. Being new to UniData, I hope that maybe someone can help me. How do you read an I descriptor in a UniBasic program? The IBM manual gives me a hint (looking at the CALCULATE command), but the example given uses a select on the entire file. I am looking for a way to read the actual data

[U2] Using an I descriptor in a UniBasic program

2005-03-01 Thread Bill Stinocher
Hello all. Being new to UniData, I hope that maybe someone can help me. How do you read an I descriptor in a UniBasic program? The IBM manual gives me a hint (looking at the CALCULATE command), but the example given uses a select on the entire file. I am looking for a way to read the actual data

RE: [U2] Using an I descriptor in a UniBasic program

2005-03-01 Thread Brutzman, Bill
The way to do this is with two read statements...something like... read R.PO from F.PO, This.PO else R.PO = '' This.Supplier = R.PO4 read R.Supplier from F.Supplier, This.Supplier else R.Supplier = '' This.Contact.Name = R.Supplier7 In other words, forget

Re: [U2] Using an I descriptor in a UniBasic program

2005-03-01 Thread bfxmgr
OPEN DICT,MY.FILE TO @DICT ELSE STOP (@DICT is required to work with virtual fields) READ @RECORD FROM F.MY.FILE,KV.MY.FILE ELSE PRINT ERROR F.MY.FILE: ID = :KV.MY.FILE (@RECORD required. Virtual fields are in MY.FILE) CLIENT.NAME = {DONOR.NAME} (Uses virtual field DONOR.NAME in MY.FILE) HTH

[U2] ODBC driver for accessing MS-SQL from AIX running unix

2005-03-01 Thread Metherall, Arthur
Hello, Is anyone using a unix ODBC driver, other than DataDirect, that can be installed onto an AIX box that will connect to MS-SQL 2000? I need to pull information from the MS-SQL 2000 database into my UniData environment for reporting using BCI. Thanks, Arthur - - - - - - - - - - Arthur

RE: [U2] Using an I descriptor in a UniBasic program

2005-03-01 Thread Wendy Smoak
Bill Stinocher wrote: How do you read an I descriptor in a UniBasic program? The IBM manual gives me a hint (looking at the CALCULATE command), but the example given uses a select on the entire file. I am looking for a way to read the actual data and the I descriptor within a loop without

RE: [U2] Using an I descriptor in a UniBasic program

2005-03-01 Thread Stevenson, Charles
Bill, This is an example from Universe. I *think* it works on UniData, too. Look at lines 1,2, 8,9,10 of the program. This is a simple example. I use DICT VOC TYPE, because everyone is probably familiar with it. ED CDS.BP BILL 15 lines long. : P 0001: OPEN 'DICT VOC' TO VOC.DCT ELSE

RE: [U2] ODBC driver for accessing MS-SQL from AIX running unix

2005-03-01 Thread Stuart . Boydell
Arthur, If you're up to it, have a look at using the IIS interface SQLXML. If you are using a release of U2 which supports http functions then there's nothing to install on the U2 side. It basically just needs to have the interface set up under SQL.

RE: [U2] SBClient escape sequences

2005-03-01 Thread Stuart . Boydell
Ed, SBClient supports the standard VT220 sequences - you should be able to google a reference pretty easily. Page 2 of the SB+ terminal definition screen (/TERM.DEFN) has some, also F6 - Cursor will show you the base terminal addressing sequences. Most of the base functions can be accessed