How To Check Zero Records


  • Posted by  Pranay reddy 
    23 Oct, 2012

    Related to JCL: If output of step1 is created zero records and later on in the subsequent step (i.e. in step2) how to check for zero records condition??, pls advice... 

  • 8 Feb, 2013

    //step02 pgm=idcams

    //filein dd dsn=xxx.yy,disp=shr

    //sysin dd *

    print(filein),count(1)

    /*

    if the file contains atleast 1 rec,it will show maxcc=0otherwise it will populate 4

     

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.