/* REXX */ /* GET THE STEP NAME AND RETURN CODE */ NUMERIC DIGITS(32) /* ENSURE MAX PRECISION */ TCB=STORAGE(D2X(540),4) /* PSATOLD IN PSA */ JSCB =STORAGE(D2X(C2D(TCB)+180),4) /* TCBJSCB IN TCB */ JCT = STORAGE(D2X(C2D(JSCB)+261),3) /* JSCBJCTA IN JSCB */ THIS_STEP_NO = X2D(C2X(STORAGE(D2X(C2D(JSCB)+228),1))) /* THIS STEP NO. */ FSCT = STORAGE(D2X(C2D(JCT)+48),3) /* JCTSDKAD IN JCT */ /* IS FIRST SCT */ TEMP_SCT = FSCT DO I = 1 TO (THIS_STEP_NO - 1) STEP = STORAGE(D2X(C2D(TEMP_SCT)+68),8) RCSTEP = X2D(C2X(STORAGE(D2X(C2D(TEMP_SCT)+24),2))) /* SCTSEXEC IN SCT */ BYPASS = STORAGE(D2X(C2D(TEMP_SCT)+188),1) IF X2D(C2X(BYPASS)) = 80 THEN /* CHECK IF STEP WAS NOT EXECUTED */ DO RCSTEP = 'FLUSHED ' END SAY 'STEP ==>' STEP ' RC ==>' RCSTEP TEMP_SCT = STORAGE(D2X(C2D(TEMP_SCT)+36),3) END EXIT
2013年6月4日 星期二
Get step name and return code
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言