Hi Guys,
I try to use CPYTOSTMF to copy a file to a directory. I got a error : Code page attribute does not match STMFCODPAG. My code is:
If i copy to 'QDLS/mylib/myfile.txt' works fine.
Anyone know what is wrong of my code please? Thanks
I try to use CPYTOSTMF to copy a file to a directory. I got a error : Code page attribute does not match STMFCODPAG. My code is:
Code:
CPYTOSTMF FROMMBR('qsys.lib\mylib.lib\myfile.file\mymbr.mbr') TOSTMF('home\mydir\myfile.txt') STMFOPT(*replace) STMFCODPAG(*PCASCII)
If i copy to 'QDLS/mylib/myfile.txt' works fine.
Anyone know what is wrong of my code please? Thanks