How Do You Code COBOL To Access A Parameter That Has Been Defined In JCL And Do You Code The PARM Parameter On The EXEC Line In JCL

How Do You Code COBOL To Access A Parameter That Has Been Defined In JCL And Do You Code The PARM Parameter On The EXEC Line In JCL


  • 13 Dec, 2011

    Using JCL with sysin. //sysin dd *here u code the parameters (value) to pass in to Cobol program /* and in program you use accept variable name (one accept will read one row)/.another way. 2) in jcl using parm statement ex: in exec statement parm=?john?,'david? in Cobol pgm u have to code linkage section in that for first value you code length variable and variable name say, abc pic x(4).it will take john inside to read next value u have to code another variable in the same way above mentioned.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.