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

Error Creating KSDS file, REASON CODE IS IGG0CLEM-36


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

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Tue Mar 24, 2020 12:05 pm
Reply with quote

Hi All, Good day, I am trying to Create a KSDS file using the below JCL

Code:
 //CREKSDS  JOB CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),NOTIFY=&SYSUID,       
 //             PRTY=15                                                 
 //*--------------------------------------------------------------------*
 //*---- CREATION OF KSDS VSAM FILE ------------------------------------*
 //*--------------------------------------------------------------------*
 //STEP010  EXEC PGM=IDCAMS                                             
 //SYSPRINT DD SYSOUT=*                                                 
 //SYSIN   DD *                                                         
        DEFINE CLUSTER(                         -                       
               NAME(Z56117.SANDEEP.COURSE.KSDS) -                       
               INDEXED                          -                       
               KEYS(5 0)                        -                       
               RECSZ(90 200)                    -                       
               CISZ(8192)                       -                       
               FREESPACE(10 20)                 -                       
               TRACKS(50 30)                    -                       
               VOLUME(ZASYS1))                                           
 /*                                       


in the spool, it is showing

********************************* TOP OF DATA ***************************
IDCAMS SYSTEM SERVICES TIME: 0

DEFINE CLUSTER( -
NAME(Z56117.SANDEEP.COURSE.KSDS) -
INDEXED -
KEYS(5 0) -
RECSZ(90 200) -
CISZ(8192) -
FREESPACE(10 20) -
TRACKS(50 30) -
VOLUME(ZASYS1))
IKJ56883I UTILITY DATA SET NOT ALLOCATED, REQUEST CANCELED
IDC3014I CATALOG ERROR
IDC3009I ** VSAM CATALOG RETURN CODE IS 240 - REASON CODE IS IGG0CLEM-36
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12


IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12

please advise.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Tue Mar 24, 2020 12:16 pm
Reply with quote

www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieam600/bb3009i.htm


and ...
ZASYS1 is NOT the best volume to allocate play-around datasets
Back to top
View user's profile Send private message
sandeep prajapati

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Tue Mar 24, 2020 12:24 pm
Reply with quote

Got it, I had passed the wrong volume component that was not identified by the IDCAMS, I fixed it now! had to copy the volume component of the previous files.

can you assist how to find the valid volume component in the system?

many thanks,
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Tue Mar 24, 2020 12:25 pm
Reply with quote

Quote:
can you assist how to find the valid volume component in the system?


ask Your support
Back to top
View user's profile Send private message
sandeep prajapati

New User


Joined: 23 Mar 2020
Posts: 19
Location: India

PostPosted: Tue Mar 24, 2020 12:29 pm
Reply with quote

icon_neutral.gif thank you, buona giornata
Back to top
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 121
Location: Puerto Rico

PostPosted: Tue Mar 24, 2020 10:23 pm
Reply with quote

First you are missing the CATALOG entry in your IDCAMS input or a DD for the CATALOG.
Second, run a list catalog on the catalog to find the valid volumes define to that catalog.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1337
Location: Bamberg, Germany

PostPosted: Tue Mar 24, 2020 11:19 pm
Reply with quote

Jose Mateo wrote:
First you are missing the CATALOG entry in your IDCAMS input or a DD for the CATALOG.
Second, run a list catalog on the catalog to find the valid volumes define to that catalog.

You don't need to specify a CATALOG when entries are to be defined in the standard catalog search order. Secondly if things are set up right, datasets are under SMS control nowadays.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Tue Mar 24, 2020 11:40 pm
Reply with quote

Quote:
Second, run a list catalog on the catalog to find the valid volumes define to that catalog.


the bit ownership disappeared about 35 years ago with the advent of ICF catalogs
so a catalog listing will tell nothing about usable volumes

so allocating an arbitrary dataset on a volume already know to that catalog
might simply go against the standards

and ....
ZASYS1 is one of the system disks of the zOS 1.10 ADCD

I wonder icon_question.gif
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1315
Location: Vilnius, Lithuania

PostPosted: Wed Mar 25, 2020 12:59 am
Reply with quote

enrico-sorichetti wrote:
and ....
ZASYS1 is one of the system disks of the zOS 1.10 ADCD

You took the words right out of my mouth...
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 purge jobs with return code 0 and ret... JCL & VSAM 4
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Unable to interpret a hex value to De... COBOL Programming 7
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
Search our Forums:

Back to Top