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



Well, it was actually the STMFCCSID(*PCASCII) parm that worked.

Thanks,


Date: Tue, 7 Apr 2015 13:28:06 -0400
Subject: Re: CPYFRMSTMF only copies one record
From: michaelrtr@xxxxxxxxx
To: midrange-l@xxxxxxxxxxxx

Might need to specify RPLNULLVAL(*YES) if all the fields don't have values.

On Tue, Apr 7, 2015 at 1:25 PM, Dan Rasch <drasch27@xxxxxxxxxxx> wrote:

CPYFRMSTMF ('/FILEIMPORTS/RAF/DirectMarketing_Shipped.txt')
TOMBR('/QSYS.LIB/ISMKLIB1.LIB/FILE55.FILE/FILE55.MBR')
MBROPT(*REPLACE) ENDLINFMT(*ALL) TABEXPN(*NO)

All I get is one record and it is not right.

CPYFRMIMPF looks much better, and gets the first record right,
but again, only one record.

CPYFRMIMPF FROMSTMF('/FILEIMPORTS/RAF/Retail_Shipped.txt')
TOFILE(ISMKLIB1/FILE55) RCDDLM(*ALL)

Anything jump out on either?


TIA,

Dan Rasch

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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