If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Setting UTILID automatically

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-15-06, 07:14
netsupa netsupa is offline
Registered User
 
Join Date: Oct 2004
Location: Surrey, England
Posts: 1
Setting UTILID automatically

I'd like to know if there's a simple way of getting IBM Mainframe DB2 (Version 7 and 8) to use a UTILID which is the same as the Jobname without having to hardcode the value in the JCL. We have hundreds of Utility jobs, and occasionally hit duplicate Utilid problems where people have cloned existing jobs and forgotten to change the Utilid value.

It appears that the only system symbolic that can be used in Batch JCL is &SYSUID. I know Assembler and Rexx can obtain the Jobname at runtime, but then how would I pass it to the EXEC statement in a subsequent step within the same job?

Can you invoke DB2 Utilities directly from Rexx?

The site where I work uses Jes2 and CA-7 job scheduler, but I'm told the latter can't pass any symbolic parameters into my JCL.

Any help gratefully received.

Last edited by netsupa; 06-16-06 at 11:57.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On