If I execute a package report (report 70, 71 or 72) and I am looking for a specific Environment. I find that all Environments are reported. I'm querying on APPROVED packages within the PRD ENV. My specifications are:
//BSTINP DD *
REPORT 70 .
ENVIRONMENT PRD .
STATUS APPROVED .
The same happens is I attempt to select based on ENVIRONMENT, SYSTEM, SUBSYSTEM, TYPE, STAGE, or ELEMENT
This information is not available to package reporting directly. Package reporting looks at the package file for selection and reporting and this file does not have this information indexed in it.
Release : 18.1
Component : CA Endevor Software Change Manager
To include based on ENVIRONMENT and/or Stage the CSV report LIST PACKAGE ID can report on this.
This is an example to report packages when the status is approved, it's a promotion package and the target Environment is ENV1.
LIST PACKAGE ID *
WHERE STATUS = APPROVED
WHERE PROM P
WHERE PROM TAR ENV ENV1
To report on SYSTEM, SUBSYSTEM, TYPE, Elements you must either write a API or CSV report "list package action summary" and write something to extract the information required.