I don't know about native COBOL files, but somtime ago I worked on a COBOL application that created such ".dat" files using a btrieve engine (which is a ISAM-Database). Btrieve was very common on Novell platforms.
With a DOS-Tool called BUTIL (butil -save xyz.dat target.txt you can export this data to a simple ASCII Format which can be read with a dataport.
I don't know about native COBOL files, but somtime ago I worked on a COBOL application that created such ".dat" files using a btrieve engine (which is a ISAM-Database). Btrieve was very common on Novell platforms.
With a DOS-Tool called BUTIL (butil -save xyz.dat target.txt you can export this data to a simple ASCII Format which can be read with a dataport.
I tried it but it didn't work, it results in an error. But thanks anyway.
Comments
With a DOS-Tool called BUTIL (butil -save xyz.dat target.txt you can export this data to a simple ASCII Format which can be read with a dataport.
http://devx.componentsource.com/BuyComponents/ProductCatalog/ProductPage.asp?Browse=Y&Key=0&ProductOptions=2055_60X
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
If you have these files in a predefined format, then you may use instream object for reading these files.
Regards
Jyotsna
I tried it but it didn't work, it results in an error. But thanks anyway.