MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Where Can i get a help about migration project?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
sonaarjun
Beginner


Joined: 30 Aug 2004
Posts: 8
Topics: 4

PostPosted: Wed Dec 22, 2004 1:55 am    Post subject: Where Can i get a help about migration project? Reply with quote

Hi Folks!

In my coaching centre, they told me to do one project in m/f.
The project is migration project.

i.e: The financial concern have 30 branches. 12 of them store datas in VSAM and other store in DB2. my objective is to convert all the VSAM stored datas in to DB2 w/o any misleading and w/o any tools.
I have to do only thru coding.

My system criteria: os/390,cics,cobol(vs),jcl,vsam,db2,file-aid,expeditor etc

I humbly request u to give proper guidance and tips to finish my project.
-------------------------------------------------------------------------------------
WHO TOLD 'NOTHING' IS IMPOSSIBLE
I'VE DONE 'NOTHING' IN MY LIFE.
-------------------------------------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Dec 22, 2004 2:05 am    Post subject: Reply with quote

sonaarjun,

Convert VSAM to DB2: The simplest thing to do is:
1. Create a DB2 table using COBOL.
2. Read the VSAM file in COBOL and write the contents to a DB2 table.

You have lot of other utilities like DSNTIAUL....to load or unload contents to/from a DB2 table, but I don't think you need to go this far. A simple COBOL program will do the job.

Please let us know if you need more information,

Thanks,
Phantom
Back to top
View user's profile Send private message
sonaarjun
Beginner


Joined: 30 Aug 2004
Posts: 8
Topics: 4

PostPosted: Wed Dec 22, 2004 2:32 am    Post subject: Reply with quote

Hats off for you Phantom!
Thanks I've got it. I can do much better with this idea. If i've any problem in course of my execuetion of this project i'll definetly stay in touch with u.
-----------------------------------------------------------------------------------------------
SUCCESS CONSISTS OF DAILY LITTLE ACHIEVEMENTS
----------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail
gharisankar
Beginner


Joined: 10 Jul 2004
Posts: 19
Topics: 3
Location: C/O Platform - Mainframe

PostPosted: Wed Dec 22, 2004 8:56 pm    Post subject: Reply with quote

Additionaly, If you are using your VSAM files in the COBOL program thats also needs to be changed.
1. FD section
DB2- Remove this for DB2 programs
2. Read the VSAM file by using Key
DB2 - Replaced by DB2 query with primary
3. If there is any Alternate Index in VSAM file
DB2 - the query should be modified with the DB2 Index.
....
..
.
_________________
Regards
Hari Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group