Need to convert CSV file to GZ

Need to convert CSV file to GZ.

I tried compress/zip file activity but it is not working as expected.

Are there any script/code to compress the CSV file to gz

@rumabharathy

Ypu have gzipstream library available…can try leveraging it

Sample

Cheers