|
Have you tried the method posted on the Java list? http://www.jasservices.com/articles/as400/001_genexcel.htm If you would like the Excel document to be created dynamically when the user needs it you could try: - Use eRPG and change the content type in the HTTP header (kind of messy): Content-type: application/vnd.ms-excel; charset: us-ascii - My personal favorite is to use VBA scripts from the Excel document to retrieve the data via SQL (I can get you a sample if you need) -----Original Message----- From: hrishikesh kotwal [mailto:hdkotwal@xxxxxxxxxxx] Sent: Tuesday, May 13, 2003 1:20 PM To: rpg400-l@xxxxxxxxxxxx Subject: RE: AS400 to EXCEL Hi all: I did find a lot interesting things @ midrange regarding converting PF to an Excel file. But still a few questions remain: Using CPYTOIMPF, I was able to create Source Member containing formatted data i.e. character strings in ' " ' and numbers separated by ' , '. But I would like to generate an Excel file from this member without any human intervention i.e. programmatically. How do I achieve that? Please advise. Regards, Hrishikesh Kotwal >From: Buck Calabro <BUCK.CALABRO@xxxxxxxxxxxx> >Reply-To: RPG programming on the AS400 / iSeries <RPG400-L@xxxxxxxxxxxx> >To: RPG programming on the AS400 / iSeries <RPG400-L@xxxxxxxxxxxx> >Subject: RE: AS400 to EXCEL >Date: Tue, 13 May 2003 08:07:53 -0400 > >The FAQ has some entries dealing with this. http://faq.midrange.com > --buck >_______________________________________________ >This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list >To post a message email: RPG400-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/rpg400-l >or email: RPG400-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/rpg400-l. > ---------------------------------------------------------------------- Dreaming of a holiday? Make it happen. In Switzerland! _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.