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

LISTCAT LEVEL(HLQ) VOLUME cc=8 not sufficient region 8M


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

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Fri Jan 19, 2007 11:07 pm
Reply with quote

We have a batch job that uses ID-CAMS "LISTCAT LEVEL(HLQ) VOLUME" then a utility to separate out the datasets on volumes with a given prefix. The LISTCAT has started ending with a condition code 8 and a message that it does not have sufficient region. We have set the region up to 8M and still occasionally have the problem. The region size needed seems to be related to the number of datasets retrieved by the LISTCAT. Is there some other way to get all of the dataset names on volumes with a given prefix that would not require ever expanding region.
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: Sat Jan 20, 2007 12:19 am
Reply with quote

Hello,

Depending on how how your hlq is structured, you could split the listcat steps into multiples and mod onto the output. Your "utility" would run from basically the same input it has now - with maybe a few extra header pages.

I believe IDCAMS will "grow" as the number of datasets increases.

If your site allows, you might also try REGION=0M (zeroM).
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Tue Jul 03, 2007 11:47 pm
Reply with quote

I would like to belatedly thank you for your prior help.
I did not fine a way to break it up into a reasonable number of groups, so I coded region=0M like you suggested. That worked fine, until now.

We are again getting "IDC3332I ** INSUFFICIENT MAIN STORAGE" even with region=0M.

Any other good ideas? This part of the job is trying to get a list of the DSN and VOL SER of all of our cataloged carts and tapes. Is there some other way to get this list without infinite region. Do you have any Idea why it requires so much region?
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: Wed Jul 04, 2007 12:17 am
Reply with quote

You're welcome icon_smile.gif

What is the HLQ you are "seeding" the listcat with? If, for example, you have started at the highest level, you may need to create multiple listcats of the first 2 levels.

As more and more entries are made into your catalog, you will always be able to create more names than can be processed in a single run.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Jul 04, 2007 4:12 am
Reply with quote

This job is using a HLQ of just the highest node like ABC. It is my understanding that a complete node is required in the LEVEL. I found that there are over 1000 different second nodes that start with a particular letter ie ABC.D*.** there would be many more second nodes starting with other letters. How I could break this up into a reasonable number of listcats? Are there any other utilities that I might be able to use instead of listcat that might not use so much region?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Jul 04, 2007 12:47 pm
Reply with quote

Take a look at CSI (Catalog Search Interface) from the link below.

http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/DGT2C150/C.0?DT=20060608131553

The REXX code is usually in SYS1.SAMPLIB.

This product can be a real pig to configure to get the exact reports that you need, but for a straight ABC.** it will give you the dataset name and the volume(s) that it resideds on.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Jul 05, 2007 11:13 pm
Reply with quote

Thank You, This works great.
Code:
//XXXXXXXX JOB CARD                               
//STEP10  EXEC PGM=IKJEFT1A                       
//SYSPROC   DD DSN=SYS1.SAMPLIB,DISP=SHR         
//SYSTSPRT  DD DSN=XXXXXXX.XXXXXXX,               
//             DISP=(NEW,CATLG,CATLG),           
//             UNIT=DISK,SPACE=(CYL,(50,50),RLSE),
//             DCB=(RECFM=FB,LRECL=133,BLKSIZE=0)
//SYSTSIN   DD *                                 
%IGGCSIRX                                         
ABC.**                                           
/*                                               
//                                               
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 How to load to DB2 with column level ... DB2 6
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Volume chain using DFSORT DFSORT/ICETOOL 17
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top