Release: All
Component: JCLCheck Workload Automation
JCLCheck builds an internal dataset name like &0005 when the JCL DSN keyword was coded with no value.
Here is a sample REXX code to return a severe error when the DSN was coded with no value in the JCL:
If DATATYPE(SUBSTR(DD.DSN,2,4)) = 'NUM' & ,
SUBSTR(DD.DSN,1,1) = '&' then
Call $CAJCL_ERROR 'S',
'CAZ1REXX - DSN value cannot be null.'