× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



john,

we have flat text files on our system.
we sftp them to certain 3rd parties.
most 3rd parties accept our files by first doing a cpytoimpf to ifs with
following parms
dtafmt(*fixed)
rcdlm(*crlf)
strdlm(*none)
stmfcodpag(*pcascii)

so we convert from EBCDIC to ASCII and place on the ifs
then we simply sftp that file to them.
they accept it.

a new 3rd party we are working with on a completely new file we have never
sftp'd asks for it in "binary"... which i think they mean EBCDIC
I cannot come up with a combination of cpytoimpf parms to accomodate
exactly what they want.

the funny thing is they say they do a conversion on their end to convert
from EBCDIC to ASCII (just like we do for others first before we sftp it),
but when I sent them that file, they said it is not in right format.

I guess i need to get more specifics back form the recipient.

There was a colleague that manually transferred the file to the ifs and the
3rd party said it is in correct format.
Here is all i have as of now on how they did that... "I did a binary
transfer from lib/file... to my pc"

so what ever he did manually, i need to automate... and hoping with
cpytoimpf

jay




On Tue, Dec 3, 2019 at 11:38 AM John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Tue, Dec 3, 2019 at 10:41 AM Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
wrote:

ok, let me phrase my question another way...

given a flat text data file with contents such as...

record1......................................x
record2.................................x

How can i achieve a stream file that produces...


record1......................................xrecord2.........................x

essentially records back to back, with no whitespace.

is there away?

No doubt there is a way. Probably quite many ways.

But I strongly suspect that there are also ways to bypass this kind of
stuff completely. Easy ways. Many ways. Ways which would probably be
more desirable than what you've specified here.

Once the data is on the PC, then what happens to it?

John Y.
--
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 ...

Follow-Ups:
Replies:

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

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