Job A job_dagman_subdag-A-upper-node.cmd
Vars A nodename = "$(JOB)"
SUBDAG EXTERNAL B job_dagman_subdag-A-lower1.dag
Subdag external C job_dagman_subdag-A-lower2.dag
Job D job_dagman_subdag-A-upper-node.cmd
Vars D nodename = "$(JOB)"

PARENT A CHILD B C
PARENT B C CHILD D
