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!

Cobol format file conversion

Status
Not open for further replies.
Aug 6, 2008
1
FR
Bonjour,

I want to convert a Cobol format file into another format file.
I have the following Cobol format file:
01 FVRCFCP-FVRCFCP.
02 FVRCFCP-ACTION-HEADER.
04 FVRCFCP-CHARCODSET PIC X(02).
04 FVRCFCP-VERSION PIC 9(4).
04 FVRCFCP-NSEQ PIC 9(10).
04 FVRCFCP-ACTION PIC X(6).
04 FVRCFCP-SOURCE PIC X(10).
04 FVRCFCP-FIELD1 PIC XX.
04 FVRCFCP-FIELD2 PIC X(20).
...etc... 500+ columns

I would like to convert it into a tabular format file:
Nom champ | type | type length | start position | end position

Can someone help me?
Thanks,
Chris
 
What have you tried so far ?
Could you compile a program using the FD and examine the listing ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Could you provide a description of what you are going to be using the tabular file format for?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top