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

Issue with PKUNZIP


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

New User


Joined: 21 Jan 2012
Posts: 58
Location: India

PostPosted: Thu May 16, 2013 5:17 pm
Reply with quote

Hi all,

We have a job which will unzip different zip files in 4 steps. We are getting S837-08 abend while unzipping the file in 4th step. Its happening only for 4th step.

Below is the 3rd and 4th step.
Code:

//*-------------------------------------------------------------------*
//PS020    EXEC PGM=PKUNZIP                                             
//*-------------------------------------------------------------------*
//SYSPRINT DD SYSOUT=&CLSJ                                             
//SYSUDUMP DD SYSOUT=&CLSJ                                             
//MYFILE   DD DSN=xxxxx.NA.FTP.xxxxxx.FEWV(+0),DISP=SHR               
//OUTFILE  DD DSN=xxxxx.NA.xxxxxx.FEWV.UNZIP,                         
//            DISP=(NEW,CATLG,DELETE),                                 
//            UNIT=STOR,SPACE=(TRK,(1,1),RLSE),                         
//            DCB=(B0.DSCB,RECFM=VB,LRECL=23036,BLKSIZE=27998)         
//SYSIN    DD DSN=xxxxx.NM.CARDLIB(AADQPC10),DISP=SHR                 
//*-------------------------------------------------------------------*
//PS025    EXEC PGM=PKUNZIP                                             
//*-------------------------------------------------------------------*
//SYSPRINT DD SYSOUT=&CLSJ                                             
//SYSUDUMP DD SYSOUT=&CLSJ                                             
//MYFILE   DD DSN=xxxxx.NA.FTP.xxxxxx.FEWP(+0),DISP=SHR               
//OUTFILE  DD DSN=xxxxx.NA.xxxxxx.FEWP.UNZIP,                         
//            DISP=(NEW,CATLG,DELETE),                                 
//            UNIT=STOR,SPACE=(TRK,(1,1),RLSE),                         
//            DCB=(B0.DSCB,RECFM=VB,LRECL=23036,BLKSIZE=27998)         
//SYSIN    DD DSN=xxxxx.NM.CARDLIB(AADQPC10),DISP=SHR                 
//*-----------------------------------------------------------------   


below is the dump from jesmsglg
Code:

IEC028I 837-08,IFG0554A,AACRDQPC,PS025,OUTFILE,5717,STDNAV,  851   
xxxxx.NA.xxxxxx.FEWP.UNZIP                                       
SCF001I AACRDQPC   N/A    PS025    PKUNZIP  PSGCON1  ST=005 CC=0008


below is the dump from sysprint:
Code:

ZPFM121E File Put  Error (EE837008): OUTFILE  xxxxx.NA.xxxxxx.FEWP.UNZIP 
ZPEX002I xxxxx.NA.FTP.xxxxxx.FEWP                                         
ZPEX010E Extract failed.                                                   
ZPAM140I FILES:   EXTRACTED  EXCLUDED  BYPASSED  IN ERROR                 
ZPAM140I                  0         0         0         1                 
<CCCOZIP> ReadData ACCOCQMR Premature End(8) FL1=00                       
ZPMT002I PKZIP processing complete. RC=00000008 8(Dec)                     


I have looked at S837-08 descrption and its referring to end-of-volume. but here we have both i/p and o/p files are DASD.

Can anyone guide me how to resolve this?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu May 16, 2013 5:25 pm
Reply with quote

Can you check that there are four files in there, and that the name of the fourth (if there is one) is the same as the control card?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu May 16, 2013 5:48 pm
Reply with quote

Quote:
its referring to end-of-volume. but here we have both i/p and o/p files are DASD.
You DO know, I hope, that end-of-volume can occur on DASD as well as tape? And that it means the data set needed more space but could not get any more? Have you checked the zip file to determine how big the fourth file is, and adjusted your space allocation in your JCL to match that size?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 16, 2013 5:53 pm
Reply with quote

Having read the description and actions for IEC028I, which if you had read carefully the S837 abend message description, you would also have done.

I suggest that you - as suggested by the IEC028I message actions
a) Increase the space allocation of the output file
b) Increase the number of volumes allocated to the output file
c) Learn to investigate ALL messages issued during an abend
Back to top
View user's profile Send private message
chetanambi

New User


Joined: 21 Jan 2012
Posts: 58
Location: India

PostPosted: Thu May 16, 2013 6:20 pm
Reply with quote

Bill
Control card is same for all the steps. Only input and output files differ.

Rober and Expat,
The interesting part is that if we restart the job after 15-20 min job is executing successfully without any abend. So if it was really an issue with space it would abend until we increase the space. But from next run of thsi job i will try to run with increased space to see if that resolve the abend.

Quote:

b) Increase the number of volumes allocated to the output file

Any suggestions how to increase the volume for DASD?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 16, 2013 6:24 pm
Reply with quote

Quote:
Any suggestions how to increase the volume for DASD?

You do have access to the JCL manuals .......... don't you ???

Have you also looked at the error message ZPFM121E which may explain why it works after a restart
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 16, 2013 8:58 pm
Reply with quote

Hello,

Quote:
Any suggestions how to increase the volume for DASD?
As suggested, look in the JCL Reference manual (link to IBM Manuals at the top of this page).

Read about SPACE and Volume Count paremeters of the DD statement.
Back to top
View user's profile Send private message
chetanambi

New User


Joined: 21 Jan 2012
Posts: 58
Location: India

PostPosted: Sat May 25, 2013 10:18 am
Reply with quote

Dear All,

Sorry for the late reply. I have increased the space for all the steps from TRK(1,1) to CYL(10,5) and monitored the job for a week. So issue is resolved now.

Thanks a lot for all your help!!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue May 28, 2013 7:15 pm
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue May 28, 2013 7:34 pm
Reply with quote

The "sometimes it works, sometimes it doesn't" stuff can drive you crazy. If you have some storage management program helping you get space, you need to understand how it's working.

What can happen here is that a job will start, pick a volume based on the primary allocation, and fail when it needs a bunch of extents. If I run the exact same job again, it might pick a volume that has more space on it and work this time.

There are only a few SMS groups like this, so I usually stick to the predefined storage names to avoid this kind of stuff.
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 SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Facing ABM3 issue! CICS 3
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top