MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to open a mainframe csv dataset in an excel format ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
csk
Beginner


Joined: 20 Sep 2006
Posts: 11
Topics: 5

PostPosted: Thu Jan 29, 2009 10:08 pm    Post subject: How to open a mainframe csv dataset in an excel format ? Reply with quote

Hi all,

I have a reporting process where in there is a DNS link which would point to a mainframe dataset.
Eg. http://test/'Test.Dataset.file'

where Test.Dataset.File - a dataset which resides in mainframes (CSV format)
By clicking this link, user would be able to view the data from the dataset in an excel format.

We do have a currently working process in REXX which would wrap these dataset contents into excel format file.
But with this, the batch job ran longer and failed because the dataset was huge.. There would be huge huge no. of records that get reported. Hence, Could you please provide any suggestions on how this could be handled?

Thanks in advance.

Regards,
csk
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Jan 30, 2009 11:26 am    Post subject: Re: How to open a mainframe csv dataset in an excel format ? Reply with quote

csk wrote:
Could you please provide any suggestions on how this could be handled?


Use another available utility or language that's better-suited to the volume of data. Confused
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Jan 31, 2009 1:02 am    Post subject: Reply with quote

If you must use Rexx, check the program for 1) bad design and 2) poor optimization. Bad design might include redoing things like reading the file many times. Bad optimization is standard programming practices like reducing the number of function calls that always return the same result, getting unnecessary work out of loops, caching the results until the inputs change, and stuff like that. Rexx on MVS is not that fast compared to most other languages so hand optimization is often worthwhile, especially for GGI scripts like this. You might also compile it but that is a waste of time if the program is badly written.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
callanand
Beginner


Joined: 12 Jun 2007
Posts: 23
Topics: 2

PostPosted: Mon Feb 02, 2009 7:28 am    Post subject: Reply with quote

How many records are there in the file. Xcel file has the restriction of 65536 rows.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Feb 02, 2009 11:19 am    Post subject: Reply with quote

callanand wrote:
How many records are there in the file. Xcel file has the restriction of 65536 rows.


with office 2007 the restriction is long gone
Back to top
View user's profile Send private message Send e-mail Visit poster's website
callanand
Beginner


Joined: 12 Jun 2007
Posts: 23
Topics: 2

PostPosted: Tue Feb 03, 2009 11:26 am    Post subject: Reply with quote

Thanks Kolusu, We are using MS2003 so was not aware of 2007 features. I would say that the removal of size limitation in 2007 would be a great relief as I myself have to send big files in xcel format and everytime when the no of records is more than 65k I had to split the files.
Thanks for the info.
Back to top
View user's profile Send private message
csk
Beginner


Joined: 20 Sep 2006
Posts: 11
Topics: 5

PostPosted: Wed Feb 04, 2009 2:55 am    Post subject: Reply with quote

Thanks mates.. Am looking at other possible alternatives.. Will keep you updated if we come up with something significant.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group