Re: [U2] _PH_ ID

2007-06-25 Thread john reid

Looks like it.
j

1 PHANTOM SQUAWK HI
R.MIPAHC.X

PHANTOM SQUAWK HI
HI_29256_14421 record has been created in the 'PH' file.
Phantom process started with process ID 27052.
R.MIPAHC


On 6/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

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/




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


[U2] _PH_ ID

2007-06-21 Thread Kevin King
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/


RE: [U2] _PH_ ID

2007-06-21 Thread Cordes, Tom (contractor)
The phantom's unix process id is a part of the _PH_ id.

Tom 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Thursday, June 21, 2007 9:18 AM
To: U2 List
Subject: [U2] _PH_ ID

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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] _PH_ ID

2007-06-21 Thread john reid

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/


RE: [U2] _PH_ ID

2007-06-21 Thread iggchamp
Not on my system, hpux 11 / uv10.1.8

-- Original message -- 
From: Cordes, Tom (contractor) [EMAIL PROTECTED] 

 The phantom's unix process id is a part of the _PH_ id. 
 
 Tom 
 
 -Original Message- 
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King 
 Sent: Thursday, June 21, 2007 9:18 AM 
 To: U2 List 
 Subject: [U2] _PH_ ID 
 
 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 
 
 ** Check out our FREE support forum at 
 
 http://www.PrecisOnline.com/forum/. 
 --- 
 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/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] _PH_ ID

2007-06-21 Thread Timothy Snyder
 Is there a way for a phantom to know the _PH_ item that it's output is
 being redirected to?

On UniData it's SYSTEM(48).

Tim Snyder
Consulting I/T Specialist
U2 Lab Services
Information Management, IBM Software Group
717-545-6403
[EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] _PH_ ID

2007-06-21 Thread iggchamp
If your platform is unix, you could do something like this:

COMMAND=/usr/sbin/fuser phpath/RUN*
COMMAND='SH -C ':COMMAND:''
CRT COMMAND
EXECUTE COMMAND CAPTURING RESULTS
MORE=(RESULTS#'')
LOOP WHILE MORE DO
   REMOVE LINE FROM RESULTS SETTING MORE
   FNAME=FIELDS(LINE,':',1)
   PIDS=OCONVS(EREPLACE(FIELDS(LINE,':',2),' ',@AM),'MCN')
   LOCATE(MYPID,PIDS;PTRX) ELSE PTRX=0
   IF PTRX THEN
  PRINT FNAME
  MORE=0
   END
REPEAT

I'd imagine this would be slow if the PH directory is large.  If it were me, 
I'd probably capture the name from SQUAWK and feed it into the program.

Just my 2 pennies.

-- Original message -- 
From: Kevin King [EMAIL PROTECTED] 

 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 
 
 ** Check out our FREE support forum at 
 
 http://www.PrecisOnline.com/forum/. 
 --- 
 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/


RE: [U2] _PH_ ID

2007-06-21 Thread bpaige
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/


RE: [U2] _PH_ ID

2007-06-21 Thread Kevin King
My apologies for not specifying Unidata, but yes, thank you Tim the
answer is SYSTEM(48)!  We have a winner, no more callers please. 

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
 
** Check out our FREE support forum at
http://www.PrecisOnline.com/forum/.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] _PH_ ID

2007-06-21 Thread Jerry Banker
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/


Re: [U2] _PH_ ID

2007-06-21 Thread Augusto Alonso

Hi  Kevin.
You could catch the output of PHANTOM SQUAWK XXPROCXX, and play with it...

Regards
Augusto Alonso

- Original Message - 
From: Kevin King [EMAIL PROTECTED]

To: U2 List u2-users@listserver.u2ug.org
Sent: Thursday, June 21, 2007 3:17 PM
Subject: [U2] _PH_ ID



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/

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


RE: [U2] _PH_ ID

2007-06-21 Thread Stevenson, Charles
 UV ...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

Yeahbut, fire off 100 jobs of the same name WITHIN THE SAME SECOND and
look at the games UV plays with the PH id!

(Off-topic comment that will get me kicked to u2-community:
So, along with the recent request for a program to trace who called it,
we're asking for programs to be self-aware: Who am I?, Where did I
come from?.  Questions usually reserved for teenagers  the pious, with
the associated sentience meta-pondered by bio-ethicists.
That's an artificially intelligent comment in at least two ways.  
Ok, Mr. Moderator, sir, I'll go quietly...)

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