Everyday we are generating daily metrics using sort utilities and after updating this data into excel sheet and sending to customer. So is there any utility to write this flat file data into excel sheets?
Joined: 03 Oct 2009 Posts: 1783 Location: Bloomington, IL
Yes and no and it's unsteady in my hand.
You can use *Sort (or, of course, write a program -- but it's a good bet that *Sort will do what you need) to create a CSV that can be downloaded to Excel. It used to be possible to import HTML into Excel to give control over formatting; I haven't tried that in about a decade and don't know if it still works.
There is no standard utility to create an Excel workbook on the mainframe. Packages that can do so cost tens to hundreds of thousands of dollars; the spec for a workbook runs to over a thousand pages, and Microsoft updates it daily (welcome to the world of DevOps).
Joined: 06 Jun 2008 Posts: 8201 Location: Dubuque, Iowa, USA
So is there any utility to write this flat file data into excel sheets?
If you are talking about writing Excel data files on the mainframe and then transferring them to a Windows server, then yes this can be done. The easy way to purchase one of the software products that do this. If your site uses SAS on the mainframe, another easy way is to use ODS to generate Excel data files within SAS and transfer them to the Windows server. The hard way is to get the Microsoft specifications for the Excel data file format (the last time I looked, several years ago, it was over 1,000 pages long) and write a program on the mainframe to input your flat file data and output an Excel data file for transfer to the Windows server.