Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Issue with PKUNZIP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
chetanambi

New User


Joined: 21 Jan 2012
Posts: 53
Location: India

PostPosted: Thu May 16, 2013 5:17 pm    Post subject: Issue with PKUNZIP
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7241

PostPosted: Thu May 16, 2013 5:25 pm    Post subject: Reply to: Issue with PKUNZIP
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: 7914
Location: Bellevue, IA

PostPosted: Thu May 16, 2013 5:48 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu May 16, 2013 5:53 pm    Post subject:
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: 53
Location: India

PostPosted: Thu May 16, 2013 6:20 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu May 16, 2013 6:24 pm    Post subject:
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

Site Director


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

PostPosted: Thu May 16, 2013 8:58 pm    Post subject:
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: 53
Location: India

PostPosted: Sat May 25, 2013 10:18 am    Post subject:
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

Site Director


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

PostPosted: Tue May 28, 2013 7:15 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts REXX Screen not working due to LINKED... sundarkudos CLIST & REXX 1 Mon May 09, 2016 1:44 pm
No new posts Issue in sending zip file as mail att... ajithajt JCL & VSAM 8 Thu Apr 07, 2016 9:11 am
No new posts Include Cond issue vickey_dw DFSORT/ICETOOL 6 Tue Mar 29, 2016 8:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us