Hi All,
i have the below the command to copy data to IFS
CPYTOIMPF FROMFILE(MYLIB/MYFILE) TOSTMF('Report/output.TXT')
After copying to IFS i need to zip the file and send mail to users.
For zipping have used this command
QSH CMD('jar -cfm output.zip output.txt')
But the command is not working and throwing error saying java.io.FileNotFoundException: output.txt
The file is there in the mentioned folder still am getting the same.
Kindly help me to solve this issue.
i have the below the command to copy data to IFS
CPYTOIMPF FROMFILE(MYLIB/MYFILE) TOSTMF('Report/output.TXT')
After copying to IFS i need to zip the file and send mail to users.
For zipping have used this command
QSH CMD('jar -cfm output.zip output.txt')
But the command is not working and throwing error saying java.io.FileNotFoundException: output.txt
The file is there in the mentioned folder still am getting the same.
Kindly help me to solve this issue.
Comment