Subject: | |
From: | |
Reply To: | |
Date: | Fri, 20 Feb 1998 13:15:34 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi, Bruce,
You wrote:
>
> Is it possible to place a UDC into a Job Stream? If it is possible
> please provide the syntax and any additional guidelines to make it
> work.
>
> TIA
Well, do you mean you want to *call* a UDC from a job? If so, yes,
but the UDC must be set up at the correct level for the job's logon.
IOW, if the job logs on as MGR.ACCT, the UDC must be SETCATALOGed
for the user MGR.ACCT, or for the account ACCT (with ;ACCOUNT on the
SETCATALOG statement), or for the entire system (with ;SYSTEM on the
SETCATALOG statement) _before_ the job logs on.
Or do you mean you want to do a SETCATALOG during the job? 'Cause I
think that's no problem either. You could even 'call' the UDCs (that
were just set) during the duration of the job, as well. It then
would take *another* SETCATALOG statement to 'turn them off' again.
Another possibility is to create a group (I use XEQ.SYS) to keep
command *files* in. Kinda like UDCs, but each command is held in its
own file (where normally they are separated by '***' in the UDC file).
The name of the file becomes the name of the command, with parameters
still on the first line in a 'PARM' statement (instead of the UDC
name). The catch here is that everyone must have the aforementioned
group in their HPPATH variable (I use a system-wide OPTION LOGON UDC).
See also the SETCATALOG command in the MPE/iX Commands Reference Manual.
HTH!
+------------------------------------------------------------------+
My mind is my own, as are my ideas and opinions.
My heart, body, and soul, however, all belong to others. Tim.
+------------------------------------------------------------------+
Tim Ericson tericson DenKor Dental Management Corp.
Sr. Programmer/Analyst at denkor (aka Willamette Dental Group)
(& Systems Manager) dot com 503-526-4440 (direct number)
Programming HP3000s since 1983! look! -> http://www.denkor.com
+------------------------------------------------------------------+
|
|
|