UV doesn't have the name on SYSTEM(48). The phantom ID on our system is
a combination of the program name, the time, and the date. You could
build the ID in the program using SYSTEM(12) and DATE().

PH.ID = 'programname_':FIELD(SYSTEM(12),'.',1):'_':DATE()
Or
PH.ID = 'programname_'@TIME:'_':@DATE

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 10:46 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] _PH_ ID

If the "HI" program has been cataloged, though, you can do

PHANTOM HI

And the first "_" field of the id would then be HI instead of RUN.

You can then use the program name to find the ID in the &PH& file. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of john reid
Sent: Thursday, June 21, 2007 9:01 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] _PH_ ID

Universe 10.x

>PHANTOM SQUAWK RUN JMRBP HI
RUN_36022_14417 record has been created in the '&PH&' file.
Phantom process started with process ID 7408.


On 6/21/07, Kevin King <[EMAIL PROTECTED]> wrote:
> Is there a way for a phantom to know the _PH_ item that it's output is
> being redirected to?
>
> -Kevin
> [EMAIL PROTECTED]
> http://www.PrecisOnline.com <http://www.precisonline.com/>
>
> ** Check out our FREE support forum at
> <http://www.precisonline.com/forum/>
> http://www.PrecisOnline.com/forum/.
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
>


-- 
john
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material not intended for Public use.  
Any review, retransmission, dissemination or other use of, or taking of
any action in reliance upon, this information by persons or entities
other than the intended recipient is 
strictly prohibited. If you received this communication in error, please
notify the sender and delete the material from any and all computers or
devices.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to