Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error Creating KSDS file, REASON CODE IS IGG0CLEM-36

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

New User


Joined: 23 Mar 2020
Posts: 17
Location: India

PostPosted: Tue Mar 24, 2020 12:05 pm    Post subject: Error Creating KSDS file, REASON CODE IS IGG0CLEM-36
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

Senior Member


Joined: 14 Mar 2007
Posts: 10696
Location: italy

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

https://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: 17
Location: India

PostPosted: Tue Mar 24, 2020 12:24 pm    Post subject: Error Creating KSDS file, REASON CODE IS IGG0CLEM-36 Read
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

Senior Member


Joined: 14 Mar 2007
Posts: 10696
Location: italy

PostPosted: Tue Mar 24, 2020 12:25 pm    Post subject:
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: 17
Location: India

PostPosted: Tue Mar 24, 2020 12:29 pm    Post subject:
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    Post subject:
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

Active User


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

PostPosted: Tue Mar 24, 2020 11:19 pm    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10696
Location: italy

PostPosted: Tue Mar 24, 2020 11:40 pm    Post subject: Reply to: Error Creating KSDS file, REASON CODE IS IGG0CLEM-36
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: 1210
Location: Vilnius, Lithuania

PostPosted: Wed Mar 25, 2020 12:59 am    Post subject: Re: Reply to: Error Creating KSDS file, REASON CODE IS IGG0CLEM-36
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    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 Multiple Sums in one File Rick Ryan SYNCSORT 2 Wed Jul 29, 2020 1:30 am
No new posts Extract part of data from file and wr... sathyajes DFSORT/ICETOOL 9 Thu Jul 16, 2020 10:49 am
No new posts Identify the count from two diffrent ... UmashankarSubramani DFSORT/ICETOOL 19 Sat Jul 11, 2020 4:35 am
No new posts CICS file processing using applicatio... Satish_gsv CICS 3 Sat Jul 11, 2020 4:18 am
No new posts VSAM I/O - Extended Addressability - ... amitsjcntl JCL & VSAM 12 Mon Jul 06, 2020 3:51 pm

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