Does Universe support the WAKE / PAUSE commands? We are a Unidata shop
and use these commands to do something very similar to the problem you
are trying tackle.
Syntax
WAKE pid
Description
The UniBasic WAKE command activates a UniData process (pid) that has
been
paused with
Just a side note on the errlog file... You can increase the number of
messages by increasing the MAXERRLOGENT parameter in uvconfig.
Perry
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Jacques G.
Sent: Thursday,
We are looking to do a big upgrade on our hardware and software, and I was
hoping to get any positive or negative feedback folks might have had.
CURRENT
HP Ux 11i v1
UniData 6.0.4
SB 5.2
RedBack 4.2.6
DataStage 7.5
PROPOSED
HP Ux 11i v3
UniData 7.1.17
SB 5.2.4
U2 WEB DE 4.4
quote who='Israel, John R.' date='Friday 27 February 2009'
We are looking to do a big upgrade on our hardware and software, and I was
hoping to get any positive or negative feedback folks might have had.
Based on new features, I'd try to shoot for Unidata 7.2.x
CURRENT
HP Ux 11i v1
UniData
hmmm. Are you running on a unix system?
Maybe you could do this with a named pipe.
have the waiting program open a named pipe for reading and wait
and have the sending program open the named pipe for writing and send the
message.
George
-Original Message-
From:
ok...I found this code snipit (REALITY FLAVOR)
SELECT FILENAME
LOOP
READNEXT ID ELSE EXIT
WHILE ID DO
CODE
CODE with GOSUB
CODE
CODE
REPEAT
What was happening was the loop was exiting early, but it was exiting after
the
CODE with GOSUB line was executed.
What struck me was why
If the ID equates to false it will exit - i.e. a record with ID 00
Edward
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: 27 February 2009 14:26
To: Ardent
Subject: [U2] Strange happening...
Similar to the online docs for Universe.
George
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
Great...this answers my Wintergate question as well.
George
-Original Message-
From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-
us...@listserver.u2ug.org] On Behalf Of Dan Fitzgerald
Sent: Thursday, February 26, 2009 9:10 PM
To: u2-users@listserver.u2ug.org
Subject: RE:
that wasn't the case. The id was combination of 13 letters and numbers.
The strange part was where the while/do seemed to kick in.
The item was read from the file without a problem
3-4 lines of code execute as expected
it then executed a gosub, but when it returned, it dropped out of the
We have an account setup to allow odbc access to specific files.
We added access to a new file and ran HS.UPDATE.FILEINFO which processed
a few files but then aborted the session with that old standard :
Abnormal termination of UniVerse
Fault type is 11. Layer type is Unknown.
The files
All documentation is here:
http://www-01.ibm.com/software/data/u2/pubs/library/
--
Carl Dula Voice: 973-227-8440 X111
Pulsar Systems, Inc.Fax: 973-227-8440
271 Route 46 West, Suite H209
I would follow it line-by-line with the debugger.
Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: Friday, February 27, 2009 8:21 AM
To:
OK Aside from programming styles
Is there any functional difference between
WHILE expression DOand IF NOT(expression) THEN EXIT
and
UNTIL expression DOand IF expression THEN EXIT
First I thought that the DO/WHILE would activate as soon as
the condition occurred and drop out of
What was strange, is the code worked fine during other runs (with different
files being read), but it was consistant that is always stopped with that one
file at the 6th record.
I didn't use the debugger, but when I get a chance, I'll uncomment the line
and retest it, and use the debugger to get
It looks like it's already been followed within the debugger to get the
information given by George below.
One possibility is that the gosub'd code is doing a CLEARSELECT under
some circumstances, or something else that destroys the list? Possibly
also the gosub'd code has a GO that's destroying
George Gallen wrote:
ok...I found this code snipit (REALITY FLAVOR)
SELECT FILENAME
LOOP
READNEXT ID ELSE EXIT
WHILE ID DO
CODE
CODE with GOSUB
CODE
CODE
REPEAT
What was happening was the loop was exiting early, but it was exiting after
the
CODE with GOSUB line
I was under the impression that the errlog only existed on unix systems.
Maybe I'm wrong on this but I can't find it anywhere on our system.
On Fri, Feb 27, 2009 at 1:17 AM, Jacques G. jacque...@yahoo.com wrote:
If you turn on the errlog file in /u1/uv you may get a message in there for
an
If you might also want to play with putting the WHILE... line just before the
REPEAT. This would be dependent upon your actual program (might need to
consider if the loop starts with a failed condition). Your mileage may vary.
John Israel
-Original Message-
From:
Hi George,
Is there any functional difference between
WHILE expression DOand IF NOT(expression) THEN EXIT
and
UNTIL expression DOand IF expression THEN EXIT
None at all.
Use of WHILE/UNTIL is sometimes easier to read. Conversely, some exit
conditions can only be done using
Hi Mike,
I was under the impression that the errlog only existed on
unix systems. Maybe I'm wrong on this but I can't find it
anywhere on our system.
The errlog file is on Windows too but, just as on Unix, you need to create
an empty errlog file in the UV account directory to enable the
In message 47c1b98393896f41a7bfe435442394e510f...@gmsdc.gerzio.ca,
u2ug simpson-u...@gerzio.ca writes
We have an account setup to allow odbc access to specific files.
We added access to a new file and ran HS.UPDATE.FILEINFO which processed
a few files but then aborted the session with that old
I hadn't really played much with RAID/VLIST, so I guess this is my springboard..
VLISTING the WHILE/DO vs IF THEN yielded some interesting results
WHILE/DO
3 6 : 1C2 vec_addCTR 1 = CTR
5 E : 10C nop
5 00010 : 0DC lt CTR 4 = $R0
5 00018 : 2DE testfw
George, Edward,
Just a shot in the dark - prompted by Edwards comment something else that
destroys the list.
We found on UniData that, when a SELECT statement creates a list outside of
the program issuing the SELECT, any other SELECT statement issued by the
same user in the same or any
Yes, we're using CUPS on Universe on RHEL 5.x.
Dave Taylor
Sysmark Information Systems, Inc.
Authorized IBM Business Partner
49 Aspen Way
Rolling Hills Estates, CA 90274
(O) 800-SYSMARK (800-797-6275)
(F) 310-377-3550
(C) 310-561-5200
www.sysmarkinfo.com
- Original Message -
From:
CTR =0
LOOP WHILE CTR 4
CTR+=1
PRINT CTR
REPEAT
FOR CTR = 0 TO 4
PRINT CTR
NEXT CTR
CTR = 0
LOOP
CTR += 1
PRINT CTR
IF CTR 4 THEN EXIT
REPEAT
If you're going to use a counter, might as well use a for loop. Your test
didn't work because you didn't test the limit after each
-Original Message-
From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-
us...@listserver.u2ug.org] On Behalf Of Allen Egerton
Sent: Friday, February 27, 2009 11:37 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Strange happening...
While the code itself is less than
In the example of code you have, the loop will exit if your key (variable ID)
is equal to an empty string or a string that can be evaluated to zero for
example values like these:
0E1,0E10, 0E100 (on Universe)
(empty string)
Will make the loop end:
SELECT FILENAME
LOOP
READNEXT ID
Thanks for the response :
Versions : uv 10.2.11 on hpux B.11.31
I tried :
LISTF
SELECT VOC WITH TYPE = F Q
SORT VOC WITH TYPE = F Q
SORT VOC WITH TYPE = F Q BY F2
Even ignoring system files ( those automatically added to HS_FILE_ACCESS
) nothing matches the order
For anyone that is interested,
from the wiki
The following program should be substituted for HS.UPDATE.FILEINFO
0001: CALL *HS.FILEINFO( RESULT, REFRESH, 1)
0002: PRINT RESULT
0003:END
This gives you a verbose step by step of what is happening.
It turns out that
actually, my test did work. I was testing to see if the loop would end
when the condition was met and it wasn't being tested directly.
It was only a test, and not meant to be a counter loop, just that is was
in a loop, and each increment after 3 was printed to show it was still
inside the loop
George,
In my opinion you lose the elegance and readability of the LOOP construct
when you use EXIT. Code is easier to debug and enhance when Loops and
Subroutines have one entry and one exit.
Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725
-Original Message-
From:
I agree completely with David. I make it a habit to have one way in and one
way out for my loops and subroutines. It makes it much easier to enhance/debug
in the future (which is what most of us spend most of our time doing). I will
not say I NEVER break this rule, but it is rare.
John
Can You
SELECT File TO 1
To assign the selection to a list number, as the default list number is 0 it
would cut down on the chances of the list being used by something else?
Just make sure at the end you PERFORM DELETE.LIST 1 so it's not hanging
around.
Jeffrey Lettau
ERP Systems Manager
See below.
Nicholas M Gettino | Director of Development | EnRoute Emergency
Systems, an Infor company | office: 813-207-6998 | fax: 678-393-5389
nick.gett...@infor.com | www.enroute911.com
First time through...
Example:
0001: CTR=0
0002: LOOP First pass
Hi all,
Does anyone have anything like described below that will read
Universe PICK code and then proceed to aid in flowchart creation whether
it creates some kind of map file or a Visio even better?
Thanks,
Peter
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
I actually think, from the distant reaches of my memory, that this might
behave differently depending on the uv flavor...
-Dianne
Nick Gettino wrote:
See below.
Nicholas M Gettino | Director of Development | EnRoute Emergency
Systems, an Infor company | office: 813-207-6998 | fax:
I should offer a contrary opinion.
I support many sets of differently developed code with all my clients. When
properly indented, the EXIT is a logical way to conclude the visit in the
loop without labeling the REPEAT or introducing other DONE 'style'
variables. The code actually shrinks by a few
What my test program was to show, is that the WHILE/DO will
only end the loop if the condition is not met when execution
is on the WHILE/DO line (line 4).
In other words, the loop will not be ended when CTR3, but
rather when CTR3 AND it is being checked by the WHILE/DO Line.
I was testing that
I use exit as my single point out by not including a WHILE or UNTIL.
SELECT YADAYADA
LOOP
READNEXT KEY ELSE EXIT
Do Stuff
Do Stuff
REPEAT
Israel, John R. wrote:
I agree completely with David. I make it a habit to have one way in and one
way out for my loops and subroutines. It makes
In all your examples, you support my position. 1 way in, 1 way out. Though to
your point, you have clean, concise clean code.
John Israel
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of MAJ Programming
Sent: Friday,
-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Peter Veenhof
Sent: Friday, February 27, 2009 1:36 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Deciphering Pick
Hi all,
Does anyone have anything like
Ok, so I just create a type 18 file called ERRLOG in the UV account and
restart universe?
On Fri, Feb 27, 2009 at 11:59 AM, Martin Phillips
martinphill...@ladybridge.com wrote:
Hi Mike,
I was under the impression that the errlog only existed on
unix systems. Maybe I'm wrong on this but I
On Sat, Feb 28, 2009 at 2:13 AM, Israel, John R.
johnisr...@daytonsuperior.com wrote:
We are looking to do a big upgrade on our hardware and software, and I was
hoping to get any positive or negative feedback folks might have had.
UD 6 to UD7.1 was painless.
Props to IBM, it has been a long
#touch $(cat /.uvhome)/errlog
- Original Message -
From: owner-u2-us...@listserver.u2ug.org owner-u2-us...@listserver.u2ug.org
To: u2-users@listserver.u2ug.org u2-users@listserver.u2ug.org
Sent: Fri Feb 27 15:55:22 2009
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT
Ok, so I just create a
On unix it's an empty file (size zero) we create:
EI:
touch errlog
On a windows the equivalent would probably be (from dos prompt when in the uv
account):
copy con errlog
^Z
1 file(s) copied.
(After typing CTRL-Z you press[RETURN]) I haven't used the errlog in Universe
for Windows though.
46 matches
Mail list logo