IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL to unload ADABAS database with ADAULD utility


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srvk_2k2

New User


Joined: 07 May 2008
Posts: 36
Location: Chennai

PostPosted: Fri Sep 24, 2010 9:17 am
Reply with quote

Hi,

Can anyone provide a sample JCL to unload the ADABAS DB

Thanks,
Srvk_2k2
Back to top
View user's profile Send private message
srvk_2k2

New User


Joined: 07 May 2008
Posts: 36
Location: Chennai

PostPosted: Fri Sep 24, 2010 9:25 am
Reply with quote

a small correction. The utility name is ADARUN
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 24, 2010 9:42 am
Reply with quote

Hello,

You need to talk with your dba and use the jcl that is already in use on your system - customized for your specifics.

The generic jcl is available in the product documentation.
Back to top
View user's profile Send private message
srvk_2k2

New User


Joined: 07 May 2008
Posts: 36
Location: Chennai

PostPosted: Fri Sep 24, 2010 9:51 am
Reply with quote

Thank you sch. I have used an existing JCL but got the statistics as below-

MY JCL
=====
//ADAULD1 EXEC PGM=ADARUN
//DDASSOR1 DD DSN=DSN.ASSO,DISP=SHR
//DDDATAR1 DD DSN=DSN.DATA,DISP=SHR
//DDWORKR1 DD DSN=DSN.WORK,DISP=SHR
//DDEBAND DD DUMMY
//DDOUT1 DD DSN=<OUTPUT EXTRACT DSN>,
// DISP=(NEW,CATLG,DELETE)
//DDCARD DD *
ADARUN PROGRAM=ADAULD
ADARUN DBID=<DBID>
ADARUN DEVICE=<DEVICE NO>
ADARUN SVC=242
/*
//DDKARTE DD *
ADAULD UNLOAD FILE=<FILE NO>
//DDDRUCK DD SYSOUT=*
//DDPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=D

Statistics
======

A D A U L D Statistics
-----------------------

Number of Output Data Sets = 1
Number of Requested Records = 16777215
STARTISN = 0
Options = DVT
Unload Sequence = PHYS SEQ

Number of Records Read = 0
Number of Records Written = 0
Records Written to DDOUT1 = 0
Records Written to DDOUT2 = 0
Records Rejected by USEREXIT-9 = 0
Number of ISNS Written to DDISN = 0

Also, In the o/p extract I got only one record in un-readable format.

Can you tell me if anything needs to be changed in the above JCL.

Thanks,
Srvk_2k2
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 24, 2010 7:05 pm
Reply with quote

Hello,

To repeat:
Quote:
You need to talk with your dba


Quote:
Also, In the o/p extract I got only one record in un-readable format.
I suspect this is completely readable - it is just not text. Look at the record in hex.

Your statistics show no records were read/written. Possibly because of syntactically correct jcl and/or control statements that are still not what you want.

You dba can also resolve this.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts REASON 00D70014 in load utility DB2 6
No new posts What database does Jobtrac use CA Products 4
Search our Forums:

Back to Top