View previous topic :: View next topic |
Author |
Message |
csk Beginner
Joined: 20 Sep 2006 Posts: 11 Topics: 5
|
Posted: Thu Jan 29, 2009 10:08 pm Post subject: How to open a mainframe csv dataset in an excel format ? |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Jan 30, 2009 11:26 am Post subject: Re: How to open a mainframe csv dataset in an excel format ? |
|
|
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.  |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sat Jan 31, 2009 1:02 am Post subject: |
|
|
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 |
|
 |
callanand Beginner

Joined: 12 Jun 2007 Posts: 23 Topics: 2
|
Posted: Mon Feb 02, 2009 7:28 am Post subject: |
|
|
How many records are there in the file. Xcel file has the restriction of 65536 rows. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Feb 02, 2009 11:19 am Post subject: |
|
|
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 |
|
 |
callanand Beginner

Joined: 12 Jun 2007 Posts: 23 Topics: 2
|
Posted: Tue Feb 03, 2009 11:26 am Post subject: |
|
|
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 |
|
 |
csk Beginner
Joined: 20 Sep 2006 Posts: 11 Topics: 5
|
Posted: Wed Feb 04, 2009 2:55 am Post subject: |
|
|
Thanks mates.. Am looking at other possible alternatives.. Will keep you updated if we come up with something significant. |
|
Back to top |
|
 |
|
|