updated code that parses SQL response to handle new format

removed unnecessary code
This commit is contained in:
Infineon\StieberD 2025-04-30 12:23:54 -07:00
parent 4037b2fa45
commit 3c95ec88d8

View File

@ -1060,14 +1060,12 @@ Service GetSODPerWafer(RDSKey, TencorRecipe, ScanDTM)
Until ValidData EQ False$
WaferNo = Wafer<1>
If WaferNo NE '' then
ValidData = WaferNo Matches '*2N'
Convert '*' to '' in WaferNo
ValidData = ( (WaferNo Matches '1N') or (WaferNo Matches '2N') )
If ValidData then
WaferNo = Trim(WaferNo[-1, 'B*'])
If WaferNo[1, 1] EQ 0 then WaferNo [1, 1] = ''
If WaferNo EQ 1 then Done = True$
SumOfDefects = Wafer<2>
// Validate SumOfDefects value is formatted correctly (any number of integers)
ValidData = SumOfDefects Matches '0N'
Sort = Wafer<3>
Locate WaferNo in Response<1> using @VM setting WaferPos else
// No SOD value for this wafer yet recorded, so add it to the response array.
@ -3890,6 +3888,3 @@ ClearCursors:
return