601,100
562,"NULL"
586,"}sm_controls"
585,"}sm_controls"
564,
565,"hdlITYA=aXVZ0>^Uf9^=h95`T[?@`mW@^D@dP1qeGChysxRHEG^t7rOzUyu44xJl@N209kEc1Lwprgy]sfWi2XKu^Ei>BVa\rTR;[AlP@TDNto7c=\gHQNj1xKdMbbhfxP6f\lY=>;q[i@pyQ32[UQ^I;1cP@6vjuNVyhqFvXOhlwCWf\:;au\xNR\bkOj0^47p]Uz]>"
559,0
593,
594,
595,
597,
598,
596,
800,
801,
566,0
567,","
588,"."
589,
568,""""
570,
571,subman_single
569,0
592,0
599,1000
560,5
pVersion
pPlan
pTopStatus
pChildStatus
pGrandChildStatus
561,5
2
2
2
2
2
590,5
pVersion,""
pPlan,""
pTopStatus,""
pChildStatus,""
pGrandChildStatus,""
637,5
pVersion,Template
pPlan,Type
pTopStatus,Top Task Status
pChildStatus,Child Task Status
pGrandChildStatus,Grand Child Status
577,0
578,0
579,0
580,0
581,0
582,1
IgnoredInputVarName=V1	VarType=32	ColType=1165	
572,48

#****GENERATED STATEMENTS START****
#****GENERATED STATEMENTS FINISH****

vObjectPrefix = attrs('}sm_controls', 'subman_object_prefix', 'value');
vObjectSeparator = attrs('}sm_controls', 'subman_object_separator', 'value');


vTaskDimension = vObjectPrefix | 'sm_versiontasks' | vObjectSeparator | pPlan  | vObjectSeparator | pVersion;

#
# loop through all task nodes in the dimension to identify the top node and set it's status
#
vTopIX = 0;
vDimSize = DIMSIZ(vTaskDimension);
vTaskIX = 1;
while (vTaskIX  <= vDimSize);
vTask = DIMNM(vTaskDimension, vTaskIX);
if (ELPARN(vTaskDimension, vTask) = 0);
vTopIX = vTaskIX;
vTopLevel = ELLEV(vTaskDimension, vTask);
vStatus = pTopStatus;
ATTRPUTS(vStatus, vTaskDimension, vTask, 'Status');
endif;

vTaskIX  = vTaskIX + 1;
end;


#
# loop through all task nodes in the dimension setting the children and grand children
#
vTaskIX = 1;
while (vTaskIX  <= vDimSize);
vTask = DIMNM(vTaskDimension, vTaskIX);
if (vTaskIX <> vTopIX);
if (ELLEV(vTaskDimension, vTask) = vTopLevel - 1);
vStatus = pChildStatus;
else;
vStatus = pGrandChildStatus;
endif;
ATTRPUTS(vStatus, vTaskDimension, vTask, 'Status');
endif;


vTaskIX  = vTaskIX + 1;
end;

573,6

#****GENERATED STATEMENTS START****
#****GENERATED STATEMENTS FINISH****



574,3

#****GENERATED STATEMENTS START****
#****GENERATED STATEMENTS FINISH****
575,5

#****GENERATED STATEMENTS START****
#****GENERATED STATEMENTS FINISH****


576,CubeAction=1511	DataAction=1503	CubeLogChanges=0	
638,1
804,0
900,
901,
902,
903,
906,
907,
908,
904,0
905,0
909,0
910,0
911,
912,
913,
914,
915,
916,
