You may also try sequnce:
LOGTO someaccount
UDTEXECUTE 'PHANTOM programname'

It works in udt in both, windoze and Linux.

Lembit Pirn
7+7 Software
Tondi 1
Tallinn 11313
Estonia
+372 65 66 232
[EMAIL PROTECTED]

----- Original Message ----- 
From: "Anthony Youngman" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 23, 2004 11:07 AM
Subject: RE: [UDT] Use of PCPERFORM and the PHANTOM command


> FYI, colon works fine in winders ... it's the standard command-line
> command separator ...
>
> Don't forget - a lot of windows was copied from nix - the only reason
> the '/' wasn't copied (and in a way it was, it tends to work) is that
> DOS was designed to be compatible with CP/M - and '/' was legal in a
> CP/M file name.
>
> Cheers,
> Wol
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Timothy Snyder
> Sent: 22 March 2004 21:08
> To: U2 Users Discussion List
> Subject: Re: [UDT] Use of PCPERFORM and the PHANTOM command
>
>
>
>
>
>
> Graham, David wrote on 03/22/2004 03:27:08 PM:
>
> <snip>
> > I have a UniBasic program that executes the following line of code:
> >
> > PCPERFORM "cd \folder\folder\U2Account; udt PHANTOM ProgramName"
> <snip>
> > the process that executed the PCPERFORM command will wait until
> > "ProgramName" has completed and *then* will return to the original
> process.
>
>
>
> Actually, if you change into the directory and type "udt PHANTOM
> ProgramName" from the DOS prompt, you'll see the same thing.  It's not
> an
> issue with PCPERFORM.  Also, I'm a bit confused by the command itself.
> The
> backslashes indicate you're in Windows, but the command separator of a
> semicolon indicates UNIX.
>
> Try replacing your command with the following:
>
>     PCPERFORM "cd \folder\folder\U2Account & echo PHANTOM ProgramName |
> udt"
>
> for windows or
>
>     PCPERFORM "cd /folder/folder/U2Account ; echo PHANTOM ProgramName |
> udt"
>
> for UNIX.
>
>
> Tim Snyder
> IBM Data Management Solutions
> Consulting I/T Specialist , U2 Professional Services
>
> [EMAIL PROTECTED]
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
>
>
>
>
>
****************************************************************************
*******
>
> This transmission is intended for the named recipient only. It may contain
private and confidential information. If this has come to you in error you
must not act on anything disclosed in it, nor must you copy it, modify it,
disseminate it in any way, or show it to anyone. Please e-mail the sender to
inform us of the transmission error or telephone ECA International
immediately and delete the e-mail from your information system.
>
> Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911
7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1
212 582 2333.
>
>
****************************************************************************
*******
>
> -- 
> 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

Reply via email to