View previous topic :: View next topic
|
Author |
Message |
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
Back to top |
|
|
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
Quote: |
can you assist how to find the valid volume component in the system? |
ask Your support |
|
Back to top |
|
|
sandeep prajapati
New User
Joined: 23 Mar 2020 Posts: 19 Location: India
|
|
|
|
thank you, buona giornata |
|
Back to top |
|
|
Jose Mateo
Active User
Joined: 29 Oct 2010 Posts: 121 Location: Puerto Rico
|
|
|
|
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 |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
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 |
|
|
|