Add global variable to jil autosys

I am new to autosys. I want to add a global variable to a jil file named PJ.jil.
I also want to add a watch_file command to filename PJ.jil and AY.jil. The watch_file command checks every five minutes if the jobs have completed. For example. AY.jil needs to wait until all the jobs in PJ.jil have completed. PJ.jil needs to wait until all jobs in AY.jil have completed. When I run PJ.jil and AY.jil I get this error :

AY.jil:
watch_file: /path/to/file/PY.jil
watch_interval: time_in_mins

PJ.jil:
watch_file: /path/to/file/AY.jil
watch_interval: time_in_mins
global variable: (DIFF_VALUE=2)

The code below is a portion of a shell script program that sets a global variable value that is used in the jil box.

	if [ "${DIFF_VALUE}" -ge "2" -a "${FLAG}" = "Y" ]
	then
		LOG_FILE "Set the DIFF_VALUE as 2"
		sendevent -E SET_GLOBAL -G "DIFF_VALUE=2"

	elif [ "${DIFF_VALUE}" -lt "1" -a "${FLAG}" = "N" ]
	then		
		LOG_FILE "Set the DIFF_VALUE as empty"
		sendevent -E SET_GLOBAL -G "DIFF_VALUE="

When I run the JIL FILES, I am getting this error :

PJ.jl:

Insert PJ_job: cmd_job
job_type: CMD
command: /path/to/script/script.sh
watch_file: /path/to/file/AY.jil
watch_interval: time_in_mins
watch_file_type: jil
condition: s(DIFF_VALUE=2)& v(DIFF_VALUE=2) 

machine: machine_name
owner: user_name

AY.JIL:

Insert AY_job: cmd_job
job_type: CMD
command: /path/to/script/script.sh
watch_file: /path/to/file/PY.jil
watch_interval: time_in_mins
watch_file_type: jil
machine: machine_name
owner: user_name