Problem with DSGetStageInfo
Posted: Mon Nov 13, 2006 5:18 am
Hi DS Gurus,
1.
I want to write a server routine in which want to know the stage status,
which name is passed as parameter to routine.
The routine contains following code,
Ans = DSGetStageInfo(DSJ.ME, StageName, DSJ.STAGESTATUS).
But when I compile the above routine I get following error:
Compiling: Source = 'DSU_BP/DSU.TestStageStatus', Object = 'DSU_BP.O/DSU.TestStageStatus'
0002 Ans = DSGetStageInfo(DSJ.ME, StageName, DSJ.STAGESTATUS)
^
',' unexpected, Was expecting: '!', ')', '=', "AND", "OR", "LT", "LE",
"GT", "GE", "NE", "EQ", "MATCH"
Array 'DSGetStageInfo' never dimensioned.
WARNING: Variable 'DSJ.ME' never assigned a value.
2 Errors detected, No Object Code Produced.
2.
When I try to write above code in the job control the I get the stage status as 8.
Can anybody tell me where I can get the meaning of status code?
Thanks,
Sanket...
1.
I want to write a server routine in which want to know the stage status,
which name is passed as parameter to routine.
The routine contains following code,
Ans = DSGetStageInfo(DSJ.ME, StageName, DSJ.STAGESTATUS).
But when I compile the above routine I get following error:
Compiling: Source = 'DSU_BP/DSU.TestStageStatus', Object = 'DSU_BP.O/DSU.TestStageStatus'
0002 Ans = DSGetStageInfo(DSJ.ME, StageName, DSJ.STAGESTATUS)
^
',' unexpected, Was expecting: '!', ')', '=', "AND", "OR", "LT", "LE",
"GT", "GE", "NE", "EQ", "MATCH"
Array 'DSGetStageInfo' never dimensioned.
WARNING: Variable 'DSJ.ME' never assigned a value.
2 Errors detected, No Object Code Produced.
2.
When I try to write above code in the job control the I get the stage status as 8.
Can anybody tell me where I can get the meaning of status code?
Thanks,
Sanket...