Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL to unload ADABAS database with ADAULD utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: JCL to unload ADABAS database with ADAULD utility
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Fri Sep 24, 2010 9:42 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Sep 24, 2010 7:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us