rohanthengal
Active User
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
I have started using Control M for my scheduling and currently exploring product.
Do we have any way where we can check if certain string is available in SYSOUT and mark job end as NOTOK. I tried ON SYSOUT feature but it is not marking its end as NOTOK if required string is not found in SYSOUT.
Here is my job scheduling definition -
Code: |
OUT
AUTO-ARCHIVE Y SYSDB Y MAXDAYS MAXRUNS
SYSOUT OP (C,D,F,N,R) FROM
MAXRERUN RERUNMEM
CAPTURE BY (W - WORD / C - CHAR)
CYCLIC TYPE: C INTERVAL FROM
INTERVAL SEQUENCE: + + + + +
SPECIFIC TIMES: TOLERANCE
+ + + + +
STEP RANGE FR (PGM.PROC) . TO .
ON PGMST PROCST CODES A/O
DO
ON SYSOUT XYZ FROM 001 TO 132 A/O A
ON SYSOUT ABC FROM 001 TO 132 A/O
DO COND RT4APCP-ENDED-OK ODAT +
DO OK
DO
ON SYSOUT FROM 001 TO 132 A/O
DO
SHOUT WHEN TIME + DAYS TO URGN
MS
=========================================================================== |
|
|