Page 1 of 1

a problem with creating new catalog

PostPosted: Mon Nov 16, 2009 6:12 pm
by junkster
Hallo.
I have a problem with using IDCAMS for creating new mastercatalog. here is the fragment of the JCL code^

//MKMASTCA EXEC PGM=IDCAMS         
//SYSPRINT DD SYSOUT=*             
//SYSIN    DD *                   
  DEFINE -                         
    MCAT ( -                       
          ICFCATALOG -             
          NAME(ICF.210RES.NMCAT) -
          VOL(210RES) -           
          CYL(10 5) -             
          FREESPACE(10 10) -       
          SHR(3 4) -               
          STRNO(3) -               
         ) -                       
    DATA ( -    ............................


Job ended with con code 12
the problem is:
IDC3203I ITEM 'ICF.210RES.NMCAT' DOES NOT ADHERE TO RESTRICTIONS

what is wrong with the name? or maybe i forgot something?

Re: a problem with creating new catalog

PostPosted: Tue Nov 17, 2009 12:07 am
by dick scherrer
Hello and welcome to the forum,

Do you know the rules for naming a dataset?

The dataset name you used is an invalid dataset name. . .

No node of a dsn may begin with a number.

Re: a problem with creating new catalog

PostPosted: Tue Nov 17, 2009 1:43 pm
by junkster
How could i forget! what a stupid mistake...
thank you very much!!!

Re: a problem with creating new catalog

PostPosted: Wed Nov 18, 2009 1:17 am
by dick scherrer
You're welcome :)

d