|
Hi,issue.
Could you please extend your help to me as I am stuck here with one
This is the requirement. I have an excel sheet with some rows of datain
it. It is in .xls format. The first row is heading and second rowonwards
are data. I need to copy this file to a physical file in AS400. Forthis, I
have opened the excel, copied the data to a notepad and I have put theit.
delimeters(,) after each field and saved it back as .csv. Now I used
Iseries navigator and placed this .csv file onto the location I want
Inorder to get the data onto a PF, I am changing an existing RPGprogram
which uses CPYFRMIMPF. with the help of QCMDEXC. But this commandfails.
But when I try to enter the same command from command line it iscopying
data to PF. The other issue here is with the heading. If I includerow
heading,only heading is coming in. But if I remove heading, then first
alone comes in . Please let me know why the QCMDEXC fails when it runsheading,
properly in command line. Second is if the excel has one row of
how to deal with it? Then how do I copy multiple rows of data here? Itwill
be really helpful if u respond back..list
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
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.