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 Using Multiple IFTHEN and WHEN condit... SYNCSORT 12
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
No new posts Check if CICS is online in JCL CICS 10
No new posts Dynamically build sort control statem... SYNCSORT 18
No new posts Help with C character vs C string All Other Mainframe Topics 3
Search our Forums:

Back to Top