RE: Got an XLS spreadsheet. Need a DB2/400 file. What's the easiest way to get from one to the other?

"Birgitta Hauser" <Hauser-bRAHsVz2yv4TVIZRl6KS/[email protected]> Sat, 11 Jul 2026 07:43:26 +0200
Newsgroups gmane.comp.hardware.ibm.midrange
Message-ID <[email protected]>
... or use SQL (might be a little more complex, but you can exactly select
what you want) instead of CPYFRMIMPF

Mit freundlichen Grüßen / Best regards

Birgitta Hauser
Modernization – Education – Consulting on IBM i
Database and Software Architect  
IBM Champion since 2020

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
"Train people well enough so they can leave, treat them well enough so they
don't want to. " (Richard Branson)
"Learning is experience … everything else is only information!" (Albert
Einstein)


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org> On Behalf Of Jack
Woehr via MIDRANGE-L
Sent: Saturday, 11 July 2026 05:37
To: Midrange Systems Technical Discussion <[email protected]>
Cc: Jack Woehr <[email protected]>
Subject: Re: Got an XLS spreadsheet. Need a DB2/400 file. What's the easiest
way to get from one to the other?

  1.
export as csv
  2.
transfer csv to IFS
  3.
CPYFRMIMPF

https://www.ibm.com/docs/en/i/7.6.0?topic=ssw_ibm_i_76/cl/cpyfrmimpf.html



________________________________
From: MIDRANGE-L <midrange-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org> on behalf of James
H. H. Lampert via MIDRANGE-L <[email protected]>
Sent: Friday, July 10, 2026 17:27
To: Midrange Systems Technical Discussion <[email protected]>
Cc: James H. H. Lampert <jamesl-6/ELSmrcqeUu8xhjR5IN5AC/[email protected]>
Subject: Re: Got an XLS spreadsheet. Need a DB2/400 file. What's the easiest
way to get from one to the other?

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected] To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related
questions.

-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.