If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > MIgration from DB2 to MSSQL Server 2000

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-04, 00:40
Jake K Jake K is offline
Registered User
 
Join Date: Feb 2004
Posts: 107
MIgration from DB2 to MSSQL Server 2000

Hi Friends,

I am doing my final semester project. It is a migration tool that converts the DB2 PL dialect into MSSQL Server's T-SQL dialect.
I am in need of sample DB2 PL files(procedures, UDFs, triggers) for testing the tool. Please point out me to some DB2 files repository links or if you have some files, please give me the same. I will use this only for testing purposes.

Appreciate your help.

Thanks & Regards,
Jake
Reply With Quote
  #2 (permalink)  
Old 02-17-04, 02:46
dr_suresh20 dr_suresh20 is offline
Registered User
 
Join Date: Sep 2003
Posts: 218
In db2 v8.1.x, you can create a "sample" database using "db2sampl.exe" from default %DB2PATH% folder. Now this database contains necessary objects, which can be used to convert into MS SQL 2000 equivalent.

Hope this helps.
Reply With Quote
  #3 (permalink)  
Old 02-17-04, 03:45
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
developer works

Hi,

I think you can easily get the samples from the developer works website.

Regards

nitin
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #4 (permalink)  
Old 02-19-04, 00:32
Jake K Jake K is offline
Registered User
 
Join Date: Feb 2004
Posts: 107
Hi Suresh,

Thanks for the suggestion. I find a list of sql procedures under the <DB2Home>/sqllib/samples/sqlproc directory. Also I get some procedures from the sample database.

************************************************** *****************
Suresh & Friends: Does these procedures cover the complete DB2 PL dialect ?
************************************************** *****************
Appreciate your help.

Thanks & Regards,
Jake

Quote:
Originally posted by dr_suresh20
In db2 v8.1.x, you can create a "sample" database using "db2sampl.exe" from default %DB2PATH% folder. Now this database contains necessary objects, which can be used to convert into MS SQL 2000 equivalent.

Hope this helps.
Reply With Quote
  #5 (permalink)  
Old 02-19-04, 00:35
Jake K Jake K is offline
Registered User
 
Join Date: Feb 2004
Posts: 107
Re: developer works

Hi Nitin,

Thanks for your suggestion. I tried in the developerworks and couldn't find any samples. Please let me know the exact link, if you know.

Appreciate your help.

Thanks & Regards,
Jake

Quote:
Originally posted by nitingm
Hi,

I think you can easily get the samples from the developer works website.

Regards

nitin
Reply With Quote
  #6 (permalink)  
Old 02-19-04, 01:20
dr_suresh20 dr_suresh20 is offline
Registered User
 
Join Date: Sep 2003
Posts: 218
Hi Jake

I think either of them is a good start. Obviously, the list of procedures are not comprehensive enough but it definitely gives you a sample db2 PL dialect to convert into MS SQL Server 2000 equivalent. This should give you "feel good" factor before you embark on a full fledged conversion of complex db2 store procedures into T-SQL equivalent.

Hope this helps.

Regards.


Quote:
Originally posted by Jake K
Hi Suresh,

Thanks for the suggestion. I find a list of sql procedures under the <DB2Home>/sqllib/samples/sqlproc directory. Also I get some procedures from the sample database.

************************************************** *****************
Suresh & Friends: Does these procedures cover the complete DB2 PL dialect ?
************************************************** *****************
Appreciate your help.

Thanks & Regards,
Jake
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On