I am working on a CL that is supposed to copy a file from QTEMP to the IFS then zip the file and send it by email.
how do I check if the directory exist in IFS and create the directory if it does not exist? The existing program I inherited used CPYTOPCD to copy the file to QDLS then email the report using SNDDST but the size of the attachment is too big so I am planning to zip the report before sending it by email.
how do I check if the directory exist in IFS and create the directory if it does not exist? The existing program I inherited used CPYTOPCD to copy the file to QDLS then email the report using SNDDST but the size of the attachment is too big so I am planning to zip the report before sending it by email.
Comment