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
rohanthengal

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 -
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                                                                       
===========================================================================
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1590
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 check if two PD values are equal, no ... DFSORT/ICETOOL 4
No new posts Cobol code- to find a string in a str... COBOL Programming 3
This topic is locked: you cannot edit posts or make replies. Check if it is certain hour, then pro... JCL & VSAM 25
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
No new posts Numeric check on packed signed and un... COBOL Programming 4
Search our Forums:

Back to Top