Try using *ALL. There may be a record delimiter and/or file delimiter at the end of the file.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jim Franz
Sent: Wednesday, October 15, 2025 4:18 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: cpytoimpf file rejected by partner website upload
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
V7R5 and recent cume and groups updates
I'm asking this for someone else.
Same cpytoimpf has worked for years, then partner installed new hosted web system.
No indication if unix versus win, no change in file spec, and have adjusted the cpytoimpf to try *CRLF and just *LF - both fail with a message "record
5 invalid" when file only has 4 records, fixed length ascii text, 801 bytes each record. No variable fields. *CRLF was always used when it was working.
Ifs file created by cpytostmf with ccsid *pcascii.
He has talked to partner and they are having some uploads pass, some fail, not knowing why.
Is there anything about doing a mapped drive over the specific ifs directory, and using a Win pc to log into a portal and upload the file from the ifs that could be an issue? The upload does get the 4 records uploaded, but the portal edit process then rejects the file.
No end of file marker in the specs,
We have moved the file to local pc drive and run upload - that fails with same error.
I expect this is an issue with the new web portal, but need to verify no known issues on Power i side.
Jim Franz
--
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,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.