We are having trouble in utilizing the $ZF(-1) function to call out to OpenVMS in Cache. The command line we are trying to run is as follows. Upon executing the command in an active session, it works fine. However, if we were to store this in a job to avoid it having to manually be executed, the result is not achieved.
S X=$ZF(-1,"pipe set def "_fileDirectoryProcess_" ; unzip -o "_fileDirectoryProcess_fileName)
In doing some research, I found a reference to unzipping natively with GZIP
here. However, I am not sure of how I would go about unzipping a file utilizing this method. Essentially, we want to unzip the file and store the contents where the zip resides and then remove the zip file.
Any examples of how to obtain a solution would be greatly appreciated.