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

[b]Can you only use C++ or COBOL to do Field List Format[/b]

Status
Not open for further replies.

jeanna143

Programmer
Oct 3, 2002
29
US
I was told that you needed to use COBOL or C++ to convert a tab delimited file format to Field list format.

The data from one system will be extracted in Tab delimited format. The system it needs to go to will only except 'Field List Format', which looks like this:
00000000000000ZINVCD I173
00000000000000ZSYSID PIMS
00000000000000ZORG IMP BOND

00000000000000ZINVCD is the field and I173 is the fields value. Each field repeats this way and then starts over when a new record starts.

I'd like to use Access or another tool to convert but can I? Any info would be appreciated!

Thanks,
Jeanna
 
You can use any general-purpose programming language to do that type of conversion. Cobol, C++, C, Perl, Ruby, Python, Java, Pascal, Ada, PHP, Basic ... the list goes on.

I doubt if Access could do it. Access deals with relational databases. Although your input is relational, the output is not.
 
Come to think of it, Access probably could do what you want, if you export the resulting table as text with '\n' as the field separator. It can certainly be done in MySQL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top