× 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.



OK. Now that the share issue is resolved, such that a file is created and the data is getting copied, more analysis of what values to specify on the CPYTOIMPF is required.

I suspect that STMFCODPAG(*STMF) [the default] was probably used. That is, the request probably only included the following parameter specifications:
CPYTOIMPF FROMFILE(EIQRY01/ITEMMASTER) RCDDLM(*CRLF)
TOSTMF('/QNTC/10.12.12.2/SHARED/seam/ITEMMASTER.TXT')

The special value *PCASCII is probably desirable, to specify what data translation occurs; that is, what character representation does the target file [system] expect to be written into the target stream file. Try instead:
CPYTOIMPF FROMFILE(EIQRY01/ITEMMASTER) RCDDLM(*CRLF)
TOSTMF('/QNTC/10.12.12.2/SHARED/seam/ITEMMASTER.TXT')
STMFCODPAG(*PCASCII)

Although doing nothing more than adding the STMFCODPAG(*PCASCII) might resolve the concern, the earlier response by Scott K gave very good details about using the CPYTOIMPF. It might be worthwhile to revisit that message:
http://archive.midrange.com/midrange-l/200708/msg01750.html

Regards, Chuck

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.