My requirement is Every time I need to pass different value to my sysin card of JCL
Example --
Below is the Query I am passing thru SYSIN CARD( I am executing this query thru DB2BATCH )
Select ,LEDGER_DESCRIPTION
,DEBIT
,CREDIT
FROM T14DBC.BAGG1600
In above example ...
I need to query different tables through JCL. I have four JCLs. Query remains same but only table name gets changes.
Is there any option to pass dynamic value (symbolic variable to SYSIN card of JCL) to avoid multiple control cards?