a problem with creating new catalog



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

a problem with creating new catalog

Postby junkster » Mon Nov 16, 2009 6:12 pm

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?
junkster
 
Posts: 2
Joined: Mon Nov 16, 2009 5:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: a problem with creating new catalog

 

Re: a problem with creating new catalog

Postby dick scherrer » Tue Nov 17, 2009 12:07 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: a problem with creating new catalog

Postby junkster » Tue Nov 17, 2009 1:43 pm

How could i forget! what a stupid mistake...
thank you very much!!!
junkster
 
Posts: 2
Joined: Mon Nov 16, 2009 5:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: a problem with creating new catalog

Postby dick scherrer » Wed Nov 18, 2009 1:17 am

You're welcome :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post