Re: [U2] Dumping data to file from TCL

2013-02-21 Thread Brian Leach
Phil

If you really want to do that ..

You can use SAVING with an EVAL clause and save the results to your
SAVEDLISTS.

SELECT MYFILE SAVING EVAL \MYFIELD:,:MYOTHERFIELD:,:MYLASTFIELD\
SAVE.LIST SomeList.txt


But why don't you want to use DOWNLOAD or another program like EXPORT (from
my website)? That's what they are designed to do.

Brian

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Phil Walker
Sent: 20 February 2013 20:57
To: U2 Users List
Subject: [U2] Dumping data to file from TCL

Does Universe now have the ability to dump data to a file using a SELECT or
LIST from TCL?  I believe Unidata does have this capability..

For example, I can do a

SELECT File SAVING IType
SAVE.LIST ExportDirectory Datadump.dat

But I would rather just say

LIST File IType TO ExportDirectory Datadump.dat

I know I could use DOWNLOAD or use

LIST File Itype TOXML

But I don't want to really use xml for this as there are a large number of
records and the contents of IType are long and I would prefer not to use
DOWNLOAD, or have to write a program if I can help it.

Any ideas?



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Dumping data to file from TCL

2013-02-21 Thread Wjhonson
Get outta here!
I've never seen anyone try this before.  Now I have to try it but with bar 
separators.

 

 

 

-Original Message-
From: Brian Leach br...@brianleach.co.uk
To: 'U2 Users List' u2-users@listserver.u2ug.org
Sent: Thu, Feb 21, 2013 1:42 am
Subject: Re: [U2] Dumping data to file from TCL


Phil

If you really want to do that ..

You can use SAVING with an EVAL clause and save the results to your
SAVEDLISTS.

SELECT MYFILE SAVING EVAL \MYFIELD:,:MYOTHERFIELD:,:MYLASTFIELD\
SAVE.LIST SomeList.txt


But why don't you want to use DOWNLOAD or another program like EXPORT (from
my website)? That's what they are designed to do.

Brian

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Phil Walker
Sent: 20 February 2013 20:57
To: U2 Users List
Subject: [U2] Dumping data to file from TCL

Does Universe now have the ability to dump data to a file using a SELECT or
LIST from TCL?  I believe Unidata does have this capability..

For example, I can do a

SELECT File SAVING IType
SAVE.LIST ExportDirectory Datadump.dat

But I would rather just say

LIST File IType TO ExportDirectory Datadump.dat

I know I could use DOWNLOAD or use

LIST File Itype TOXML

But I don't want to really use xml for this as there are a large number of
records and the contents of IType are long and I would prefer not to use
DOWNLOAD, or have to write a program if I can help it.

Any ideas?



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] bluetooth printers...

2013-02-21 Thread George Gallen
OK is anyone using Bluetooth printers (receipt) for output? On a linux base?

Everything I seem to read seems to make me think you can only have one printer 
connected at a time.
So if I had say 4 bluetooth printers, is there a way to have them all connected?

I haven't made the purchase yet, so I can't really test it. Want to make sure 
before I go that way,
Rather than spend the little extra on each printer, and get 802.11  as well as 
Bluetooth.

George
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] fnuxi error

2013-02-21 Thread Jeff Schasny

Universe 10.3.9 Linux (Red Hat)

Anyone seen this before?

[root@cubs6 CUB]# fnuxi TX.TMF
Processing 'TX.TMF'.
File 'TX.TMF' is an SQL file and may not be fnuxi'ed.

More importantly what can I do to fix it?

Thanks
--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] fnuxi error

2013-02-21 Thread Tom Whitmore
Hi Jeff,
The problem is that there is a trigger on the file.  Please call us and we can 
help you.

Tom
RATEX Business Solutions.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny
Sent: Thursday, February 21, 2013 3:05 PM
To: U2-Users@listserver.u2ug.org
Subject: [U2] fnuxi error

