Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Need to write record of PS File in excel format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Chandan1993

New User


Joined: 21 May 2017
Posts: 3
Location: India

PostPosted: Wed Jun 07, 2017 1:35 am    Post subject: Need to write record of PS File in excel format
Reply with quote

Hi All,

I have unloaded the record from table in to PS file and now i want write the record in excel format in PS file. is it possible ?
Reason why i am doing this i need to send email of unloaded file records and records should be written as tabular format in email.

Thanks You !
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jun 07, 2017 1:48 am    Post subject: Reply to: Need to write record of PS File in excel format
Reply with quote

Quote:
now i want write the record in excel format in PS file. is it possible ?
Yes. The EASY way is to write the data as a comma-delimited data set, transfer to a server, and open the .csv with Excel. This does not allow any fonts or special formatting, however.

If your site has purchased SAS, SAS can read the data set and produce an Excel output for transfer to a server. This allows some special formatting to be done.

If your site has purchased a spreadsheet package for the mainframe that does generate Excel format, you could use that to process the data set and transfer the output to a server.

The other option is to read the Microsoft file specifications document for Excel (the last time I looked 4 years ago it was well over 1,000 pages) and write a program on the mainframe to generate the .xlsx or .xls directly. An accomplished team of 4 to 6 programmers could probably get this done within a year if they focus on it.

And, by the way, even if the data is transferred as Excel data the email may or may not be tabular; that would depend more upon your email client and how it formats data.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us