From 3c95ec88d898d13bdc1ae4e573f2c826e509e767 Mon Sep 17 00:00:00 2001 From: "Infineon\\StieberD" Date: Wed, 30 Apr 2025 12:23:54 -0700 Subject: [PATCH] updated code that parses SQL response to handle new format removed unnecessary code --- LSL2/STPROC/QA_SERVICES.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/LSL2/STPROC/QA_SERVICES.txt b/LSL2/STPROC/QA_SERVICES.txt index af0b159..8e7c570 100644 --- a/LSL2/STPROC/QA_SERVICES.txt +++ b/LSL2/STPROC/QA_SERVICES.txt @@ -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 - - -