Universe 10.3.9 Linux (Red Hat)

Anyone seen this before?

[root@cubs6 CUB]# fnuxi TX.TMF
Processing 'TX.TMF'.
File 'TX.TMF' is an SQL file and may not be fnuxi'ed.

More importantly what can I do to fix it?

Thanks
-- 

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] AIX 5.3 IBMIHS Web Server

2013-02-21 Thread Kevin King
Only one virtual host and I followed these instructions as linked, plus a
half dozen other things when this did not work.  (I started with these
instructions.)

On Wed, Feb 20, 2013 at 3:00 PM, Brian Whitehorn 
brian.whiteh...@tollgroup.com wrote:

 Kevin,

 Do you have more than one Virtual Host defined? If so, it would appear
 that each requires a separate IP to be bound.

 Not sure if you've already come across this link, but contains some
 documentation for setting up SSL with IBM HTTP Server:
 http://www-01.ibm.com/support/docview.wss?uid=swg21179559

 HTH.

 Regards,
 Brian.

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Thursday, 21 February 2013 8:35 AM
 To: U2 Users List
 Subject: Re: [U2] AIX 5.3 IBMIHS Web Server

 Where does one get this magical GUI?  I wonder, John, if I am unable to
 procure such an animal if I sent you my key file if you could see if you
 could nominate a default for me?

 On Wed, Feb 20, 2013 at 1:58 PM, John Hester jhes...@momtex.com wrote:

  This would be an IBM support issue rather than Rocket since you're
  dealing specifically with IHS.  You might want to check with the
  customer to see if they're currently under maintenance.  There's a good
  chance they are if the IHS install was recent because AFAIK you can't
  even get the installation files without a support login.
 
  One other thing you might try is using the iKeyman GUI to create the
  keystore database rather than the command line utility.  That's what I
  always use.  You can run it via an X session, or locally on Windows
  desktop.  I typically create and test a keystore locally on my desktop
  and copy the kdb file to the server when I'm sure it's working
  correctly.  The iKeyman interface is fairly intuitive, and it's easy to
  designate a default cert with the click of a button.
 
  -John
 
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
  Sent: Tuesday, February 19, 2013 6:23 PM
  To: U2 Users List
  Subject: Re: [U2] AIX 5.3 IBMIHS Web Server
 
  I tried checking for a default certificate and it reports null.  The
  KDB file has the GSK certs and my cert - that's it, and when I follow
  the instructions to set up my cert as the default, it gives me a cryptic
  I'm sorry Dave, I can't do that kind of message.
 
  This is on a customer's system, and they don't have any good paths to
  contact Rocket, as their vendor is entirely unresponsive which is why
  they work with us in the first place, and we're not a var.  So I post
  here and hope someone from Rocket is listening.  Wally, Kevin, Mike, ...
  there've been a number of very good Rocket folks helping out here over
  the years.
   (Apologies for anyone I missed.)
 
  -K
 
  On Tue, Feb 19, 2013 at 6:12 PM, John Hester jhes...@momtex.com wrote:
 
   I doubt the unqualified listen has any connection.  It sounds like
   something's corrupt in the kdb file.  If you only have one cert in the
 
   file, you might try removing the SSLServerCert directive altogether.
   Normally one cert in the database is marked as the default to use when
 
   none is specified, and if you only have one, that should be it.  I
   would also create a new kdb file from scratch just to make sure it's
  clean.
  
   If it still won't work after that, I'd suggest opening a case with IBM
 
   support if you have a current entitlement.  I open cases with them all
 
   the time for issues with new software installations, and they're
   always very responsive.
  
   -John
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
   Sent: Tuesday, February 19, 2013 4:03 PM
   To: U2 Users List
   Subject: Re: [U2] AIX 5.3 IBMIHS Web Server
  
   Yes, I have both the LoadModule and Listen, though my Listen is
   unqualified, like this:
  
   Listen 443
  
   The error I'm getting in the logs tells me there is no key for api
   or 
   api.client.com (I've tried both) despite the fact that gsk7cmd shows
   that the certificate absolutely is in there.  That's what's vexing; I
   can see the certificate, but for some reason Apache cannot.
  
   You don't suppose the unqualified Listen might have something to do
   with it, do you?
  
  
   On Tue, Feb 19, 2013 at 11:19 AM, John Hester jhes...@momtex.com
   wrote:
  
Kevin, I have both chained and self-signed certs on various servers.
The example from my workstation is a self-signed cert.  Self-signed
is
  
actually less prone to error because you don't have to worry about
importing the intermediate certs into the keystore database.  The
only
  
other thing I know to suggest at the moment is verify you're loading
 
the IBM ssl module and listening on port 443:
   
LoadModule ibm_ssl_module 

Re: [U2] UV: Consuming https service from within UVBasic using SOAP

2013-02-21 Thread Hona, David
Hi Peter,



You easily change that sample source code try amending these lines to access 
any SSL webserver/appserver.



For example the Firstmac.com.au website using SSL by default I see - so that'll 
be a good site to use as an worked example - that uses a CA Root certificate.



Basically,  all you'll need a copy of you GeoTrust's root certificate 
accessible by your (UV SOAP/HTTP) client application.



You must upload this (or any other SSL certificate) to your UV host and tell 
you UV application where it can be found...



* Assumes client host can resolve and access this URL

* For HTTPS SSL www.firstmac.com.au is using GeoTrust CA certificates, hence 
upload a DER copy of it first.

URL = https://www.firstmac.com.au/home;

* Define the full path to the GeoTrust CA Root certificate, uploaded to the 
host (exported in DER format)

X.CERT.PATH=@PATH:/geotrust.cer ;* Full path to a DER copy of GeoTrust CA 
Root Certificate
X.USED.AS=2  ; * 1=Self-signed, 2=CA Issued certificate
X.FORMAT=2   ; * DER format
X.ALGORITHM=1; * RSA key


Hope this helps. The CA Root SSL certificate business is complex and is part of 
that steep learning curve!

Good luck!



Cheers,
David







-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney
Sent: Thursday, 21 February 2013 11:44 AM
To: U2 Users List
Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP



Hi David,



Thanks for the url - am going through this now and the accompanying log.

It seems the host not found in hostlist error is not an issues so will 
continue investigating other causes.

I do believe the answer will lie somewhere in my own malformed request so just 
need to work it out I guess.

Will post updates as this progresses.



Many thanks,

Cheers

Peter





-Original Message-

From: 
u2-users-boun...@listserver.u2ug.orgmailto:u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David

Sent: Wednesday, 20 February 2013 20:17

To: U2 Users List

Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP



Peter,



As Symeon mentioned, protocol logging is required to help troubleshoot issues.



If you like to use Firefox, the 'Firebug' plug-in is helpful to see what goes 
on behind the scenes - but only once you have familiarised yourself with the 
basic concepts of the HTTP protocol. Otherwise, not much will make much sense...



The variable unassigned and UV version, shouldn't be an issue... we got UV SOAP 
going on UV10.1 ...years ago... using the IBM UV sample code mentioned in this 
URL: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html



We cloned this code for a proof of concept and our version worked for us (if I 
recall correctly)...



Obviously (maybe not), this is sample code in the URL will not actually work 
anymore - if actually did all those years ago (I can't recall) but it 
should give you a heads-up so to speak and point you in the right direction 
(more or less - hopefully more!)...



Regards,

David





** IMPORTANT MESSAGE *   
This e-mail message is intended only for the addressee(s) and contains 
information which may be
confidential. 
If you are not the intended recipient please advise the sender by return email, 
do not use or
disclose the contents, and delete the message and any attachments from your 
system. Unless
specifically indicated, this email does not constitute formal advice or 
commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. 
We can be contacted through our web site: commbank.com.au. 
If you no longer wish to receive commercial electronic messages from us, please 
reply to this
e-mail by typing Unsubscribe in the subject line. 
**


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV: Consuming https service from within UVBasic using SOAP

2013-02-21 Thread Peter Cheney
Thanks David,
I have obtained a client certificate that I hope will work and will try when I 
get a chance.
Many thanks for your support and advice.
Cheers
Peter

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David
Sent: Friday, 22 February 2013 9:33
To: U2 Users List
Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP

Hi Peter,



You easily change that sample source code try amending these lines to access 
any SSL webserver/appserver.



For example the Firstmac.com.au website using SSL by default I see - so that'll 
be a good site to use as an worked example - that uses a CA Root certificate.



Basically,  all you'll need a copy of you GeoTrust's root certificate 
accessible by your (UV SOAP/HTTP) client application.



You must upload this (or any other SSL certificate) to your UV host and tell 
you UV application where it can be found...



* Assumes client host can resolve and access this URL

* For HTTPS SSL www.firstmac.com.au is using GeoTrust CA certificates, hence 
upload a DER copy of it first.

URL = https://www.firstmac.com.au/home;

* Define the full path to the GeoTrust CA Root certificate, uploaded to the 
host (exported in DER format)

X.CERT.PATH=@PATH:/geotrust.cer ;* Full path to a DER copy of GeoTrust CA 
Root Certificate
X.USED.AS=2  ; * 1=Self-signed, 2=CA Issued certificate
X.FORMAT=2   ; * DER format
X.ALGORITHM=1; * RSA key


Hope this helps. The CA Root SSL certificate business is complex and is part of 
that steep learning curve!

Good luck!



Cheers,
David







-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney
Sent: Thursday, 21 February 2013 11:44 AM
To: U2 Users List
Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP



Hi David,



Thanks for the url - am going through this now and the accompanying log.

It seems the host not found in hostlist error is not an issues so will 
continue investigating other causes.

I do believe the answer will lie somewhere in my own malformed request so just 
need to work it out I guess.

Will post updates as this progresses.



Many thanks,

Cheers

Peter





-Original Message-

From: 
u2-users-boun...@listserver.u2ug.orgmailto:u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David

Sent: Wednesday, 20 February 2013 20:17

To: U2 Users List

Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP



Peter,



As Symeon mentioned, protocol logging is required to help troubleshoot issues.



If you like to use Firefox, the 'Firebug' plug-in is helpful to see what goes 
on behind the scenes - but only once you have familiarised yourself with the 
basic concepts of the HTTP protocol. Otherwise, not much will make much sense...



The variable unassigned and UV version, shouldn't be an issue... we got UV SOAP 
going on UV10.1 ...years ago... using the IBM UV sample code mentioned in this 
URL: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html



We cloned this code for a proof of concept and our version worked for us (if I 
recall correctly)...



Obviously (maybe not), this is sample code in the URL will not actually work 
anymore - if actually did all those years ago (I can't recall) but it 
should give you a heads-up so to speak and point you in the right direction 
(more or less - hopefully more!)...



Regards,

David





** IMPORTANT MESSAGE *   
This e-mail message is intended only for the addressee(s) and contains 
information which may be confidential. 
If you are not the intended recipient please advise the sender by return email, 
do not use or disclose the contents, and delete the message and any attachments 
from your system. Unless specifically indicated, this email does not constitute 
formal advice or commitment by the sender or the Commonwealth Bank of Australia 
(ABN 48 123 123 124) or its subsidiaries. 
We can be contacted through our web site: commbank.com.au. 
If you no longer wish to receive commercial electronic messages from us, please 
reply to this e-mail by typing Unsubscribe in the subject line. 
**


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 ---
Note: 
This email (inc all attachments) is for the use of the intended recipient(s) 
only.
Privileged or confidential information may be contained in this communication. 
If you have received this email in error, please notify the sender immediately 
and then delete all copies of this