IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PKZIP giving RC=00000008


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ranjitherdci

New User


Joined: 17 Jun 2008
Posts: 10
Location: Bangalore

PostPosted: Wed Jul 09, 2008 12:29 pm
Reply with quote

When I ran a job which is using PKZIP it is abeded with RC 8.
The error message it is showing is 'File Open Error: ZIPOUT '
Can anyone help me to finout what is the problem?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jul 09, 2008 12:34 pm
Reply with quote

Quote:
Can anyone help me to finout what is the problem?


the only help we can give You is a suggestion...

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, ...

nothing more we can do, given the generic request
Back to top
View user's profile Send private message
trilokdewangan

New User


Joined: 19 Jun 2008
Posts: 39
Location: USA

PostPosted: Tue Jul 15, 2008 7:31 pm
Reply with quote

Hi Ranjith,

I can help you on that, I can give you code that I am using, try this and let me know if you get any problem. I am using that so frequently.

Code:
//HKZIPFLE EXEC PGM=PKZIP,REGION=2048K,                             
//          PARM='-ARCHIVE(BXRT74.PAYX.ABCDEDD12345.D0825A.ZIP)'         
//SYSPRINT DD SYSOUT=*                                             
//SYSIN   DD  SUBSYS=(CCSS,                                         
//    ' -NIA(BXRT74.PAYX.ABCDED.D12345.S1.D0825A,ABC&ABC..TXT) ',
//    ' -ARCHUNIT(DASD)  ',                                         
//    ' -ARCHSPACE(TRK)  ',                                         
//    ' -ARCHPRIMARY(5)  ',                                         
//    ' -ARCHSECONDARY(5)  ',                                       
//    ' -METHOD(SUPERFAST)  ',                                     
//    ' -TEXT  ',                                                   
//    ' BXRT74.PAYX.ABCDED.D12345.S1.D0825A')                     
//*                                                                 

Input dataset: BXRT74.PAYX.ABCDED.D12345.S1.D0825A
Output zipped file:BXRT74.PAYX.ABCDEDD12345.D0825A.ZIP

Remember you need to alter retention period of Zipped file, It has Permanent.


Thanks,
Trilok Kumar
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 15, 2008 7:40 pm
Reply with quote

friendly advice...
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

and so on and so on
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts PKZIP - extracting multiple txt files All Other Mainframe Topics 3
No new posts WRITE to VSAM giving duplicate RC CICS 1
No new posts DB2 Program abending without giving a... DB2 7
No new posts Join giving more records than expected SYNCSORT 2
Search our Forums:

Back to Top