|
Ted, I'm not quite sure what you are trying to do, but if CONTRA is a physical file with fields that need to be populated by your pipe delim file, you're using the wrong command. try this: CPYFRMIMPF FROMSTMF('/qopt/030502_092250/CONTRA~1.TXT') TOFILE(TBARRY/CONTRA) MBROPT(*REPLACE) RCDDLM(*CRLF) FLDDLM('|') RPLNULLVAL(*FLDDFT) this will use your pipes to delimit the fields into your externally defined pf. hth, Rick "I've been ordered to take you down to the bridge. Here I am, brain the size of a planet and they ask me to take you down to the bridge. Call that job satisfaction? 'Cos I don't." - Marvin the paranoid android -------------original message------------ Now I'm getting: Object is not a file or is a file with attributes not supported by this command. I just created the file CONTRA based on the vendors record layout. >>> klemscot@xxxxxxxxxxxx 01/21/04 09:45AM >>> The TOMBR name should be something like: TOMBR('/qsys.lib/tbarry.lib/contra.file/contra.mbr') When working with the QSYS.LIB filesystem, the objects are always "objectname.objecttype" you can't have "CONTRA" because it doesn't contain the object type.
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.