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

PKZIP Error: Insufficient Virtual Storage


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nebivedu

New User


Joined: 02 Sep 2008
Posts: 6
Location: Slovenia

PostPosted: Fri Apr 19, 2013 11:46 am
Reply with quote

Hello.

I have a big problem.

I must create 200 files from one input (delimited) and compress them with PKZIP. Each file must be named (xxx.yyy.counter.XML). That is no problem (-ZIPPED_DSN(*.*,XXX.YYY.COUNTER.XML)). Each file must be added to one big zip (program create one zip dataset and then add each input to this dataset).

I build a program that loops and in each loop program reads input, create parameters for PKZIP and add file to big zip file.

The problem is, that PKZIP compress only 52 files (of 200) and then crash with error:
Quote:
Insufficient Virtual Storage to handle the file request.


I tried a lot of PKZIP options, bit the error stays.

What is the parameter for more virtual storage?
Back to top
View user's profile Send private message
nebivedu

New User


Joined: 02 Sep 2008
Posts: 6
Location: Slovenia

PostPosted: Fri Apr 19, 2013 11:51 am
Reply with quote

Program work like this:

-Begin
--read first
--loop until inp-end
----open output
----write to output
----end of file output
----compress and add output to big zip
----read input
-end
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 19, 2013 11:54 am
Reply with quote

Consult the manual.
Back to top
View user's profile Send private message
nebivedu

New User


Joined: 02 Sep 2008
Posts: 6
Location: Slovenia

PostPosted: Fri Apr 19, 2013 12:33 pm
Reply with quote

I did:
Application Integration Guide.pdf
Messages Guide.pdf
System Administrators Guide.pdf
Users Guide.pdf


But there is nothing usefull in these four guides.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 19, 2013 12:40 pm
Reply with quote

Maybe –MEMORY_MODEL or –DATA_STORAGE or the -TEMP_* parameters will help.

Thats all in the Users's Guide.
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: Fri Apr 19, 2013 1:58 pm
Reply with quote

You're doing this in a Cobol program?

Rather than "adding" each file to the archive (if I've understood it) one at a time, why don't you create all the files, and then add them all at once?
Back to top
View user's profile Send private message
nebivedu

New User


Joined: 02 Sep 2008
Posts: 6
Location: Slovenia

PostPosted: Fri Apr 19, 2013 2:32 pm
Reply with quote

I do not know exactly how many outputs it will be. I am reading DB2 base and sometimes will be only 4 outputs, sometimes 50, but 200 is limit.


i tryed
- MEMORY_MODEL(SMALL|MEDIUM|LARGE) with almoust all -DATA_STORAGE and -TEMP options that i find in guides, But result is the same each time.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Apr 19, 2013 3:15 pm
Reply with quote

Have you contacted the PKZIP vendor for assistance? They most certainly know more about their product then anyone on this forum could.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Fri Apr 19, 2013 8:25 pm
Reply with quote

Could it be as simple as adding more region to the job?
Back to top
View user's profile Send private message
nebivedu

New User


Joined: 02 Sep 2008
Posts: 6
Location: Slovenia

PostPosted: Mon Apr 22, 2013 3:24 pm
Reply with quote

Region is 0M
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Apr 22, 2013 4:53 pm
Reply with quote

nebivedu: I do hope you are aware that many sites limit the amount of memory an applicaiton programmer can request, and thus specifying REGION=0M may or may not be doing what you want; only someone working AT YOUR SITE could tell you. So you haven't added any useful information by telling us your job is using REGION=0M.

And even if your site does honor REGION=0M, the only way you can possibly get a solution to your problem will be to contact the vendor and use the vendor's solution since nobody on this forum has any magic tricks to give your job more memory than the maximum for your site (which is what REGION=0M does if it is not overridden by your site).

The bottom line is that you need to talk to your site support group and the product vendor (in that order) to resolve your problem; asking on this forum will not get you a viable solution for your site.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Apr 22, 2013 7:19 pm
Reply with quote

One more wild ass guess: Is the program compiled/linked with DATA(31) RMODE(31)?

Could be you have accidentally restricted it to work 'below the line' with an old set of compile/link JCL.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts PKZIP error ZPFM121E and ZPCE009E JCL & VSAM 6
No new posts OpenPGP Decryption job getting LRECL ... IBM Tools 7
Search our Forums:

Back to Top