Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
PKZIP giving RC=00000008

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
ranjitherdci

New User


Joined: 17 Jun 2008
Posts: 10
Location: Bangalore

PostPosted: Wed Jul 09, 2008 12:29 pm    Post subject: PKZIP giving RC=00000008
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
References
PostPosted: Wed Jul 09, 2008 12:29 pm    Post subject: Re: PKZIP giving RC=00000008 Reply with quote

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2560
Location: italy

PostPosted: Wed Jul 09, 2008 12:34 pm    Post subject: Reply to: PKZIP giving RC=00000008
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: 13
Location: Bangalore

PostPosted: Tue Jul 15, 2008 7:31 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 2560
Location: italy

PostPosted: Tue Jul 15, 2008 7:40 pm    Post subject: Reply to: PKZIP giving RC=00000008
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1