Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Categories z/TPF
Created by Guest
Created on Jun 20, 2017

ECBRM/ECB Owner Collection - add retention to FS files

When running ZECBM Collect or ZMOWN Collect, the file system is used to hold the .csv results file and in the case of ZMOWN, the config file. This file is pulled off TPF but the online file is left and must be manually cleaned up. For ZECBM Collect, we have specified /etc/tpf-ecbrm as the directory that should be used - much like IBM uses /etc/tpf-owner for ZMOWN. We would like a clean-up/retention to be added to these packages that would automate the FS clean up process on these directories.

Idea priority Medium
  • Guest
    Reply
    |
    Jul 7, 2017

    The ZECBM COLLECT and ZMOWN COLLECT commands are designed to provide flexibility so that users can put the output files in any directory that they choose. It does not make sense to add support to these commands to automatically clean up old files because the old files could be anywhere. Even if there are other customers who also want to restrict where output files are put, the directory name may be different. Therefore, ZECBM COLLECT and ZMOWN will not be updated to automatically remove old output files.

    However, the lab recognizes the concern that old files need to be cleaned up. Because you are requiring your users to put the output files in a standard directory, there is a ZFILE command that could be added to the ZSTIM tables to clean up files older than a specified number of days. For example, the following command will remove any files in directory /etc/tpf-ecbrm that have existed for 2 or more days:
    ==> ZFILE find /etc/tpf-ecbrm/* -mtime +2 -exec rm {} \;

    Please note that this command will also remove any files older than 2 days in a sub directory under /etc/tpf-ecbrm.

    You could add the ZFILE command to the ZSTIM table to remove all files that are 2 days and/or 3 days old and/or 4 days old by doing the following commands:
    ==> ZSTIM A FREQ=DAILY,TIME=0015,MSG='ZFILE find /etc/tpf-ecbrm/* -mtime 2 -exec rm {} \;'
    ==> ZSTIM A FREQ=DAILY,TIME=0015,MSG='ZFILE find /etc/tpf-ecbrm/* -mtime 3 -exec rm {} \;'
    ==> ZSTIM A FREQ=DAILY,TIME=0015,MSG='ZFILE find /etc/tpf-ecbrm/* -mtime 4 -exec rm {} \;'

    If you do this ZFILE command on the /etc/tpf-owner directory, it may remove the configuration file that is used by the ZMOWN support (/etc/tpf-owner/cfg.owner.csv). You would need to either recreate the configuration file or refresh the configuration file before doing the ZFILE to remove old files.