OmeLuuk
19th April 2023, 12:47
ret = rdi.table("tcmcs003", dummy, dummy, dummy, size)
|Size is the length of a row in the table without the internal data
db.store.record(ttcmcs003, size)Is this size argument excluding the CDF record length or inclusive? Since it is a RDI function I assume it reads the Runtime Data Dictionary?
When I print out table information with ttadv4420m000 on one of our own (developed) tables which has also some cdf fields:
Record Length: 1294
In ttaad4100 (GTM) I read
Row length : 1532
When I want to store / restore a record with the function void db.store.record (long table_id [, long size])
function void db.restore.record (long table_id), when omitting the long size argument, are CDF fields included or excluded?
Maybe specific question to @JaapJD?
|Size is the length of a row in the table without the internal data
db.store.record(ttcmcs003, size)Is this size argument excluding the CDF record length or inclusive? Since it is a RDI function I assume it reads the Runtime Data Dictionary?
When I print out table information with ttadv4420m000 on one of our own (developed) tables which has also some cdf fields:
Record Length: 1294
In ttaad4100 (GTM) I read
Row length : 1532
When I want to store / restore a record with the function void db.store.record (long table_id [, long size])
function void db.restore.record (long table_id), when omitting the long size argument, are CDF fields included or excluded?
Maybe specific question to @JaapJD?