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



Just to be clear this is how the data is showing up after the cat command
"FNAME","LNAME""SASA","ACKAR""JAMES","ADAMS""AMY","ADKINS""ERNEST","ADKINS"

This is how it should show up.
"FNAME","LNAME"
"MICHAEL","ALBERT"
"FRANCES","ALDERSON"
"JONATHAN","ALDRIDGE"

And this is what it looks like with the -c parm and the file shows CCSID 819

‚ã+ (á‚Œ‚<+ (á‚Ž‚ë ë ‚Œ‚ ä. ê‚Ž‚¢ (áë‚Œ‚ à (ë‚Ž‚ (ß‚Œ‚ à.ñ+ë‚Ž‚áê+áëè‚Œ‚ à.ñ+ë‚


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Yeung
Sent: Thursday, December 29, 2016 11:40 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: merging 2 .csv files

Re: Using cat

Yet another approach surrounding the cat command is to use the -c
(binary) option. So

cat -c /pdfflr/pattycsv.csv /pdfflr/pattycsv5.csv > /pdfflr/pattynew.csv

Since it's binary, with no conversion, the data from the two input CSV files should be preserved, byte for byte. The CCSID attribute of the resulting file will most likely be 37, but you can fix that with the CHGATR command (or option 13 from the WRKLNK display).

Please note that CHGATR just changes the metadata for the file; CPY actually changes the data itself (as well as the metadata).

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD

NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.

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.