We secure our RedBack login with a little BASH scripted menu that I
put together. When redback logs onto our system, the menu script
is executed and there are the following options...startrgw, stoprgw,
showrgw, perfrgw, run UDT, exit/logout. We've taken an extra step of
locking down our RedBack
Moreover, for those that are interested, here's the script to which
I'm referring. Keep in mind that pathing to the RGWHOME, RGWBIN,
UDTHOME, and UDTBIN are important. You could always leave out the EXIT
section and make it LOGOUT instead to force the connection to be
broken...we trust our RedBack
I've posted the following to the OpenQM user's list, and thought I'd have a
crack at U2-users as well.
I've been playing with OpenQM at home for a couple of days now. Most of the
questions I've had were quickly answered by consulting the manual.
But because of the app I'm building at home, I
As a general statement, want you are doing is not something you want to
experiment with unless you have a completely separate development machine
to work with that you can refresh if you mess it up. You need to have a
much better understanding of the file structure used by your application
before
I'va made something like this on U2 too.
Juste make a derived field that use RND(@TIME) to generate a random
number. (maybe in a subroutine)
And use select like this :
SELECT MYFILE BY RANDOM_FIELD SAMPLE 100
But, as ordering record is made before sampling, it could take a little
time if you
Hi Dave,
I've built a database of all my mp3s. Now I want to generate a random list
of 100 songs. s there a way to do that with a SELECT statement, or must I
muck around in basic to do so.
This depends what you mean by random. If you are happy to agree that the
hashing process is effectively
Can you set the redback user's login shell to /bin/false, or lock the account
via passwd (passwd -l option or some *nix systems, or manual editing with vipw
or similar).
I start redback via init scripts something like this:
/bin/su - rbuser -c /u2/redback354/server/redback/rgw/bin/startrgw
Will's answer is quite excellent but...
1. The SandBox VOC needs to know about files. So, I did something similar
like...
SELECT MYPOINTER WITH F1 = F
COPY FROM MYPOINTER TO VOC
SELECT MYPOINTER WITH F1 = PA
COPY FROM MYPOINTER TO VOC
2. The first program that I
This doesn't work (at least on UV). The sample happens before the sort,
not after.
Otherwise, however, it's an ingenious idea. Incidentally, you could do
the same thing (at least in UV) without creating a new dictionary, by
using EVAL.
i.e.,
SELECT MYFILE BY EVAL RND(@TIME)
That way you
Yes, I would like a DIFFERENT 100 every time, otherwise the FIRST would have
worked. The first thing I thought of was your basic routine, but I just
wondered if I'd overlooked a SELECT option that I wasn't familiar with.
I'm wondering which would be more efficient; the basic subroutine or
Note truly random but you could try
SELECT SAMPLED x SAMPLE 100 where x is a number to specify how often
to select a recod, you could change this number every time you did the
select
h
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
09/08/2005 15:04
Please respond to
Try creating an I Descriptor dictionary item that uses the RND()
function.
SSELECT xxx BY NEWDICT
READNEXT first item, should be different each time?
Mark.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
The problem here is that anything in the PRODUCTION voc that looks like
1F
2FILENAME
3D_FILENAME
will need to be changed in the SANDBOX account to
1Q
2PRODUCTION
3FILENAME
this is because these are actual files in the PRODUCTION account and they
dont exist in the SANDBOX account, so you need
Bill, you copied the VOC to the account (and a new unix directory I'm assuming)
but...the actual FILE and contents were not copied, only the VOC entry.
1. delete the VOC entry
2. CREATE-FILE FILENAME (1/19/30 - your choice) (in the sandbox)
3. LOGTO production
4. Create a Q pointer (QPFILE) in
I wouldn't change them to Q pointers. Otherwise the sandbox account
will CHANGE the data in the PRODUCTION account, you need to copy them
to the new account so you have your own files to muck with.
George
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Dave,
I'm wondering which would be more efficient; the basic subroutine or
Christophe's suggestion of an I descriptor?
Both solutions require that the entire file is read to construct the list.
There probably isn't a lot in it either way.
Martin Phillips
Ladybridge Systems
17b Coldstream
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of George Gallen
Sent: Tuesday, August 09, 2005 11:43 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] New UV Accout VOC
Bill, you copied the VOC to the account (and a new unix directory I'm assuming)
Sometimes this can be dangerous. We had a routine to open files in a
common area. We had a live account in one directory and a test in
another. If you switched back and forth between live and test you were
still pointing to the same files. We had to create a 'close files'
routine when
The I-desc is a nice idea, however you're going to get multiple hits on the
same song, and don't we all hate that when we hear the same song?
The basic idea is very similar to something that I did with the thought of
the day. I used to select the entire file put it into an array, and then
base
To build on Christophe Marchal's idea, why not
SELECT MYFILE BY EVAL RND(@TIME)
SELECT MYFILE SAMPLE 100
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
I use xmms for playing the music, but until now have used a mysql database
to generate the playlists.
What I'm actually trying to do is learn how to talk to OpenQM with qmclilib.
I've managed to create a python wrapper for the library, and have now built
the database using the same program I
I did not know about a SAMPLED clause. You learn something new every day
(hopefully).
Thanks,
--
Dave Walker
8..7 4(()) -::-
-::-8.74 .74(())
((88.74 ..74 -::-
((88.74 * Peace
-Original Message-
From: [EMAIL
Wow, and here I just program dull business programs, day after day, year
after year, decade after decade.
Have Fun
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dave Walker
Sent: Tuesday, August 09, 2005 10:51
To: 'u2-users@listserver.u2ug.org'
Please contact me off-list. I'm curious about the end use of your random
selection of music files. A similar idea has been kicking around in my head
for years.
===
Norman Morgan [EMAIL PROTECTED] http://www.brake.com
Wow, imagine using my ipod with a MV database.
At 11:27 AM 8/9/2005 -0700, you wrote:
Wow, and here I just program dull business programs, day after day, year
after year, decade after decade.
Have Fun
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
The dull business programs is my day job.
The fun stuff is at night. Just trying to keep my skillset current.
Thanks,
--
Dave Walker
8..7 4(()) -::-
-::-8.74 .74(())
((88.74 ..74 -::-
((88.74 * Peace
-Original
know what you mean. I installed PE on a mini-PC running Fedora
at home for those little projects. It's a cool little computer
http://www.carcarealert.com/mini-pc.bmp
With it's small footprint, it sits on top of our regular PC, I
run it with no keyboard, mouse or display (telnet in from laptop).
I have defined a remote Windows TCP/IP printer; in Windows I can print a
test print job fine. In UniVerse I executed the SPOOL -LIST and see my
defined Windows printer. I execute SETPTR to defined printer and send a
print job from TCL and the job leaves UniVerse goes to the Windows
spooler where
Well, back before I had to use outlook as my email client, it was some
spiffy ascii art that looks like swirls of smoke and stars with 'Peace' at
the end. Outlook mangles it so that it's unrecognisable before it sends it,
though.
--
Dave Walker
8..7 4(()) -::-
-::-8.74
I suggest that you set up a generic Text-to-file 'printer' and route to
it. If it doesn't get to the file, you know the printer itself isn't the
problem. If the generic text file does generate, I'd look to see if so
step is adding control chars which are affecting the printer.
--
Charles
Paul,
Generally speaking, you will need to set up the printer that UniVerse
sees with a 'Generic / Text Only' driver.
This will probably mean you need to set up two (or more) Windows
printers, pointing to the same physical device. One is the 'real'
printer definition that you will use to print
Charles, thank you.
I created the generic text-to-file printer and the print job went to the
Windows spooler but never prompted for Output Name, for example
d:\temp\prh, as did the Windows test print job which generated the job
to file fine. So the job never made it out of the Windows spooler on
Paul,
Have you installed your remote printer using an lpr port on your Universe
server?
You must install remote printers using an lpr port so that they appear on
your Universe server to be installed on your Universe server, not simply as
remote printers connected to another computer on the
Hi folks.
I'm trying to do a listing of a file that has a number of attributes
that are MV'ed and are associated, at least logically, and I'm wanting
to only display specific values. Here's the command and layout for a
single item:
LIST PM ITEM.ID STATUS.FLAG CUBES TOTE.ITEM UOM
PM file
Is anyone using the Datatel UI product with ssh/ssl enabled? If so,
could I ask you a few questions?
Thanks,
Dave Chladek
Systems Administrator
North Harris Montgomery Community College District
http://www.nhmccd.edu http://www.nhmccd.edu/
---
u2-users mailing list
Anyone know of a UV-based real-time credit card verification application?
TIA,
John
--
John Hester
System Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit
Try Fred Tuttle at Totalink.
/Scott Ballinger
Pareto Corporation
Edmonds WA USA
206 713 6006
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Tuesday, August 09, 2005 5:36 PM
To: U2 Users Discussion List
Subject: [U2][UV] Real-time
Hi Bob,
You'd want to use the 'WHEN' clause. This is used on multivalued sets to
limit stuff.
LIST PM ITEM.ID STATUS.FLAG CUBES TOTE.ITEM UOM WHEN TOTE.ITEM EQ 'Y'
hth!!!
Allen
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Woodward
Sent: Tuesday,
With UV and AIX, we have been using SDC/protobase for many years - very
successfully.
www.protobase.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John Hester
Sent: Tuesday, August 09, 2005 5:36 PM
To: U2 Users Discussion List
Subject: [U2][UV]
Thanks Richard.
That's exactly what I needed. And by adding BREAK-ON @ID, it even gives
me the grouping I need by PM ID.
Bob W
Harbor Wholesale Grocery
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-u2-
[EMAIL PROTECTED] On Behalf Of rbl000
Sent: Tuesday, August 09, 2005
John,
Try www.total-computing.com.
Rgds,
Dave
Dave Taylor
President
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(P) 800-339-1497
(F) 310-377-3550
Your Source for Integrated EDI Translation and DataSync Integration
Actually Fred is with Total Computing Solutions (www.total-computing.com/) and
the product is called TotaLink
Fred's contact info is ...
801-796-7600
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] on behalf of Scott Ballinger
Sent: Tue
I'm surprised there are no answers yet.
The WHEN keyword is what you're looking for.
And you need to make sure the dictionary is set up right.
If ITEM.ID, STATUS.FLAG, CUBES, TOTE.ITEM, UOM are all D- or I- items,
then for each of them set
6 = M
7 = BOB.ASSOC
The same for any other fields
In a message dated 8/9/2005 8:04:38 AM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
ED VOC FILENAME
1: F
2: FILENAME
3: D_FILENAME
3. Thus, further commentary would be appreciated.
--Bill
Bill these sorts of F pointers where attribute 2 is some short thing
44 matches
Mail list logo