|
Every PC file should have a CR or LF or CRLF for a record delimiter. Try using CRLF and adding a dummy field at the end of your DDS for the tilde. Then you can ignore the extra field. Art Tostaine, Jr. CCA, Inc. Jackson, NJ 08527 -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Richard B Baird Sent: Monday, April 07, 2003 2:56 PM To: midrange-l@xxxxxxxxxxxx Subject: CPYFRMIMPF, and none *crlf record delimiters I'm trying to copy a stream file to a flat file on the 400 using CPYFRMIMPF. the stream file has tildes for record delimiters, so I keyed in this command: CPYFRMIMPF FROMSTMF('ifsPath/file.txt') TOFILE(mylib/myflatfile) MBROPT(*REPLACE) RCDDLM('~') STRDLM(*NONE) RMVBLANK(*NONE) FLDDLM(*TAB) RPLNULLVAL(*FLDDFT) and I get the following error: Message ID . . . . . . : CPF2845 Message . . . . : The copy did not complete for reason code 11. 11 - The RCDDLM parameter for a stream file can only be *CR, *CRLF, *LF, or *LFCR and for a data base file the RCDDLM parameter can be *EOR or a valid value. why can't I use a character value instead of cr or lf? Thanks, Rick _______________________________________________ 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 mailing list archive is Copyright 1997-2025 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.