Please do tell me how to pass date to a variable for a program when it runs in production
What date?? Current date or some other date?? In what format??
Why you want to pass and why not to ACCEPT it from COBOL
Options are numerous, you can use ACCEPT DATE (in COBOL), EZACFSM1, Sort products, etc.
Explain the requirement clearly, you will have a better chance of getting a good soulution.