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
 

 

PKZIP Error: Insufficient Virtual Storage

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: PKZIP Error: Insufficient Virtual Storage
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 19, 2013 11:54 am    Post subject:
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 19, 2013 12:40 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Fri Apr 19, 2013 1:58 pm    Post subject: Reply to: PKZIP in program
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    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Fri Apr 19, 2013 3:15 pm    Post subject:
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    Post subject:
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    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Mon Apr 22, 2013 4:53 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm


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