I think the answer is right in front of you - ORDER BY is a 7.1 feature
of CPYTOIMPF, I believe - not found in earlier releases.
Look for a library named QSYSV6* something - this is the *PRV set of CL
commands - look for CPYTOIMPF there and see what its parameters are.
Or just do a WRKCMD *ALL/CPYTOIMPF and see all the lovely commands.
On 12/26/2013 6:29 PM, Steinmetz, Paul wrote:
V7R1 CL compile failing for CPYTOIMPF when specifying Target release . . . . . . . . . *PRV
Compiles fine if Target release current.
Any known issues with Target release *PRV.
2300- CPYTOIMPF FROMFILE(*LIBL/ME5PHY01) TOSTMF(&IFSFILE) +
2400 MBROPT(*REPLACE) FROMCCSID(37) +
2500 STMFCODPAG(*PCASCII) STMFAUT(*INDIR) +
2600 RCDDLM(*CRLF) DTAFMT(*DLM) STRDLM(*NONE) +
2700 RMVBLANK(*NONE) FLDDLM(*TAB) +
* CPD0043 30 Keyword ORDERBY not valid for this command.