how to change copybook name at run time in cobol
Posted: Mon Nov 26, 2012 2:36 pm
Hi,
I am working on a requirement where i need to pass the name of the copybook to a cobol program at run time. the name of the copybook i will be passing using JCL parms. but the problem is how i will use it in cobol. this is something like allocating copybook dynamically to the cobol module.is there any way to do it. please suggest me some solution if there is any other way to achieve it
I am working on a requirement where i need to pass the name of the copybook to a cobol program at run time. the name of the copybook i will be passing using JCL parms. but the problem is how i will use it in cobol. this is something like allocating copybook dynamically to the cobol module.is there any way to do it. please suggest me some solution if there is any other way to achieve it