IBM Security Z Security

 View Only
  • 1.  How to get run date in report

    InnerCircle
    Posted Thu June 24, 2021 12:54 PM

    Hi,

     

    Running a CKRCARLA "newlist type=acf2_lid" report I want to get the date in the summary line.

     

    On my RACF version of the job I code

    summary complex(tt) stamp(tt)

     and this gives me the date

    How do I do this for an ACF report.

     

    Nick



    ------------------------------
    Nick Gale
    ------------------------------



  • 2.  RE: How to get run date in report

    Posted Fri June 25, 2021 04:25 AM
    Edited by Jeroen Tiggelman Fri June 25, 2021 04:26 AM
    Hi Nick,

    The field STAMP in TYPE=RACF is the date and time associated with the RACF database source.

    That only matches the run date and time if you are using a live ('ACTIVE') database source.

    The general way of showing the run date and time is the field DATETIME in TYPE=RUN.

    You can use an implicit lookup from either TYPE=RACF or TYEP=ACF2_LID by coding :run.datetime(15 tt) on your summary statement.
    (I am suggesting the use of the overriding length 15 because the default formatting of STAMP and DATETIME are different.)

    [As an aside, the date and time associated with the ACF2 LID database are found in field TIMESTAMP in ACF2_LID.]

    I hope this helps.

    Regards,

    ------------------------------
    Jeroen Tiggelman
    Software Development and Level 3 Support Manager IBM Security zSecure Suite
    IBM
    Delft
    ------------------------------



  • 3.  RE: How to get run date in report

    InnerCircle
    Posted Fri June 25, 2021 10:32 AM
    Hi Jeroen,

    Thank you! That is exactly what I was looking for.

    Regards,

    Nick

    ------------------------------
    Nick Gale
    ------------------------------