28 %IF &g_inTestcase NE 1 %THEN %DO;
29 %PUT &g_error.(SASUNIT): endTestcall muss nach InitTestcase aufgerufen werden;
34 %LOCAL l_casid l_filled l_lstfile;
37 %LET g_logfile =&g_log/%substr(00&g_scnid,%length(&g_scnid)).log;
38 %LET g_printfile=&&g_testout/%substr(00&g_scnid,%length(&g_scnid)).lst;
48 SELECT max(cas_id) INTO :l_casid FROM target.cas WHERE cas_scnid=&g_scnid;
49 %LET l_casid = &l_casid;
53 cas_end = %sysfunc(datetime())
55 cas_scnid = &g_scnid AND
61 SELECT max(cas_id) INTO :l_casid FROM target.cas WHERE cas_scnid=&g_scnid;
63 %LET l_casid = &l_casid;
65 %LET l_lstfile=&g_testout/%substr(00&g_scnid,%length(&g_scnid))_%substr(00&l_casid,%length(&l_casid)).lst;
69 CALL symput ('l_filled','1');
72 %IF NOT &l_filled %THEN %DO;
73 %LET l_filled=%_delfile(&l_lstfile);