If it is possible to return the data to the client without serialization, by binding directly to an XML output host variable, this is the safest way to avoid any kind ofsubstitution character.
The LRS, using the variablesubstitution feature, creates fully qualified xJCL jobs (called work partitions) and substitutes each job to the grid of LREEs.
The environment variable DEPT and the value 10000 have been passed as arguments to script demo.sql, which consumes these arguments in the form ofsubstitution variables.