IBM Mainframe Forum Index
Log In
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register

Control M features to check string in SYSOUT and mark NOTOK

IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message

Active User

Joined: 19 Mar 2009
Posts: 206
Location: Globe, India

PostPosted: Fri Feb 19, 2021 4:22 pm
Reply with quote

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 -
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 
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                                                                   
ON SYSOUT                                          FROM 001 TO 132    A/O 
SHOUT WHEN          TIME       +     DAYS      TO                  URGN   
Back to top
View user's profile Send private message

Global Moderator

Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Mar 23, 2021 3:30 am
Reply with quote

Where have you marked as NOTOK?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools


Similar Topics
Topic Forum Replies
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts EMPTY file check scenario JCL & VSAM 6
Search our Forums:

Back to Top