Tuesday 19 June 2012

Dummy Data sets and Temporary data sets in jcl

Dummy Data sets :

  Dummy data sets are used to pass the control from one step to another step
  with out  exhigution .

  Mainframe interview questions and answers, jcl interview questions and answers for 
   what is Dummy Data sets  in jcl, how  Dummy Data sets  give in jcl

  Dummy Data sets are used to pass the  exhigution  to the next step  with out  exhigution .
  this can avoid the Failure due to empty file.
  
  For Example take fallowing example.


  //Step01  Exec pgm= p1
 //DD1       DD  Dsn= Dummy or Null file
 //Step02   Exec pgm=p2
 //DD2      DD   Dsn= 02A92.ABC.data, disp=shr


 in the above example the step01 contain empty data set if does not give as dummy
 it is Failed due to lack of data. to avoid this if give data set as dummy then control 
 goes Directly to Step02 with out  exhigution of step01.


Temporary data sets:
   
    Temporary Data sets are used to pass data from one step to another step.
    After exhigution  of job the temporary data sets are automatically deleted.  

No comments:

Post a Comment