I was trying to piece together what you were trying to accomplish.

I see the output form your HMC commands that are in CSV format.
I assumed you were trying to take that data and parse it out.

>My workaround may be to pipe this out to a stream file instead of a DB2
>file and use CPYFRMIMPF. And if "I'm" looking at CPYFRMIMPF you know
>that's desperation.

my thought was to use the CSV parse in place of cpytoimpf(shudder).
If you are looking for a certain column, once you have the data in your program, you can keep only the parts needed.

I did a similar thing with our HMC info.


rob@xxxxxxxxx wrote on 8/10/2015 7:26 AM:
That article was how to read a CSV file, not a column in a table that was
CSV. Or, were you trying to say ignore how to read the CSV, just use the
part on how to parse out the data?

Rob Berendt

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].