Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Scenario?s where to use DSNTIAUL & DB2UTIL utilities.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
jagadeshdvn

New User


Joined: 27 Jun 2005
Posts: 14
Location: Chennai

PostPosted: Mon Jul 25, 2005 10:31 pm    Post subject: Scenario?s where to use DSNTIAUL & DB2UTIL utilities.
Reply with quote

Hello,

Scenario?s where to use DSNTIAUL & DB2UTIL utilities.

Appreciate your help in making me understand these utilities with example.

Thanks in advance!!

Note: I was not sure if this should be posted in DB2 or JCL forum.
Back to top
View user's profile Send private message
References
PostPosted: Mon Jul 25, 2005 10:31 pm    Post subject: Re: Scenario?s where to use DSNTIAUL & DB2UTIL utilities. Reply with quote

Hari Kumar

New User


Joined: 28 Jul 2005
Posts: 21

PostPosted: Thu Jul 28, 2005 6:36 pm    Post subject:
Reply with quote

Hi Gagadesh,

DSNTIAUL is unload program. This program, which is written in
assembler language, unloads some or all rows from up to 100 DB2
tables. With DSNTIAUL, you can unload data of any DB2 built-in
data type or distinct type. DSNTIAUL also lets you execute any SQL
non-SELECT statement that can be executed dynamically.

Sample code

Code:
//js000     EXEC  PGM=IKJEFT01                         
//SYSPRINT DD  SYSOUT=*                                 
//SYSREC00 DD  DSN=NEW DATA SET NAME,                   
//             SPACE=(CYL,(10,5),RLSE),                 
//             RECFM=FB,                               
//             DISP=(NEW,CATLG,CATLG),                 
//             UNIT=SYSDA                               
//SYSPUNCH DD  DUMMY                                   
//SYSTSIN  DD  *,                                       
//             BLKSIZE=80                               
     DSN SYSTEM(system name)                                   
     RUN  PROGRAM(DSNTIAUL) PLAN(DSNTIAUL) PARMS('SQL')
/*                                                     
//SYSIN    DD  *     

Sql Statements[select * from tab name

/*

I Am not Sure About DB2UTIL.

Thanks
Hari B
Back to top
View user's profile Send private message
jagadeshdvn

New User


Joined: 27 Jun 2005
Posts: 14
Location: Chennai

PostPosted: Sat Jul 30, 2005 1:56 am    Post subject: Thanks Buddy
Reply with quote

Hi Hari,

Thanks for your time Buddy!

I am working on BMC conversion (from BMC to DB2 utilities) project. I am documenting the process and will share the same once it reaches it logical end.
Back to top
View user's profile Send private message
chidams78

New User


Joined: 29 May 2006
Posts: 2
Location: India

PostPosted: Wed Oct 17, 2007 4:54 pm    Post subject: Re: Thanks Buddy
Reply with quote

Jagadeesh,

I am also working on BMC conversion project.
Could you please tell me the equivalent DB2 utilites of BMC functions like loadin / unloading and reorganizing, copying the data

Chidams
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 152
Location: Bangalore

PostPosted: Wed Oct 17, 2007 5:03 pm    Post subject:
Reply with quote

Go through the site regarding DBUTIL:
http://www.caspur.it/risorse/softappl/doc/sas_docs/accdb/z0267669.htm


A simple example of an Image Copy job using substring notation is:

//J0000004 JOB (UTILITY,'DATGIO I.B.M.*'),'IMAGE COPY DB497_06 ',
// MSGLEVEL=1,CLASS=K,MSGCLASS=N
//*
//* IMAGE COPY UTILITY
//*
//ICOPY EXEC DB2UTIL,SYSTEM=DB22,UID=J0000004
//*
//DSNUPROC.SYSIN DD *
TEMPLATE COPYDDN1 UNIT(RCART) STACK(YES)
DSN('S&DB(3,4)..IC12.&DB..&TS.')
DISP(MOD,KEEP,KEEP)
TEMPLATE COPYDDN2 UNIT(RCARTDM) STACK(YES)
DSN('S&DB(3,4)..IC22.&DB..&TS.')
DISP(MOD,KEEP,KEEP)
LISTDEF J0000004
INCLUDE TABLESPACE DB497406.TSBRIM
INCLUDE TABLESPACE DB497506.TSBRIM
INCLUDE TABLESPACE DB497606.TSBRIM
INCLUDE TABLESPACE DB497706.TSBRIM
INCLUDE TABLESPACE DB497806.TSBRIM
COPY LIST J0000004 COPYDDN(COPYDDN1,COPYDDN2)
//*
Back to top
View user's profile Send private message
chidams78

New User


Joined: 29 May 2006
Posts: 2
Location: India

PostPosted: Wed Oct 17, 2007 5:24 pm    Post subject:
Reply with quote

I want to replace the following BMC utilities with equivalent DB2 utility

ACPMAIN - COPY PLUS (image copy)
ARUUMAIN - REORG PLUS (reorganizing the datasets)
AMUUMAIN - LOAD PLUS (loading the data)
ADUUMAIN - UNLOAD PLUS (unloading the data)
AFRMAIN - RECOVERY PLUS ( recovery)

ABUDSN - RUNSTATS (used with IKJEFT01 batch monitor pgm
which controls the above utilites)

I found that the euqivalent DB2 utility for LOAD PLUS is DSNTIAUL

Could you please help me for other functions

Rgds
Chidams
Back to top
View user's profile Send private message
gnanasekar80

New User


Joined: 11 Jan 2007
Posts: 6
Location: chennai

PostPosted: Wed Nov 28, 2007 12:25 pm    Post subject: need process to conver bmc utilities to db2 utilities
Reply with quote

Hi jagadesh,

Could you please provide me the process you have followed to convert BMC utilities to DB2 utilities.

Thanks in adavance

Thanks
Gnana
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1