Larry,
Add OPTION NORECURSION to your UDC to prevent it from executing itself.
spoolf dfid
option NORECURSION
tellop user !hpuser.!hpaccount is modifying !dfid
spoolf !dfid;pri=1
*****
Doug.
Doug Werth Beechglen Development Inc.
[log in to unmask] Cincinnati, Ohio
----- Original Message -----
From: "Larry Barnes" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Thursday, January 04, 2001 11:26 PM
Subject: CI commands inside a UDC
> I'm trying to set up a udc that either calls a command file or calls
> itself.
> Example
>
> spoolf dfid
> tellop user !hpuser.!hpaccount is modifying !dfid
> spoolf !dfid;pri=1
> *****
>
> If I use 'spoolf' as the name of the udc command then the udc begins an
> infinite loop. What's the work around, if any?
>
> --
> Larry Barnes
>
> Mitek Corp.
> 602-438-4545 x1366
> Phoenix, AZ 85040
>
> Check Us Out !
> http://www.mitekcorp.com