What is the meaning of "dot" in DDNAME.



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

What is the meaning of "dot" in DDNAME.

Postby Mehdi shri » Mon Apr 15, 2013 11:18 am

Dear friends
I my JCL there is following statement:

//ACBGEN   EXEC PROC=ACBGEN,SOUT='*',COMP='POSTCOMP'   
//G.IMS    DD  DSN=IMSV7.BNK.PSBLIB,DISP=SHR         
//         DD  DSN=IMSV7.BNK.DBDLIB,DISP=SHR         
//G.IMSACB DD  DSN=IMSV7.BNK.ACBLIB,DISP=SHR         
//G.SYSIN  DD *                                       
  BUILD PSB=MYPSB001                                   


What is the meaning of G(dot)SYSIN . Is it special meaning for period (or dot character) on DDNAME. (Same question for G.IMS and G.IMSACB)
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: What is the meaning of "dot" in DDNAME.

Postby BillyBoyo » Mon Apr 15, 2013 11:33 am

If you look in the PROC ACBGEN you'll from a "step" called G. The "G." is a method to override/add DD names in step G of the PROC.

These users thanked the author BillyBoyo for the post:
Mehdi shri (Mon Apr 15, 2013 1:00 pm)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: What is the meaning of "dot" in DDNAME.

Postby NicC » Mon Apr 15, 2013 1:13 pm

The dot is a seperator just as in the dataset name. In the datasetname it seperates the different levels (qualifiers) and in a DDNAME override it sepearatesthe stepname being over-ridden from the ddname. All is explained in either/both of the JCL language reference manual and JCL users guide.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

These users thanked the author NicC for the post:
Mehdi shri (Mon Apr 15, 2013 1:29 pm)
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: What is the meaning of "dot" in DDNAME.

Postby Ed Goodman » Mon Apr 15, 2013 7:25 pm

The format is stepname.ddname for an override. So look for the 'G' step in your proc.

You can also ADD dds to a step this way. Also, make sure the overrides are in the same order as the proc ddnames. New ones go last.
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post