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 > Dsnutilb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-30-08, 05:53
Neena John Neena John is offline
Registered User
 
Join Date: Oct 2008
Location: India
Posts: 37
Dsnutilb

In the load step using DSNUTILB, we are specifying the system and uid.

The following is an example of load step.

//STEP010 EXEC PGM=DSNUTILB,REGION=9M,
// PARM=(DBT1,temp,'')
...........
...........

Here what is temp?Can i get more information on this uid(temp)....
I would like to know how it is created?if i get more information on DSNUTILB it would be so helpful.
Reply With Quote
  #2 (permalink)  
Old 10-30-08, 06:17
umayer umayer is offline
Registered User
 
Join Date: Dec 2005
Posts: 273
the second parameter ( "temp" in your example ) is the utility-Id.
It is needed to adress a specific utility ( e.g. if you want to alter, terminate or restart it ).

If you provide a value, that value is used.
If you omit it or use an empty string, "userId.jobname" is used as default
Reply With Quote
  #3 (permalink)  
Old 10-30-08, 07:24
Neena John Neena John is offline
Registered User
 
Join Date: Oct 2008
Location: India
Posts: 37
Dsnutilb

Hi,
Thanks for your response.....
I have one more doubt regarding the utility..I dont have DBA permission but still i would like to know how can we create the utility(Temp in teh above example) or how can we view it?

Since i am new to using DSNUTILB i dont have much idea on these utilities.
Reply With Quote
  #4 (permalink)  
Old 10-30-08, 07:48
umayer umayer is offline
Registered User
 
Join Date: Dec 2005
Posts: 273
You can't "create" an utility.

You can submit a job containing an EXEC PGM=DSNUTILB step.
If you do, an utility is started and the specified ( or default ) utility-ID is assigned to it.

you need some authority to start the utility ( not neccessarily DBADM, may also be LOADAUTH , REPAIRAUTH or something like that ) but you may use any valid utilityId ( if it's not currently assigned to another utility ).
Reply With Quote
  #5 (permalink)  
Old 10-30-08, 07:55
Neena John Neena John is offline
Registered User
 
Join Date: Oct 2008
Location: India
Posts: 37
Then what is the third parameter say PARM=(DBT1,temp,'')? Can i get more information on other parameters for DSNUTILB if any?
Reply With Quote
  #6 (permalink)  
Old 10-30-08, 08:06
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 782
You could always try looking in the utility guide and reference manual.
Reply With Quote
  #7 (permalink)  
Old 10-30-08, 08:12
umayer umayer is offline
Registered User
 
Join Date: Dec 2005
Posts: 273
with the third parameter you specify, whether you want to start a new utility or you want to restart a stopped utility.

As dav1mo mentioned, look at the manuals for detailed information
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