We use the databasic xml tools directly with reasonable success. The coding
is very easy, what you do need to understand is xml, including namespaces
character encoding etc. That's is where I have found many a u2 person has
fallen over and declared the xml functions too complex.
-Original
No - I thought we were talking about creating a **NEW** counter variable in
a large old program, call it xx1 do a search on xx1 no lines, then use it.
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent:
Hi all,
I asked the Rocket Software guys to have LOCAL variables... but nothing...
Someone from the UV development team once told me that the Basic compiler
has the concept of local variables for internal subroutines but it has not
been released. I don't know why. We did it for QM and it
There is a KEEP option in Universe that will keep the spooler file open no
matter what you do in BASIC, until the PRINTER OFF and PRINTER CLOSE.
So maybe try:
SETPTR 0,132,66,0,0,3,NFMT,NHEAD,BANNER UNIQUE,BRIEF,OPEN, KEEP
Althought looking at that command there, maybe thats what OPEN does...
Actually I think I worded that wrong. KEEP in Universe will keep the same
spooler file open until you do a PRINTER CLOSE, or SP CLOSE, if I remember
correctly... Its been a while.
On Fri, Jan 27, 2012 at 9:27 AM, John Thompson jthompson...@gmail.comwrote:
There is a KEEP option in Universe
I'll admit to my xml ignorance. However, as to not leave you hanging,
there were a few articles on IBM developer works about this stuff in
addition to the standard U2 manuals.
https://www.ibm.com/developerworks/wikis/display/u2tech/XML+for+IBM+U2
In my case, I always had to parse xml under
UniVerse has the compiler option -X (same as -XREF) that builds a cross
reference of all variables, includes, subroutine labels, etc. It identifies
the line(s) it is assigned a value, and the lines that reference it. The key
is the program id and is stored in a file with a .L suffix (so if
I wonder how much longer those IBM articles will exist... Are those 'moved'
to the Rocket DevZone?
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Friday, January 27, 2012 8:36 AM
To: U2 Users
I have a subroutine that is called from several web pages. In those cases,
subroutine can extract the needed info from the properties of the object that
was passed from the web site.
However, I also need to be able to run this from TCL with a simple driver
program. In this case, the object
You will not get Universe's XML tools to work on version 10.2. Must be
version 10.3 or higher.
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hennessey,
Mark F.
Sent: Thursday, January 26, 2012 3:15 PM
To:
Ha. That would have been nice of them to put that in the manual, lol.
On Fri, Jan 27, 2012 at 11:32 AM, Bobby Worley bwor...@coburns.com wrote:
You will not get Universe's XML tools to work on version 10.2. Must be
version 10.3 or higher.
-Original Message-
From:
From: John Thompson
This is where I think languages like php get it right.
Their simple XML stuff makes it simple to parse even
the junk you may get from somewhere else.
I've commented here and blogged on this topic a number of times.
I shake my head at the pain people continually subject
I recognized Will's troll from his first post and was tempted to
comment but thought that would just stir up more OT discussion.
And yet it continues anyway.
Don't you guys recognize the pattern here? He'll keep changing
the scenario, adding road blocks and confusing arguments that
make proposals
Tony your comments are unprofessional.
-Original Message-
From: Tony Gravagno 3xk547...@sneakemail.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Fri, Jan 27, 2012 10:13 am
Subject: Re: [U2] Passing by Value
I recognized Will's troll from his first post and was tempted to
I probably should have worded things differently. Much of my experience
has been in the automotive arena, where I have seen a lot of non-standard
things done, and where I have seen a lot of code almost purposely written
to make that person indispensable (either that or they were just a kid in
the
When I pose questions, they are actual, real life issues, that are happening
right at the time.
The other characterizations of me you mention below, are false.
-Original Message-
From: Woodward, Bob bob_woodw...@k2sports.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Fri,
Hear Hear! If you don't like being called a troll, don't be a troll.
Woodward, Bob wrote:
And yet I agree with him, too. You take advantage of the generosity of
the folks on this list with what appears to be a main motivation of
stirring up a conversation just for the sake of seeing how many
G-man:
You having a bad day? :-)
Bill Haskett
- Original Message -
*From:* 3xk547...@sneakemail.com
*To:* u2-users@listserver.u2ug.org
*Date:* 1/27/2012 10:12 AM
*Subject:* Re: [U2] Passing by Value
I recognized
Hi Tony
I partly agree with you. But I should be able to process xml data in UniVerse
far simpler than at the moment. I should not have to read xml in one
application, convert it to a dynamic string and then send it to
universe/unidata, I should just be able to do it one step. This is a
I guess Wally get his Johnson off on using this group since he seems to
spend a lot of time in idle chit chat --- must be self-employed/enjoyed.
Hey Wally where's the beav?
---
And yet I agree with him, too. You take advantage of the generosity of
the folks on this list
From: Bill Haskett
G-man:
You having a bad day? :-)
No bro, I just don't like seeing good people being abused ...
again. I'm just glad I'm not the only one who sees it.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
No one is forced to respond to any message Tony.
In fact no one is forced to read any of them.
-Original Message-
From: Tony Gravagno 3xk547...@sneakemail.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Fri, Jan 27, 2012 1:23 pm
Subject: Re: [U2] Passing by Value
From: Bill
From: David Jordan
Hi Tony
I partly agree with you. But I should be able to
process xml data in UniVerse far simpler than at the
moment. I should not have to read xml in one
application, convert it to a dynamic string and then
send it to universe/unidata, I should just be able to
do
From: John Thompson
And yes, you are right about me being un-familiar with
all of the details of xml :) But... nothing to do
about that except put my head down and work with
itusers
As with us all, John. Nothing intended by the comment except
acknowledgement of one of your prior
I just created a set of subroutines I copy and paste into anything that
uses reads or writes XML. Most interfaces don't handle much beyond
reading and extracting the element, value and attribute pairs anyway.
That is all very easy to achieve without an 'interface' beyond OPEN (or
OPENSEQ).
Jake
On 26/01/12 21:26, Mecki Foerthmann wrote:
What does -X do?
Sorry if this has already been answered, but I guess it's what I know as
XREF.
It creates a listing of all the variables used, including the lines on
which they are used.
I'd probably compile it with -Z2, run the program in
Thanks, I'll try it out next time I'm chasing a variable.
On 27/01/2012 22:52, Wols Lists wrote:
On 26/01/12 21:26, Mecki Foerthmann wrote:
What does -X do?
Sorry if this has already been answered, but I guess it's what I know
as XREF.
It creates a listing of all the variables used,
I 100% agree with you Tony.
I really feel put off by the arrogant attitude in his replies.
First asking bloody beginner's questions and then accusing seasoned
professionals when they offer a (free) solution that they don't know
what they're talking about.
Who does this guy think he is?
I
I never said you don't know what you're talking about.
I said your solution will not work in cases where the variable is a string that
occurs frequently.
Create a variable called HEN and then search for it, and you hit every THEN as
well.
Arrogance my dear is believing that when you are
It is not clear to me why Passing By Value is worth anything.
I am surprised that this thread has led to so many responses... most... I did
not read.
From here... having a variable with a name... and calling an external
subroutine... is all the bread and butter that I would ever need.
With all of the discussion recently about variables and how do you
find them in UniBasic programs, it was good to see that we tackled
most of them years ago with XLr8Editor Outline panel. We have tried
to incorporate all of the suggestions we get or the ones we suggest
ourselves.
Lately, we have
It gives the calling routine a way to ensure that a called routine can't
modify the variables value ( intentionally or inadvertently ).
FOR COUNTER=1 TO 10
IF IWANTTOCAUSEPROBLEMS
THEN CALL *BADSUB( @LOGNAME , COUNTER ) ;* go boom !
ELSE CALL *BADSUB(
32 matches
Mail list logo