Thanks John.
Here's what I did with Kevin's help.
1. Created a subroutine that accepts one parameter and returns the value
of the user specified system variable.
2. Wrote a glassfish webservice that calls that subroutine and returns
the value.
3. Wrote a java desktop gadget that hits the web
Is it just me or does anyone else think this is confounding - the output of
the list users command in UniData contains tab characters, which is just
another obstacle the engineers give us to program around!
011: Licensed(UDT+CP)/Effective
^009Udt^009Sql^009iPhtm^009Pooled^009^009Total^25
3
Jeff,
That sounds kinda cool.
If you are agreeable, would you send me copies of these so I can look at this?
While this will not change what we do here, it sounds very interesting and I am
always wanting to learn.
John Israel
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL
I have found the tab character to be extremely effective in delineating
columns of information. The simple command:
SWAP CHAR(9) WITH @VM IN report-table
Instantly changes the report to a usable table in UniBasic. Using any
'printing' character (like the pipe '|' or caret '^') is unreliable as
For what it's worth, the UniBasic LISTUSER() function provides dynamic
array of the detail items.
Wally Terhune
U2 Support Architect
IBM Information Management Software
Tel: (303) 773-7969 T/L 656-7969
Mobile: (303) 807-6222
Email: [EMAIL PROTECTED]
Anyplace you have to parse output is confounding!!
I think most of this is in system() variables - but there are some things
that don't seem to be...
Listuser is also an .exe in the \bin directory. Have you tried parsing that
output? It may be more advantageous if you're close to your user
When I need to build an export file, I always build each row as a FM delimited
array. This allows me to take advantage of all the basic commands. When I am
ready to write the row to disk (via WRITESEQ), I always run a common piece of
code to:
Convert all tabs to spaces
Convert all vms to
If the command is like the one in UV then it actually comes from the
operating system (who), at least in the Unix world.
Jerry Banker
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
Sent: Friday, September 12, 2008 8:43 AM
To:
Colin:
!listuser returns tabs too. Oh well.
While I'm at it, it would also be nice to dump list/sort output into an
array. Sounds like a BB entry (if only I could figure out how). :-)
Thanks,
Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thanks Wally.
Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wally Terhune
Sent: Friday, September 12, 2008 7:43 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UD] Tab characters in output
For what it's worth, the UniBasic LISTUSER()
Sure,
But I'll need to sanitize them first.
On Fri, 2008-09-12 at 09:47 -0400, Israel, John R. wrote:
Jeff,
That sounds kinda cool.
If you are agreeable, would you send me copies of these so I can look at
this? While this will not change what we do here, it sounds very interesting
Instead of complaining we should send them a thank-you note.
Sent from my Windows Mobile. phone.
-Original Message-
From: Bill Haskett [EMAIL PROTECTED]
Sent: Friday, September 12, 2008 7:21 AM
To: u2-users@listserver.u2ug.org u2-users@listserver.u2ug.org
Subject: [U2] [UD] Tab
While I'm at it, it would also be nice to dump list/sort output into an
array.
Not exactly what you're asking for, but you may get some help from the TO
DELIM UniQuery keywords to create flat, delimited files that can be read
in by your program or by Excel and other applications. I use it
I am trying to find a way to change the columns on my screen from 80 to 132
and from 132 to 80. Either by scripts or by program.
--
View this message in context:
http://www.nabble.com/Change-columns-from-80-to-132-and-from-132-to-80-tp19462277p19462277.html
Sent from the U2 - Users mailing list
I need to add this is from Wintegrate.
T Stokes wrote:
I am trying to find a way to change the columns on my screen from 80 to
132 and from 132 to 80. Either by scripts or by program.
--
View this message in context:
Depends on the emulator. What emulator and emulation are you using in that
program?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
Thanks. Actually, I do use this one. In fact, I have an enhancement request
in that it put CRLF after each line instead of just LF on Windows
systems.
UDT.OPTIONS 91 always seemed backwards to me. If you're using the LIST
syntax you would expect things in converted form - not the other way
I guess you haven't used Excel 2007. It gives you an error message - although
it does still give you the option to open the file.
Hth
Colin Alfke
Calgary, Canada
-Original Message-
Israel, John R.
[snip]
The other thing I usually do is save the export with a .xls extension.
The
UDT.OPTIONS 91 always seemed backwards to me. If you're using the LIST
syntax you would expect things in converted form - not the other way
around.
It's easy enough to create dicts (or even list statements) without conv
codes.
I agree that it seems backwards. My guess is that, when TO DELIM
I'm not familiar with wintegrate. Does it do multiple emulations? The
control sequences to change a vt100 emulator are different than for a
Wyse or Adds terminal. Check out the wintegrate programmer's manual.
If it's anything like Accuterm, there's probably a private escape
sequence that
Is this universe or unidata? Looks like universe defines the @(-29)
function as setting 80 column mode, and the @(-30) function as
setting 132 column mode. These may not be defined for all term types,
but they work for me in vt420.
On Sep 12, 2008, at 3:49 PM, T Stokes wrote:
I need to
I am trying to set the columns in wintegrate from 80 to 132 or from 132
to 80
Tim Stokes
[EMAIL PROTECTED]
Monolith Corporation
Phone: (919) 878-1900 ext 267
Fax: (919) 878-8844
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent:
Colin, is this the error you're referring to?
The file you are trying to open, '[filename]', is in
a different format than specified by the file extension.
Verify that the file is not corrupted and is from a
trusted source before opening the file.
Do you
23 matches
Mail list logo