Can the Endevor CSV format be used to show copybooks and/or components associated to elements
Release : 18.1
Component : CA Endevor Software Change Manager
The CSV Utility can be used to list component information. The below JCL is an example that you can modify to your needs.
//* YOUR JOBCARD GOES HERE **//
//*************************************
//* DELETE CSV LIBRARY
//*************************************
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE 'IPRFX.IQUAL.COBOL.CSV'
//*********************************************
//* SPECIFY ELEMENT NAME WITH SEARCH *
//*********************************************
//STEP1 EXEC PGM=NDVRC1,REGION=4M,
// PARM='CONCALL,DDN:CONLIB,BC1PCSV0'
//STEPLIB DD DISP=SHR,DSN=YOUR.ENDEVOR.CSIQAUTU
// DD DISP=SHR,DSN=YOUR.ENDEVOR.CSIQAUTH
//CONLIB DD DISP=SHR,DSN=YOUR.ENDEVOR.CSIQLOAD
//C1MSGS1 DD SYSOUT=*
//CSVLST1 DD DSN=IPRFX.IQUAL.COBOL.CSV,
// DISP=(NEW,CATLG,DELETE),
// DCB=(DSORG=PS,RECFM=VB,LRECL=4092,BLKSIZE=4096),
// SPACE=(CYL,(800,500),RLSE)
//BSTERR DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//BSTIPT01 DD *
LIST COMPONENTS USED BY ELEMENT *
FROM ENV eviron
SYS system
SUB subsys
TYP COBOL
STA 1
TO FILE CSVLST .
Once the information is generated, a file is created that looks something like this:
"RCD TYPE","CMPNT LL","CIRCULAR","INDIRECT","RELATED","ELM NAME","TYPE NAME","EN
"1","01"," "," "," ","APITEST","COBOL","environ","system","subsys","1","1","STG1"
"2","02"," "," "," "," "," "," "," "," "," "," "," ","APITEST","iprfx.iqual.STG1
"1","02"," "," "," ","ECCCNST","COBCOPY","environ","system","GA","2"," "," "," ","
"1","02"," "," "," ","ECHAACTL","COBCOPY","environ","system","GA","2"," "," "," ","
"1","02"," "," "," ","ECHAEPRM","COBCOPY","environ","system","GA","2"," "," "," ","
The report information (Sequential file) must now be downloaded and saved to your desktop. Make sure that the file named for this case COMP_LIST.csv. This step can be done using a variety of different download utilities. Regardless of what utility used, be sure to specify the following values:
After the information is downloaded to your desktop, double click on the file "ELEMENT_LIST.csv" and it will open as an EXECL Spreadsheet. If for some reason this does not work, import the file into the tool that you will be using to generate your report. For example, to import the data into an Excel spreadsheet, follow these steps:
The information that was retrieved will now look like this in the Excel spreadsheet:
The first four columns provide the type of record, component level, and what type of component it is.
RCD TYPE - The type of entity for this response is:
1-Footprinted element
2-Non-footprinted member
3-Related element
4-Related member
5-Related object
6-Related comment
CMPNT LL - Current component level number. Maximum field length is two characters.
CIRCULAR - Indicates whether the component is circular. Maximum field length is one character.
INDIRECTI - Indicates whether the component is indirect. Maximum field length is one character.
RELATED - Indicates whether the component is related. Maximum field length is one character.