Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converts a COBOL copybook to a DTD and/or schema.

Status
Not open for further replies.

tbt102

Programmer
Jan 1, 2002
61
US
Has anyone written any code that converts a COBOL copybook to a DTD and/or schema?
or
Is there a tool or utility that will convert a COBOL copybook to a DTD and/or schema?


Thanks in advance for any help
 
I've not done this directly, but indirectly in AcuCOBOL by creating an XFD (External file definition) and then parsing the XFD to create SQL commands to CREATE equivalent tables. AcuCOBOL's XFD feature allowed me to identify DATEs and eliminated the need to parse the COBOL records directly. Once you know the name and datatype of the elementary data items, creating the SQL commands is pretty straightforward.

Regards.

Glenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top