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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert cobol copybook to fileaid copybook

Status
Not open for further replies.

rvemuri

Programmer
Nov 24, 2002
10
0
0
IN
Hi,

Could any one let me know how to convert a cobol copybook to a fileaid copybook using REXX.

Also, if there is any routine that U have writen or coded to convert a cobol copybook to a easytrieve layout. Please let me know.

Thanks
Rajesh
 
Hi Rajesh,

I wouldn't try and parse all the possible Cobol permutations. Can you not compile the copybook and process the Data Division map the compiler produces - that way you have a fixed format input which you should be able to reformat for any language (Redefines might need some special handling but everything else ought to be starightforward).

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top