I am getting error in cpytostmf command while getting the member to ifs folder which is object is not a file or is a file with attributes not supported by this command. object not copied /QSYS.LIB/LIBRARY.LIB/FILENAME.FILE/MBRNAME.MBR
Software/Hardware used:
ASKED:
September 1, 2010 7:28 AM
UPDATED:
September 2, 2010 12:46 AM
Adamwkiuk2002 is correct. Copying a multi-field externally-described database file to a streamfile doesn’t make sense. The possible variations in different data types, lengths, CCSIDs and all other attributes, would make the CPYTOSTMF command impossible. CPYTOSTMF is intended for simple direct transfer of lines to records or records to lines.
When you need to handle multiple fields, use CPYTOIMPF instead… or write your own utility.
Tom