According to the manual...
SYSTEM(18-29)
Not currently used.
...and nothing shows.
Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 15, 2008 9:31 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UD]
What does Unidata show for system(25)?
-- Original message --
From: Bill Haskett [EMAIL PROTECTED]
Im having a bit of a problem figuring out how to tell, within a program, if
it is running as a phantom. It was my impression that @USER.TYPE would be
set to 1 if
Try using SYSTEM(48). A Phantom process will have a COMO file.
Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
Sent: Monday, September 15, 2008 7:54 PM
To:
If you have a different account for the UniObjects connections (we do for
ODBC access) you could use @ACCOUNT. Or you could use UOLOGIN to set an
@USER variable.
HTH
Colin Alfke
Calgary, Canada
-Original Message-
David A. Green
Try using SYSTEM(48). A Phantom process will have a
We want to use UniData 7.1.20 OLE-DB and Crystal Reports 2008 -- but are
having no joy at the moment. The issue is the SQL that gets generated is
quoted incorrectly.
Example SQL I'm getting from Crystal Reports 2008:
Select File_Name.Dict_Name,File_Name.Dict_Name From File_Name
I don't see a
Thanks David. This doesn't work, however. I run a program in DesignBais
using UniObjects. In this program I execute a phantom. In the phantom
program I have to initialize some variables. This code is in an include
every program uses. So, in the include I test if the running program is a
My Pick Pocket Guide fails me.
I can't use an I descriptor (that would be way too easy) and I need to
create a correlative that presents the data in a multivalued field as a
single valued comma delimited list.
The equivalent of this:
0001: I
0002: CONVERT(@VM,',',PO.NUMBER)
0003:
0004: PO
One way I've dealt with this issue in the past is by having the 'INCLUDE' in
the code always, then testing for something I know should be initialized
with TESTVAR = UNASSIGNED(varname) -- if the variable would return 'Not
Assigned a value' then TESTVAR would be 1, and I would know to run my
There is an immediate change to the recommended steps for backing up UV.
NEW RECOMMENDED BACKUP STEPS:
SUSPEND.FILES ON
SYNC --- This is the New Recommendation !!! The buffers must be
flushed to disk !!!
Break off mirrored set, create Flash Copy, etc.
SUSPEND.FILES OFF
Make backup from
Based on the posting on this topic from Steve O'Neal, it appears we
have our answer. Always do a sync after pausing the database.
I wonder if that is true for UniData, too. Wally? You following this
thread?
Thanks for pointing out the issue, Brian!
Regards,
Clif
On Sep 15, 2008, at
Has anyone implemented the UniData SOAP functions over an HTTPS URL? The
CALLHTTP stuff, on which the SOAP stuff is built, has an option for creating
a secure request, but the soapcreaterequest function doesn't seem to have
the equivalent.
Is there such a beast, or do I need to revert to the
COMOs always start with O_.
Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
Sent: Tuesday, September 16, 2008 10:09 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UD]
Bill,
Are you asking two questions: Is the program running and is the program
running as a phantom?
Or only one question : Is the program running as a phantom?
I don't fully understand your application environment, but we use the
following technique to determine if a program, that normally
Jeff,
It's not pretty, but if you know the maximum number of values (n), you could
use this:
F;0;(Tfname;X1;;96);C,;:;0;(Tfname;X2;;96);:;C,;:; ... ;0;(Tfname;Xn;;96);:
Best Regards,
Richard Lewis
-Original Message-
From: Jeff Schasny [EMAIL PROTECTED]
Date: 09/16/2008 01:46 PM
To:
Dave:
We're upgrading our application to DesignBais. It is an excellent tool to
move our character based application to a web environment and we're happy
with its capabilities.
We modify a process of ours (say writing checks) to run as a phantom instead
of as a response to a [R]un option from
David, the best approach may be more indirect. This is another
reason why I keep trying to discourage the more direct interfaces
between MV-specific SQL tools.
Rather than trying to bind CR or any reporting tools to U2,
create a Data Access Layer (DAL) that you're comfortable with
using any
So can you PARSE the LISTUSER() function output using @USERNO (which should
be your PID) to find the relevant attribute for your license and digging out
the appropriate values which identifies your process type.
Alternatively, since it looks like you'd need to check two elements in that
array,
Bill,
Here's another idea:
We often run a program that needs some information passed to it, so we run
it from a proc and preload the buffer in the proc with the information
needed by the program.
Inside the program, we read the proc buffer and extract the information we
need.
Perhaps you
then there's unidata ... talk about grotesque G
You are right .. moving data is moving data. A simple save/restore solves a
lot of problems, if there is one.
Of course I can follow the norm and just write something and charge the
client a lot of something that should be there G
Tony,
Funny thing about consultants .. first thing they want to do is write a
program instead of finding a pre-existing solution.
IF there were a way to move data from one environment to another without
charging the client more money just to show off my brilliance that would be
Jeff,
Why not just call a simple DICT program?
Tuesday, September 16, 2008, 10:46:01 AM, you wrote:
JS My Pick Pocket Guide fails me.
JS I can't use an I descriptor (that would be way too easy) and I need to
JS create a correlative that presents the data in a multivalued
Which is why I always just use a subr. The real cost to the client is the
cost creation and maintenance. Subr's are just *so* easy to understand.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of rbl000
Sent: Tuesday, September 16, 2008 14:45
To:
Yes, there's a SOAPCreateSecureRequest that works. Or at least the person
who wrote the code below claims it works. I can't help you with specifics,
as someone else wrote it. This was written for UniVerse. (I started on
these SOAP calls for some QualComm webservices last week, and haven't had
Thanks Ken. You and Wally are right about LISTUSER(). I parse out the line
I want, as the program running knows which port#/pid it's running on. From
there I get the data I want by extracting 1,5 to get the proper user-type.
I have no idea why @USER.TYPE doesn't return the same information, but
24 matches
Mail list logo