View previous topic :: View next topic |
Author |
Message |
smile_rajeev Beginner
Joined: 28 Oct 2005 Posts: 14 Topics: 9
|
Posted: Fri Dec 09, 2005 2:04 am Post subject: Initialising the IMS DB |
|
|
Thanks in advance.
kinldly anyone could give me the solution for this problem.VEry urgent
I have a IMS database in which i need to load the records daily and weekly.
i need to DELETE and DEFINE the database for weekly before loading.
AFter doing the delete and define operations, i need to INITIALISE THE DB before loading the data.
Iam in need of JCL to INItialise the IMS DB b4 loading the records.
(This process is like inserting the NULL REcord in the VSAM b4 inserting the actual records with data.)
i have searched the google but i didnt got the exact solution for my problem..
Suggestions is also ok, but if i can get the JCL , then it could solve my problem soon.
It's very urgent , soon anyone could help me out with this problem. |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Fri Dec 09, 2005 8:29 am Post subject: |
|
|
Try running a DFSDDLT0 to insert a segment using a PSB with a PROCOPT = L then follow that with another DFSDDLT0 to delete it. This process will leave the database initialized. |
|
Back to top |
|
 |
ANIL SARATHY Beginner

Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Sun Dec 11, 2005 10:57 pm Post subject: |
|
|
If You have file aid or IMSX, then just open the file in edit mode and do nothing, so that High used RBA get's changed and database is initialised.
Bithead has suggested a good one . This can be done in jcl.
Just find out sysin pseudo code for DFSDDLT0. _________________ Anil Sarathy |
|
Back to top |
|
 |
|
|