MOO.UNTAR.FILE


Wrapper to MOO.EXTERNAL.CALL and userland TAR utility to un-TAR a file into a specific directory


UNTAR a file on the host file system.  This is a wrapper to MOO.EXTERNAL.CALL API.

Location of the un-tar shell script used by this API is stored in the SYS.CFG Magazine.

Execution of the un-tar is managed by the Oracle DBMS Scheduler and requires the correct DBMS Scheduler Credentials to have been created


Syntax


shw MOO.UNTAR.FILE( {FQ Directory to change to before Un-tar} , {Full Path and Name of tar file}  )


Return Value


       SUCCESS, ERROR, MOOMAN Entry


Example


       shw moo.untar.file('/u01/inbound_files' , '/u01/inbound_files/ebiz_feed.tar')