Claims
- 1. A computer implemented method for automatically generating a hierarchical database schema report to facilitate writing application code for accessing a hierarchical database comprising the steps of:
(a) accessing a database definition; (b) accessing a logical database view; (c) accessing an extended field definition; (d) accessing control statement information; (e) building an in-memory representation of selective information obtained from steps (a) through (d); and (f) automatically generating said hierarchical database schema report utilizing said in-memory representation wherein said hierarchical database schema report may be utilized to write said application code to access said hierarchical database without further need to use said database definition, said extended field definition, said logical database view or any combination thereof.
- 2. The method of claim 1 further comprising using said in-memory representation to automatically generate and customize a class for use by an object oriented programming language to access said hierarchical database.
- 3. The method of claim 2 wherein said object oriented programming language is Java.
- 4. The method of claim 2 further comprising using said in-memory representation to generate an XMI stream of metadata that defines said class wherein said XMI stream may be used to regenerate said class in a new form as required by an application program.
- 5. The method of claim 1 wherein said hierarchical database is an IMS database.
- 6. The method of claim 1 wherein said database definition, said logical database view and said extended field definition comprise one or more database definitions, logical database views and extended field definitions, respectively.
- 7. The method of claim 5 wherein said database definition is a DBD.
- 8. The method of claim 7 wherein said logical database view is a PSB.
- 9. The method of claim 1 wherein said extended field definition comprises a COBOL copybook.
- 10. The method of claim 9 wherein said COBOL copybook is in the form of an XMI metadata stream.
- 11. The method of claim 1 wherein said hierarchical database schema report identifies at least one field as a secondary key field.
- 12. The method of claim 1 wherein said hierarchical database schema report identifies at least one field as a search field.
- 13. The method of claim 12 wherein said hierarchical database schema report identifies at least one field as a primary key field.
- 14. The method of claim 1 wherein said hierarchical database schema report comprises at least one concatenated segment from a logical hierarchy wherein said concatenated segment comprises data from two or more underlying physical segments.
- 15. A computer system for automatically generating a hierarchical database schema report to facilitate writing application code for accessing a hierarchical database, said computer system comprising:
(a) a computer; (b) means for accessing a database definition; (c) means for accessing a logical database view; (d) means for accessing an extended field definition; (e) means for accessing control statement information; (f) means for building an in-memory representation of selective information utilizing (b) through (c); and (g) means for automatically generating said hierarchical database schema report utilizing said in-memory representation wherein said hierarchical database schema report may be utilized to write said application code to access said hierarchical database without further need to use said database definition, said extended field definition, said logical database view or any combination thereof.
- 16. The computer system of claim 15 further comprising using said in-memory representation to automatically generate and customize a class for use by all object oriented programming language to access said hierarchical database.
- 17. The computer system of claim 16 wherein said object oriented programing language is Java.
- 18. The computer system of claim 16 further comprising using said in-memory representation to generate an XMI stream of metadata that defines said class wherein said XMI stream may be used to regenerate said class in a new form as required by an application program.
- 19. The computer system of claim 15 wherein said hierarchical database is an IMS database.
- 20. The computer system claim 15 wherein said database definition, said logical database view and said extended field definition comprise one or more database definitions, logical database views anid extended field definitions, respectively.
- 21. The computer system of claim 19 wherein said database definition is a DBD.
- 22. The computer system of claim 21 wherein said logical database view is a PSB.
- 23. The computer system of claim 15 wherein said extended field definition comprises a COBOL copybook.
- 24. The computer system of claim 23 wherein said COBOL copybook is in the form of an XMI metadata stream.
- 25. The computer system of claim 15 wherein said hierarchical database schema report identifies at least one field as a secondary key field.
- 26. The computer system of claim 15 wherein said hierarchical database schema report identifies at least one field as a search field.
- 27. The computer system of claim 26 wherein said hierarchical database schema report identifies at least one field as a primary key field.
- 28. The computer system of claim 15 wherein said hierarchical database schema report comprises at least one concatenated segment from a logical hierarchy wherein said concatenated segment comprises data from two or more underlying physical segments.
- 29. An article of manufacture for use in a computer system tangibly embodying computer instructions executable by said computer system to perform process steps for automatically generating a hierarchical database schema report to facilitate writing application code for accessing a hierarchical database, said process steps comprising:
(a) accessing a database definition; (b) accessing a logical database view; (c) accessing an extended field definition; (d) accessing control statement information; (e) building an in-memory representation of selective information obtained from steps (a) through (d); and (f) automatically generating said hierarchical database schema report utilizing said in-memory representation wherein said hierarchical database schema report may be utilized to write said application code to access said hierarchical database without further need to use said database definition, said extended field definition, said logical database view or any combination thereof.
- 30. The article of manufacture of claim 29 further comprising using said in-memory representation to automatically generate and customize a class for use by an object oriented programming language to access said hierarchical database.
- 31. The article of manufacture of claim 30 wherein said object oriented programming language is Java.
- 32. The article of manufacture of claim 30 further comprising using said in-memory representation to generate an XMI stream of metadata that defines said class wherein said XMI stream may be used to regenerate said class in a new form as required by an application program.
- 33. The article of manufacture claim 29 wherein said hierarchical database is an IMS database.
- 34. The article of manufacture of claim 29 wherein said database definition, said logical database view and said extended field definition comprise one or more database definitions, logical database views and extended field definitions, respectively.
- 35. The article of manufacture of claim 33 wherein said database definition is a DBD.
- 36. The article of manufacture of claim 35 wherein said logical database view is a PSB.
- 37. The article of manufacture of claim 29 wherein said extended field definition comprises a COBOL copybook.
- 38. The article of manufacture of claim 37 wherein said COBOL copybook is in the form of an XMI metadata stream.
- 39. The article of manufacture of claim 29 wherein said hierarchical database schema report identifies at least one field as a secondary key field.
- 40. The article of manufacture of claim 29 wherein said hierarchical database schema report identifies at least one field as a search field.
- 41. The article of manufacture of claim 40 wherein said hierarchical database schema report identifies at least one field as a primary key field.
- 42. The article of manufacture of claim 29 wherein said hierarchical database schema report comprises at least one concatenated segment from a logical hierarchy wherein said concatenated segment comprises data from two or more underlying physical segments.
- 43. A method for writing application code for accessing on a computer system a hierarchical database, comprising the steps of:
invoking an integrated hierarchical schema constructor to automatically generate a hierarchical database schema report wherein said hierarchical database schema report comprises information from at least one database definition, at least one logical database view, at least one extended field definition and at least one control statement; and writing said application code utilizing said hierarchical database schema report without further utilizing said database definition, without further utilizing said extended field definition and without further utilizing said logical database view, whereby said application code may be used to access said hierarchical database.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is related to the following commonly assigned patent application:
[0002] The application, entitled “METHOD, COMPUTER PROGRAM PRODUCT, AND SYSTEM FOR AUTOMATIC CLASS GENERATION WITH SIMULTANEOUS CUSTOMIZATION AND INTERCHANGE CAPABILITY”, filed on Jun. 14, 2002 by Hembry et al., Attorney Docket No. SVL9-2002-0053US1, Serial Number unavailable on date of this application filing, is incorporated by reference herein. This application will be hereinafter referred to as the “Automatic Class Generation” application.