How to accept a value for a variable, in cobol using jcl. I'm confused regarding this concept..
can any one please help me to check it out. .....
NicC wrote:Well, you are not explaining it all that well. Do you mean passing a parameter from JCL to COBOL? If so, (1) - look up how to code a parameter on the EXEC PGM= statement in the JCL manual and (2) - look up how to code the variable it is to be stored in in the Cobol program. I think it is in the LINKAGE SECTION. Your PROCEDURE DIVISION will need the USING keyword.