thanks - i did remove the STMFCODPAG(*PCASCII) from the cpytoimpf and it
created the file on the ifs with ccsid of 37 which is different from the
other 1252

jay

On Tue, Nov 26, 2019 at 1:46 PM Steinmetz, Paul via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Jay,

Way back we had some issues with CCSID of 65535, unpredictable results
could occur.
65535 is the system default, IBM support suggested changing to 37.
We changed system default to 37, and all are PF to 37.

Paul

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jay
Vaughn
Sent: Tuesday, November 26, 2019 1:12 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: sftp from IBMi to remote server

so we have an in-house sftp engine that uses PASE the source file is on
the IBMi as a flat text file - one long field (12000) ccsid 65535 for every
outbound sftp we export file to IFS first using cpytoimpf (ends up wit
ccsid as 1252)

for most vendors this works fine and they recieve the file as expected.

we have come across a vendor that wants it in EBCDIC (or so they say) and
they have a process on their end to convert from EBCDIC to ASCII.

sooo, is there a way to sftp a file in "EBCIDIC" format?

how is that achieved? Showing my ignorance here I know, but trying to
understand.

tia

jay
--
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@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
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@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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