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: 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 Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts SCOPE PENDING option -check data DB2 2
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
Search our Forums:

Back to Top