IBM Security Z Security

 View Only
Expand all | Collapse all

Designate the File name of the attched file in a Email Report

  • 1.  Designate the File name of the attched file in a Email Report

    Posted Thu September 16, 2021 10:02 AM
    I have a job set up to email a report I created via SORTLIST and where I manually insert comma's for a comma delimited file.   Is there a way for me to designate the attached file name or the attached file extension.   Right now the email attachments are using CSDATU1.TXT, I would at least like to do CSDATAU1.CSV.

    I assume this might be done via FILEOPTIONS, but so far I have not located the right option.​

    ------------------------------
    Linnea Sullivan
    ------------------------------


  • 2.  RE: Designate the File name of the attched file in a Email Report

    IBM Champion
    Posted Thu September 16, 2021 11:24 AM
    Edited by Rob van Hoboken Thu September 16, 2021 11:25 AM
    Hi Linnea
    I had that same idea several times over the years, but it was not implemented as a CARLa function.  You can, of course, enter an RFE to add this to the wish list. 
    Be sure to point out that a NEWLIST HEADER=CSVT parameter should automatically set the filetype to CSV, etc.  Do you also want/need to control the value before the dot (filename part)?

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


  • 3.  RE: Designate the File name of the attched file in a Email Report

    Posted Thu September 16, 2021 03:48 PM
    You cannot configure the extension. The part before the extension is the NEWLIST NAME= value, or if that is not there 'zSecure_report'.

    ------------------------------
    Sander De Graaf
    ------------------------------