I was going to do something like that. I thought if there was an inline
method, it would be more efficient
Barry Rogen
PNY Technologies, Inc.
Senior Programmer/Analyst
(973) 515 - 9700 ext 5327
[EMAIL PROTECTED]
-
Far better it is to dare
Yes, you can use inline prompting to read a record, an attribute,
value or sub-value from a file. The syntax is:
F(filename,itemid{,attribute{,value{,subvalue}}}),text
It's been a while since I last used this and who knows what changes
have been made since release 7! I don't
Use an inline prompt:
| SYNTAX
|
|[control,]... text [, option]
|
|control Specifies the characteristics of the prompt.
|
Use the syntax.
A,F(filename,recordname,attribute,value,subvalue),variablename
Look it up in the online help under ...
Jerry Banker
Sr Programmer Analyst
Affiliated Acceptance Corp
Sunrise Beach, MO
1-800-233-8483
www.affiliated.org
-Original Message-
From: Barry Rogen [mailto:[EMAIL
Barry
You could write a very short program to do it, then execute that.
Write the record and a return value to an @variable, something like...
PROGRAM READFILE
Get(Arg.) FileName Else STOP
Get(Arg.) ItemName Else STOP
Get(Arg.) FieldNo Else FieldNo = 0
@USER0 =
@SYSTEM.RETURN.CODE = @False
We are about to install Universe File Replication on a Windows 2003
server, using Universe 10.2.3 with replication to a similarly specified
Subscriber Server. The subscriber will be used for reporting purposes
to reduce the load on the publishing server. Most of the reporting is
done via UVODBC.
THANK YOU
Barry Rogen
PNY Technologies, Inc.
Senior Programmer/Analyst
(973) 515 - 9700 ext 5327
[EMAIL PROTECTED]
-
Far better it is to dare mighty things, to win
glorious triumphs even though checkered by
failure, than to rank with those
VAL=TRANS(FILENAME,RECORDID,FIELDNUMBER,OPTIONS)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen
Sent: December 7, 2007 08:04 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Paragraph
Is there a way to read from a file from within a
Jerry,
Thank you kindly.
Barry Rogen
PNY Technologies, Inc.
Senior Programmer/Analyst
(973) 515 - 9700 ext 5327
[EMAIL PROTECTED]
-
Far better it is to dare mighty things, to win
glorious triumphs even though checkered by
failure,
Is there a way to read from a file from within a Paragraph ?I know
you could do it from the old Procs, but unfortunately I need to execute
this from Paragraphs.
Barry Rogen
PNY Technologies, Inc.
Senior Programmer/Analyst
(973) 515 - 9700 ext 5327
[EMAIL PROTECTED]
I'd just
chmod g+x master
and add uvadm to the guest list of the group
that owns the master file by editing the /etc/group file.
We run root as the uv admin here - don't know if it's typical or not...
-- mats
Oaks, Harold skrev:
snip
However, in ...ibm/uv/bin the file 'master' which is
This is very interesting - so let me summarise :-
For the deployment of an SOA architecture with a number of different databases
you have found IBM U2 very easy, standards based, modern and flexible by either
using its own inbuilt web service creation tool and soap server, or by writing
your
Brian,
Thank you much
Barry Rogen
PNY Technologies, Inc.
Senior Programmer/Analyst
(973) 515 - 9700 ext 5327
[EMAIL PROTECTED]
-
Far better it is to dare mighty things, to win
glorious triumphs even though checkered by
failure, than
Is there a way to read from a file from within a Paragraph ?
Jerry's answer is generally easiest:
A,F(filename,recordname,attribute,value,subvalue),variablename
or F(filename,recordname,attribute,value,subvalue),variablename
___
Re. Brian's program idea:
Good idea for more
Doug,
When you talk to Charlie Noah, get him to contribute his programming
standards to the u2ug wiki, too.
Good stuff in there.
Chuck
-Original Message-
From: Doug Chanco
Actually I worked with Charlie many years ago (he used to grade my
programs and come by my desk with a copy of my
On the UniVerse system the SYS.CTL and LOCK.FILE do not exist are they
in Unidata? We use a program that was built by Charlie Noah that uses a
file that contains tables that equate system and inode numbers to file
names. You probably know him from the jbase lists. I would rather he
send it than
Actually I worked with Charlie many years ago (he used to grade my
programs and come by my desk with a copy of my program with a bunch of
red marks all over it ...) He was/is the most brilliant pick person
I have ever met in person with the exception of Jim Young.
I will email him and ask
Currently, the inode can be discovered by using -i option of the unix
ls command.
FILEINFO() also yields it up, so I have DICT VOC i-descriptors that
return the various FILEINFO() file info. That way I can do queries such
as:
LIST VOC WITH DATA.INODE = 446496 OR DICT.NODE = 446496
At IBM's U2
Here's our homegrown GET.LOCKS. It works on unidata, not sure about
universe.
[EMAIL PROTECTED]
LINE.CNT = 1
HEAD=UNBRL#8
HEAD:=UIDL#6
HEAD:=UNAMEL#8
HEAD:=TTYL#8
HEAD := FILE/RECORD IDL#25
HEAD:=ML#3
HEAD:=TIMEL#9
HEAD:=DATE
INFO=GETREADU()
ACNT=DCOUNT(INFO,@AM)
PRINT @(-1):HEAD
Hello all,
I am back in the universe world after working in jBASE for many
years now, is there a better tool than LIST.READU to show the locking
table? (similar to jBASE SHOW-ITEM-LOCKS which is pretty awesome)
It shows record locks BUT not what file the lock is on ... I am
still
Not to cause a jBASE versus U2 war but here is how jBASE SHOW-ITEM-LOCKS
looks like
*PORTPIDFILENAME RECORD
KEY LOCK# PORT/-PID
24947 /data/account/CUSTOMER 2395
Dave:
With UniData V7.1.9 on Windows, you can:
3 Dev (0)- LIST.READU
UNO UNBR UIDUNAME TTY FILENAME RECORD_ID M TIME DATE
4 3612 197615 wphasket pts/4 APVENDOR X 12:13:01 Dec 07
Bill
-Original Message-
From: [EMAIL PROTECTED]
Oops - never mind
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of gerry-u2ug
Sent: December 7, 2007 09:06 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV] Paragraph
VAL=TRANS(FILENAME,RECORDID,FIELDNUMBER,OPTIONS)
-Original Message-
Here is a little program called UNLOCK.ME. I hope that it is of some use.
--Bill
*-
clear
prompt ''
open 'SYS.CTL'to F.SYS.CTL else null
open 'LOCK.FILE' to F.LOCK.FILE else null
24 matches
Mail list logo