Generated BTG cards from running DDBTGLM have (T001) in all cards while PROD was expected as I coded
-BTG START,TABLE,tablename(PROD),STANDARD
By default T001 is used for the status in the generated BTG cards.
Code -BTG VERSION,PROD before the -BTG START,TABLE,tablename(PROD) card.
From the CA Datacom Datadictionary Batch Reference Guide:
-BTG VERSION - Specifying a Status/Version
The -BTG VERSION transaction designates the particular status/version that you want CA Datacom Datadictionary to use for the transactions generated by -BTG or -BTG START transaction.
Code the -BTG VERSION transaction before the -BTG or -BTG START transaction.
If you do not provide this transaction, the default for version is:
T001 for CA Datacom/DB and
001 for CA FILE Model entity-types
Use the following format to specify a status/version:
-BTG VERSION
►►─ -BTG ─ VERSION,stat ──────────────────────────────────────────────────────►◄
(Required) If you code this transaction, this entry is required. This is the status/version for the generated transactions specified by the -BTG or -BTG START transaction.
Valid Entries:
0000
T001 to T999
1 to 999
PROD