IBM Security Z Security

 View Only
Expand all | Collapse all

Produce CARLa Report/Title even if there is no data

  • 1.  Produce CARLa Report/Title even if there is no data

    InnerCircle
    Posted Tue August 10, 2021 11:51 AM
    For audit purposes, need to produce a report every day.  Having a problem producing CARLa report if there is no data.  I think I posted on this before, but can't find the response.  I think the solution was to put a value in the title that would produce a report, even if empty.

    Report uses SMF input to report on use of Operations attribute:

    alloc type=SMF DD=C3SMF28
    alloc type=SMF DD=C3SMF29
    alloc type=CKRCMD DD=CKRCMD03
    I F=CKRLCARL m=OPER

    ------------------------------
    Linda Czestler
    ------------------------------


  • 2.  RE: Produce CARLa Report/Title even if there is no data

    Posted Wed August 11, 2021 02:54 AM
    Edited by Rob van Hoboken Wed August 11, 2021 02:54 AM
    That's the NEWLIST EMPTY="No data found today" option.
    I suppose you could also use this in an OPTION EMPTY="No data for this report" form.

    Note: if there are no SMF records selected, the date/time interval at the top of the page will be empty too.  You would have to generate a "dummy" report that selects all SMF records, but actually displays none, to fill in the date/time information.  Add this at the top of your CARLa:

    newlist type=smf
    summary system count(<1)

    ------------------------------
    Rob van Hoboken
    ------------------------------