How to use JMF to list current month's data for reports like GJTREZJS and GJTREZAU without manualing changing the dates each month?
search cancel

How to use JMF to list current month's data for reports like GJTREZJS and GJTREZAU without manualing changing the dates each month?

book

Article ID: 206049

calendar_today

Updated On:

Products

Jobtrac Automic Automation Intelligence

Issue/Introduction

JMF (JCL Management Facility) can be used to control the variable JCL information by eliminating the
daily, weekly, or monthly updating of JCL streams.

 

Environment

Release : 11.0

Component : JOBTRAC

Resolution

 The following JMF setup will allow  the JCL to be set up so that manual changes are not required every month.   You will then reference the values shown below the JMF sample for reports like GJTREZJS and GJTREZAU without manualing changing the dates each month.

       
OSDDATE:                                                                   
TODDATE:                                                                   
Y=&:GYYYY                                                                     
M=&:GMM                                                                       
D=&:GDD

Values to use in JCL of the GJTREZJS and GJTREZAU report jobs :

DEFINE EVT1-F-STRFDAT  EVT1-FILTERS  +49  10 A VALUE '&:Y./&:M./01' 
DEFINE EVT1-F-STRFTIM  EVT1-FILTERS  +59   8 A VALUE '        '     
DEFINE EVT1-F-STRTDAT  EVT1-FILTERS  +67  10 A VALUE '&:Y./&:M./&:D'
DEFINE EVT1-F-STRTTIM  EVT1-FILTERS  +77   8 A VALUE '  


As always, please contact Broadcom support for Jobtrac Job Management if you have further questions.