Hi Helpers,
In cobol DB2-Query where clause, i saw many developers were using working storage variable for any comparisons and host variable to pass direct values
Activefrom > :WS-Activefrom(it is Working storage variable)
But while passing direct value
Activefrom >: Activefrom(it is host variable)

Is any significance is there by following like above? Why we can’t use host variable for comparison too?