FTP시 DATASET_CANT_CLOSE 덤프가 떨어집니다.
Short text
Operating system cannot close file "FTP.LOG"
CONCATENATE p_gjahr p_monat p_bukrs '.TXT'
INTO dsn.
CONCATENATE 'put' dsn INTO put SEPARATED BY space.
OPEN DATASET dsn FOR OUTPUT IN LEGACY TEXT MODE
BIG ENDIAN CODE PAGE '8500'.
LOOP AT gt_ftp.
TRANSFER gt_ftp TO dsn.
ENDLOOP.
CLOSE DATASET dsn.
OPEN DATASET comd FOR OUTPUT IN LEGACY TEXT MODE
BIG ENDIAN CODE PAGE '8500' FILTER 'ftp -v -n'.
TRANSFER open_rec TO comd.
TRANSFER user_rec TO comd.
TRANSFER put TO comd.
TRANSFER 'bye' TO comd.
--->> CLOSE DATASET comd.
덤프가 떨어지는 이유가 무엇인가요?
가끔 덤프가 안떨어지기도 합니다.
또한 해결책은 어떻게 해야 하나요?
많은 조언 부탁드립니다.
Short text
Operating system cannot close file "FTP.LOG"
CONCATENATE p_gjahr p_monat p_bukrs '.TXT'
INTO dsn.
CONCATENATE 'put' dsn INTO put SEPARATED BY space.
OPEN DATASET dsn FOR OUTPUT IN LEGACY TEXT MODE
BIG ENDIAN CODE PAGE '8500'.
LOOP AT gt_ftp.
TRANSFER gt_ftp TO dsn.
ENDLOOP.
CLOSE DATASET dsn.
OPEN DATASET comd FOR OUTPUT IN LEGACY TEXT MODE
BIG ENDIAN CODE PAGE '8500' FILTER 'ftp -v -n'.
TRANSFER open_rec TO comd.
TRANSFER user_rec TO comd.
TRANSFER put TO comd.
TRANSFER 'bye' TO comd.
--->> CLOSE DATASET comd.
덤프가 떨어지는 이유가 무엇인가요?
가끔 덤프가 안떨어지기도 합니다.
또한 해결책은 어떻게 해야 하나요?
많은 조언 부탁드립니다.
ftp 넣는곳에
IGNORING CONVERSION ERRORS
넣어보세요