Hi,
The UNIX system call inside the COBOL program is doing
the specified command correctly.
MOVE W080-UNZIP-FILE-COMMAND TO W080-OUTPUT-COMMAND
CALL "SYSTEM" USING W080-OUTPUT-COMMAND
RETURNING W080-SYS-CALL-STATUS
BUT The problem is, the following keeps on showing on the log file
just after running the line CALL "SYSTEM".....
Although the status is = 256 which is an ACCEPTABLE-ERROR
gunzip: gunzip.gz: No such file or directory
gunzip: sleep.gz: No such file or directory
gunzip: 2.gz: No such file or directory
gunzip: FILEHDR.gz: No such file or directory
gunzip: A000000001000000001CHEQUE.gz: No such file or directory
gunzip: ADVICES.gz: No such file or directory
gunzip: compressed data not read from a terminal. Use -f to force decompression.
Could please someone advise, why those messages are showing on the logfile?
Thank you.