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
 
How to import data to Excel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PC Guides & IT News
View previous topic :: :: View next topic  
Author Message
Kumar Ashok

New User


Joined: 20 Jan 2007
Posts: 29
Location: KOLKATA

PostPosted: Fri Mar 07, 2008 11:42 am    Post subject: How to import data to Excel
Reply with quote

Is there any method to import data to an excel sheet without any manual intervention.

Ashok
Back to top
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Mar 07, 2008 12:56 pm    Post subject:
Reply with quote

Make the text file as CSV format, then the file should open in Excel automatically.
Back to top
View user's profile Send private message
Kumar Ashok

New User


Joined: 20 Jan 2007
Posts: 29
Location: KOLKATA

PostPosted: Fri Mar 07, 2008 3:09 pm    Post subject:
Reply with quote

I am extremely sorry for the confusion, actually I meant that let us say an application produces an output file. Is there anyway to get the data of file in an excel sheet without any manual intervention?

application ---> Flat file ------> FTP to an excel sheet
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Mar 07, 2008 6:26 pm    Post subject:
Reply with quote

It won't be formatted for an excel sheet. But yes, excel can open a flat file.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 967
Location: Richmond, Virginia

PostPosted: Fri Mar 07, 2008 6:45 pm    Post subject:
Reply with quote

A .txt file with fixed length fields can also be imported via the Excel wizard. You must open the file from within Excel via the Open command - right-clicking and choosing "open with" will not work.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Fri Mar 07, 2008 7:04 pm    Post subject: Reply to: How to import data to Excel
Reply with quote

All of this is only speculation, but:

It seems to me that you can prep the file to a .TXT or .CSV or .SLK format, than transfer it to the server with FTP. From there, I guess you'd have to run a script, probably written in Excel, that would automatically open the file and import it as required, or, there are probably tools available that can be used to perform the formatting automatically.

Seems like a lot of unecessary bother to me.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Mar 07, 2008 7:12 pm    Post subject:
Reply with quote

Always seems like a bother to me too. But when the clients say this report needs to be produced in Excel so we can massage the data... what can you do.

The Excel script thing becomes a pain in the neck because you need to have the macro installed on everyones machine who will open the text file, the .CSV is the easiest route to go because Excel opens them pretty well. Albeit without the pretty formatting that someone may be looking for, like centered titles, borders, shading and all that.
Back to top
View user's profile Send private message
Kumar Ashok

New User


Joined: 20 Jan 2007
Posts: 29
Location: KOLKATA

PostPosted: Fri Mar 07, 2008 7:20 pm    Post subject:
Reply with quote

Thanks a lot all for your suggetions. i can have a step ahead with the suggetions you gave.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Fri Mar 07, 2008 7:26 pm    Post subject: Reply to: How to import data to Excel
Reply with quote

It seems to me that the time is ripe for someone to develop a universal text-to-xls converter utilty, or for MS to get off their butts and use XML as the standard input format for all their products.
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 -> PC Guides & IT News All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am

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