Passing variables to SYSIN DD * in z/OS job running IDCAMS program.

Discussion created by Windhill2015_6735 on Dec 20, 2016
In z/OS job it is not possible to pass variables to SYSIN DD of IDCAMS *. If I execute a job from the Process Tab in OS/390 object the variables are passed successfully as it is in-stream. If I run the same job from OS/390 File Name(Job Name) in the Pre-process Tab I have defined variables then issue '// SET variable name=&variable#' the variables for SYSIN DD * do not get passed. 
There is an option 'SYMBOLS' keyword when added to the DD statement will pass the variables. Other than this method is there some other option I could use? Attached example SYMBOLS JCL. Thanks