Closed dennis-behm closed 12 months ago
I like the idea of exposing these flags as verbose output, whether with println or a table. Since these flags can be set either by the scanner or via a property override, I think it would be desirable to indicate how they were set. If I understand the table correctly, an x
indicates the scanner set that flag to true. And if I understand our conversation regarding how it was set, you suggested an *
next the the x
to indicate the flag was set true by a property override. I'm Okay with that. I wonder if we could reduce the number of rows to a single line.
File attributes: CICS=Yes, SQL=Yes*, DLI=No, MQ=No
Where: SQL=Yes*
- Indicates override by the property file.
Thanks @donnellt , yes - I agree with your suggestion. A single line seems easier and produces less messages than the table.
Here is a preview of verbose output:
*** Building file MortgageApplication/cobol/epscsmrt.cbl
*** Resolution rules for MortgageApplication/cobol/epscsmrt.cbl:
search:/u/dbehm/userBuild/?path=MortgageApplication/copybook/*.cpy
/u/dbehm/userBuild>
*** Physical dependencies for MortgageApplication/cobol/epscsmrt.cbl:
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSMTCOM","library":"SYSLIB","file":"MortgageApplication\/copybook\/epsmtcom.cpy","category":"COPY","resolved":true}
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSMTINP","library":"SYSLIB","file":"MortgageApplication\/copybook\/epsmtinp.cpy","category":"COPY","resolved":true}
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSMTOUT","library":"SYSLIB","file":"MortgageApplication\/copybook\/epsmtout.cpy","category":"COPY","resolved":true}
{"excluded":false,"sourceDir":"\/u\/dbehm\/userBuild\/","lname":"EPSPDATA","library":"SYSLIB","file":"MortgageApplication\/copybook\/epspdata.cpy","category":"COPY","resolved":true}
File attributes: CICS=true*, SQL=false, DLI=false, MQ=false
Cobol compiler parms for MortgageApplication/cobol/epscsmrt.cbl = LIB,CICS,ADATA,EX(ADX(ELAXMGUX))
Link-Edit parms for MortgageApplication/cobol/epscsmrt.cbl = MAP,RENT,COMPAT(PM5)
@dennis-behm I like it. Another tool in the tool box to assist the app developers and support.
Delivered via zAppBuild Release 3.2.0 (#354)
When processing the build list in the language scripts, the details of the logical file should be printed including all defined attribute overrides (cics, sql, dli, mq flag) in a human readable format.
Something like :
Looking for additional suggestions