read and try to understand the job messages - that You did not even care to post
read the PKZIP docs,
investigate what might be wrong with the output file...
if USS - permissions, paths, ....
if mvs - space, DCB, ...
before posting code make sure that it is not site specific
Your sample shows that You are using the control card subsystem,
not everybody has it available and somebody might even find difficult
to understand it
I have seen too many cases of people running the suggested jcl ASIS
and after that a flood of posts of the type
... it does not work
... post the jcl
... nahhh I meant the sysout
... read the manual about abend 806
... it says program not found
... do You have product ACME installed
... no I haven' t
... tht' s what we are using