วันอังคารที่ 11 มีนาคม พ.ศ. 2551

CPYTOPCD command

Copy file from AS/400 to PC you can use the CPYTOPCD command but this command will appends carriage-returen (CR) and line-feed (LF) characters to end of each record. If you don't want to (CR) and (LF) you can use CPYTOSTMF command

CPYTOSTMF
FROMMBR('qsys.lib/library.lib/file.file/member.mbr') +
TOSTMF('/directory/destfilename')' +
STMFOPT(*replace) +
ENDLINFMT(*CRLF)

ไม่มีความคิดเห็น: