Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error in Allocating multiple datasets

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

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Mon Feb 28, 2011 5:55 pm    Post subject: Error in Allocating multiple datasets
Reply with quote

Hi,

I facing an issue while allocating multiple files(10 files) thru following batch jcl. Please help me.

ALLOC DATASET('File2') -
NEW REUSE -
UNIT(SYSDA) RECFM(F) LRECL(4096) BLKSIZE(4096) -
SPACE(10) CYLINDERS -
RETPD(3700)
IKJ56220I FILE SYSTSPRT NOT ALLOCATED, TOO MANY DATA SETS
IKJ56220I MAXIMUM NUMBER OF DATA SET ALLOCATIONS ALLOWED BY YOUR
IKJ56220I SESSION HAS BEEN REACHED, YOU SHOULD FREE UNUSED DATA SETS
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12

My job step is given below.

//STEP01 EXEC PGM=IDCAMS
//SYSIN DD DSN=TEST.LIB1(FILE1),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//*
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Mon Feb 28, 2011 6:28 pm    Post subject: Reply to: Error in Allocating multiple datasets
Reply with quote

You may want to increase the settings for the maximum allowable number of dynamically allocated datasets:

16.6 DYNAMNBR Parameter.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1777
Location: Bloomington, IL

PostPosted: Mon Feb 28, 2011 8:29 pm    Post subject: Re: Error in Allocating multiple datasets
Reply with quote

cvijay784 wrote:
Hi,

I facing an issue while allocating multiple files(10 files) thru following batch jcl. Please help me.

ALLOC DATASET('File2') -
NEW REUSE -
UNIT(SYSDA) RECFM(F) LRECL(4096) BLKSIZE(4096) -
SPACE(10) CYLINDERS -
RETPD(3700)
IKJ56220I FILE SYSTSPRT NOT ALLOCATED, TOO MANY DATA SETS
IKJ56220I MAXIMUM NUMBER OF DATA SET ALLOCATIONS ALLOWED BY YOUR
IKJ56220I SESSION HAS BEEN REACHED, YOU SHOULD FREE UNUSED DATA SETS
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12

My job step is given below.

//STEP01 EXEC PGM=IDCAMS
//SYSIN DD DSN=TEST.LIB1(FILE1),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//*

The IKJ messages are generated by TSO, not IDCAMS. Show us the real JCL.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Mon Feb 28, 2011 8:46 pm    Post subject: Reply to: Error in Allocating multiple datasets
Reply with quote

the issue has already been discussed
the simple solution is to use a dummy(placeholder) ddname

Code:
 ALLOC FI(<arb_ddname>) DA('<dataset name') -
        DSORG(PS) RECFM(F B) LRECL(80) -
        SPACE(1 1) TRACKS NEW CATALOG REUSE

obviously the other dataset parameters are just for the <quantity> test

tested with 1000 datsets!
Back to top
View user's profile Send private message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Tue Mar 01, 2011 11:45 am    Post subject: Reply to: Error in Allocating multiple datasets
Reply with quote

Hi,

Complete JCL is given below.

//JOBNAME JOB ,'VIJAY',CLASS=A,PRTY=4,
// MSGCLASS=J,NOTIFY=&SYSUID
//*******************************************************
//* STEP01 - IDCAMS COPY STEP
//*******************************************************
//STEP01 EXEC PGM=IDCAMS
//SYSIN DD DSN=TEST.PDSLIB(MEMBER),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//*

MEMBER parm has following code.

SET MAXCC=0

ALLOC FI(DUMMDD) DA('TEST.PS') -
DSORG(PS) RECFM(F B) LRECL(80) -
SPACE(1 1) TRACKS NEW CATALOG REUSE -
RETPD(3700)

ALLOC FI(DUMMDD) DA('TEST.PS2') -
DSORG(PS) RECFM(F B) LRECL(80) -
SPACE(1 1) TRACKS NEW CATALOG REUSE -
RETPD(3700)

ALLOC FI(DUMMDD) DA('TEST.PS3') -
DSORG(PS) RECFM(F B) LRECL(80) -
SPACE(1 1) TRACKS NEW CATALOG REUSE -
RETPD(3700)

************************************

When using FI dummy dd name, i now get following error. Please help me.


000001 //JOBNAME JOB ,'VIJAY',CLASS=A,PRTY=4,
000002 // MSGCLASS=J,NOTIFY=&SYSUID
000003 //***********************************************************
000004 //* STEP01 - IDCAMS COPY STEP
000005 //***********************************************************
000006 //STEP01 EXEC PGM=IDCAMS
.JAAA //SYSIN DD DSN=TEST.PDSLIB(MEMBER),DISP=SHR
=NOTE= ----+----1----+----2----+----3----+----4----+----5----+----
=NOTE= SET MAXCC=0
=NOTE=
=NOTE= ALLOC FI(DUMMDD) DA('TEST.PS') -
==MSG> ***ERROR - DSS5650E - FI IS NOT VALID FOR THIS COMMAND
=NOTE= DSORG(PS) RECFM(F B) LRECL(80) -
=NOTE= SPACE(1 1) TRACKS NEW CATALOG REUSE -
=NOTE= RETPD(3700)
=NOTE=
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Mar 01, 2011 11:54 am    Post subject: Reply to: Error in Allocating multiple datasets
Reply with quote

before posting I test the statements I provide
if something does not work.. certainly it is not due to something wrong in them

did You try to simply run the jcl?

Quote:
DSS5650E


it is not an idcams message...
get rid of the buggy jcl checker! icon_biggrin.gif

no reason for anybody to waste time talking about such issues
it has been already told zillions times that jcl checkers quite often ( too often really )
give false checks

to get proper help post only on real errors,
as reported in the IBM manuals!
Back to top
View user's profile Send private message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Tue Mar 01, 2011 12:41 pm    Post subject: Reply to: Error in Allocating multiple datasets
Reply with quote

This is a miracle. Job ran successfully and allocated multiple datasets.
A jcl that throws error in jcl checker, never ran successfully in my career.

This is amazing !!! Thanks for all your effort :)
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Mar 01, 2011 12:47 pm    Post subject: Reply to: Error in Allocating multiple datasets
Reply with quote

miracle...
we do not need no steenking miracles! icon_biggrin.gif

Jcl checkers mighy be successful in finding jcl errors

the control card used for service programs and utilities are not part of jcl
and jcl checkers are prone to show for them non existing errors
jcl is has been pretty static for a long time, the big changes will happen in zOS 13
on the other side utilities and service program are much more prone to evolution

the proper approach would be that the checkers would provide an option to check only jcl and not control cards,
but that' s expecting too much from them!
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us