Gathering raw data

Data of released PMC solutions will be included in the generated SBOMs.

File location

The data of released PMC solutions must be gathered on the systems where the PMC solutions are created and must be stored in <SBOM root folder>/raw_data/<productversion>/versionexport.dat.

bsql query

This bsql command can be used to gather the data:

bsql6.2 -e utf-8 -q “select ttpmc100.csol, ttpmc100.desc, ttpmc160.date, ttpmc160.time from ttpmc100, ttpmc160 where ttpmc100.vers='<base_version>' and ttpmc100.rele = '<base_release>' and ttpmc100.cust = '<base_cust>' and ttpmc100.type = ttpmc.type.individual and ttpmc100.dsta = ttpmc.dsta.released and ttpmc160.vers = ttpmc100.vers and ttpmc160.rele = ttpmc100.rele and ttpmc160.cust = ttpmc100.cust and ttpmc160.csol = ttpmc100.csol and ttpmc160.dsta = ttpmc.dsta.released”
Note: bsq16.2 is for Unix/Linux. For Windows, it is bsql.

The output is:

The difference in length of the desc field is handled automatically by the SBOM generator.