1. If it is CSV, DO NOT ever open it with Excel - it trashes the data
2. If is really CSV (open it in Notepad++), just use CPYFRMIMPF
3. If you have a choice, use tab-delimited instead
I've used Scott's tool as well as the CPYFRMIMPF - they work equally well. Scott's is great for a more granular approach.
I can't tell you how many hundreds of thousands of transactions we do daily from delimited text files - it's a LOT.
I actually wrote a program the reads an IFS directory and move's the all files into a PF (based on a file mask).
I would never use Excel and ACS to "upload" a file.
My 2 cents.
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of James H. H. Lampert via MIDRANGE-L
Sent: Tuesday, August 16, 2022 12:20 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Importing data from a spreadsheet to a PF
We've got a customer who is trying to populate a PF from a spreadsheet.
He's currently trying to do it through iAccess (or whatever IBM is
calling it this week), and it's giving him a lot of trouble, telling him
field lengths in the target file are too short. He has tried lengthening
fields, and they still come up short.
I'm guessing he's trying to send it as some form of CSV, but I'm not
I can't remember the last time I tried to do something like this. I'm
about to try some experiments myself, on our box, FTPing it into a STMF
and attempting to CPYFRMIMPF it.
Anybody have any ideas?
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
[CAUTION! This email originated outside of the organization. Please do not open attachments or click links from an unknown or suspicious origin.]
As an Amazon Associate we earn from qualifying purchases.