Shame on you. We're technologists. We don't *read* questions or *listen* to questions, we are much to busy *answering* them. After all, anyone can read and listen.
- Charles 'Tongue Firmly in Cheek' Barouch
Donald Kibbey wrote:
Thanks to all who have responded. I didn't realize that you could/should stick "PA" in front of such a list?!?
The little project I was working on was due yesterday, so I ended up just running the QSELECT and filtering the resulting list within the C# program. The list consisted of an invoice number tacked onto a client number and the program already had the invoice number as a variable. The manual actually states only one command at a time, so it's not like this is a bug or anything. Just that I have grown used to sticking 2-3 commands together with an @FM character and capturing the result.
And I know for a fact you don't need the PA in front, at least not with Pick flavor UniVerse.
Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP (202) 216-5032
I would actually try sending[EMAIL PROTECTED] 02/25/04 05:41AM >>>
PA @FM QSELECT @FM SSELECT
Dunno whether it would work, but if sending an @FM-delimited list of commands screws up by giving all the rest of the string to the first command, maybe making the first command PA (to invoke the paragraph processor) would achieve exactly what he wants?
I never realised before I started reading cdp/oliver that you didn't
need PA at the start of an @FM list called by EXECUTE, so that's the way
I've always done things.
Cheers, Wol
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Walker
Sent: 24 February 2004 21:25
To: U2 Users Discussion List
Subject: RE: UniCommand via UniObjects (Java)
I believe he can just call a paragraph such
PARAGRAPH 12345
Where PARAGRAPH is the following VOC entry
PA * <<C2,ARG1>> QSELECT CLIENT.XREF "<<ARG1>>" SSELECT AR.TR BY MATTER WITH INVOICE = "<<ARG1>>"
Phil Walker
+64 21 336294
[EMAIL PROTECTED] infocusp limited
\\ PO Box 77032, Auckland New Zealand
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn M. Wolthuis
Sent: Wednesday, February 25, 2004 10:16 AM
To: 'U2 Users Discussion List'
Subject: RE: UniCommand via UniObjects (Java)
I think you can put the commands in a single paragraph and run that from UniObjects. You'll have to pass in the DATA to the paragraph (since I figure that 12345 is the value of a variable) and I haven't tried that with UOJ, but I suspect others have. Good luck. --dawn
Dawn M. Wolthuis
Tincat Group, Inc.
www.tincat-group.com
Take and give some delight today.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Donald Kibbey
Sent: Tuesday, February 24, 2004 1:55 PM
To: [EMAIL PROTECTED] Subject: UniCommand via UniObjects (Java)
I'm attempting to send a compound command with the UniCommand object and have hit what looks like a documented limitation. Before I go off and rethink how I'm doing this, I thought I'd ask to make sure this really won't work.
What I'm attempting is to run something like this under UniObjects.
QSELECT CLIENT.XREF "12345" :@FM: SSELECT AR.TR BY MATTER WITH INVOICE = "12345"
On this system, doing this results in a very quick selection of a couple hundred records out of the AR.TR file. But, the docs for UniObjects say only one command at a time. Does this mean that sticking a couple commands together like this is just not possible? I've tried it and it looks like the QSELECT is being attempted with all parts of the command string.
If it won't work, I suppose I'll be reduced to writing up a stub of a program to do the same thing and just call it from the UniObjects side of things. But, if there's a better way, I'm all ears.
Thanks,
--
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
-- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
