IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Export flat file data into excel sheet


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
murali.andaluri

New User


Joined: 07 Jun 2013
Posts: 16
Location: USA

PostPosted: Mon Mar 20, 2017 5:39 pm
Reply with quote

Hi,

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?

Thanks in advance.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Mon Mar 20, 2017 6:28 pm
Reply with quote

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).
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Mon Mar 20, 2017 6:29 pm
Reply with quote

Quote:
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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Secondary index error while loading d... IMS DB/DC 2
No new posts Converting a file from PD to display ... SYNCSORT 4
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
No new posts SKIP LOCKED DATA in UPDATE statement DB2 9
This topic is locked: you cannot edit posts or make replies. Write Character to Hexadecimal file w... COBOL Programming 8
Search our Forums:

Back to Top