Re: [U2] Trim trailing attributes off records

2012-05-15 Thread Wjhonson
There's nothing I can do as far as I know about how the AOL email creator, and ... whatever.. interact. As far as quoting, it's an automatic function, I'm not *doing* anything to make it happen, it happens all on it's own. -Original Message- From: Tony Gravagno <3xk547...@sneake

Re: [U2] Trim trailing attributes off records

2012-05-15 Thread David L. Wasylenko
That's a slick solution --- I do believe truncating a dim write is universal. Amen on the truncated ! ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users

Re: [U2] Trim trailing attributes off records

2012-05-15 Thread Tony Gravagno
I know functional code was posted last week so I'm amazed that this thread is still alive. I'll just add that in D3 we can do this: matread dimrec from fv,key else null dynrec = dimrec write dynrec on fv,key Perhaps non-intuitively, the assignment of a dimensioned array to a non-dimensioned vari

Re: [U2] Trim trailing attributes off records

2012-05-15 Thread Wjhonson
Sure but then *that* will not trim the trailing attributes. If you dim it to hold every element, and then write it back you just get the exact same problem with which you started. Extra empty attributes. The solution you already had, to matread it, blank rec(0), then matwrite it That works.

Re: [U2] Trim trailing attributes off records

2012-05-15 Thread Wols Lists
On 15/05/12 20:50, Wjhonson wrote: > > Information Flavor > No spaces in the fields, nothing in them at all, just a line of attribute > marks with nothing in between. > Your trick below *does* work by the way, and it's essentially what I did. > I just set Rec(0) to nothing before the MATWRITE and

Re: [U2] [UV] Connecting to a WebService with UV using Authentication Certificate

2012-05-15 Thread Gregor Scott
There is a worked example on PickWiki. Search for CallHTTPwithSSL. This should give you a start. The UniVerse "Security Features" document explains how to use createSecurityContext() to create security context variables that are passed in to the createSecureRequest() function. It also covers th

Re: [U2] [UV] Connecting to a WebService with UV using Authentication Certificate

2012-05-15 Thread John Jenkins
UniVerse has BASIC API extensions that support calling http with secure sockets. I suspect this will do the job for you if the web service is exposed. Regards JayJay Sent from my iPad On 15 May 2012, at 15:14, "Jacques G." wrote: > > > Hello, > > A need has come up where I work to connect

Re: [U2] Trim trailing attributes off records

2012-05-15 Thread Wjhonson
Information Flavor No spaces in the fields, nothing in them at all, just a line of attribute marks with nothing in between. Your trick below *does* work by the way, and it's essentially what I did. I just set Rec(0) to nothing before the MATWRITE and that did it. But I was also surprised that An

Re: [U2] Trim trailing attributes off records

2012-05-15 Thread Wols Lists
On 11/05/12 17:36, Wjhonson wrote: > > I thought that too. > Tried that one. > What it actually does is store all the trailing attributes in the "header" > and then append them back to the record when it writes it out. > Universe 10.3 > What flavour? That ALWAYS worked for me on PI. Let's say y

Re: [U2] Printing to a windows printer from a Linux server on Universe

2012-05-15 Thread Wols Lists
On 10/05/12 22:02, Tim Stokes wrote: > I am using a samba share. > > > /usr/bin/smbclient '\\\' -U > -c 'translate;print -'>/root/Printers/ > > This is working on several windows printers to linux, and on a Windows 7 > professional edition. But on a windows 7 home edition the jobs run through

[U2] [UV] Connecting to a WebService with UV using Authentication Certificate

2012-05-15 Thread Jacques G.
Hello, A need has come up where I work to connect to a web service using Universe however the Webservice needs a Authentification Certificate.  Is there any way to do this all with Universe or does one need to make use of Java on the UV server ?   (Are there any examples available that do som

Re: [U2] Printing to a windows printer from a linux server on Universe

2012-05-15 Thread John Thompson
If its Windows 7, its probably best to use Samba version 3.5 or higher if your distro offers it. At least use version 3 or higher. Hope you solved your problem. On Mon, May 14, 2012 at 10:42 AM, T Stokes wrote: > > We are using smbclient. > > Additional information - We have determined that whe