The initial value of a variable can be specified in the declaration; if it is not, the default value for that variable type is applied to the variable. The initial value of a variable is stored before the execution of the first statement in the job or subroutine.
Boolean, integer, real, and string variables retain their values across a halt/load. However, the contents of file and task variables are not saved. Refer to Job Restart After a Halt/Load for details.
The INITIALIZE statement assigns a value of NEVERUSED to the STATUS task attribute of the specified task variable, and restores the default values to all other task attributes and file equations associated with that task variable.