[Migrated content. Thread originally posted on 08 November 2011]
I have a problem with variable records. I never used them before.I write for our Intranet a blog (the complete intranet is written in acu-cobol).
File description:
fd db-bstory external
record is varying in size from 16 to 50016 characters
depending on dbbs-size
data record dbbs-satz.
01 dbbs-satz.
03 dbbs-key.
05 dbbs-id pic x(16).
03 dbbs-text pic x(50000).
When i write the record, i calculate the record size and fill the dbbs-size.
Have i also to fill the dbbs-size when i read the record?
The Problem at the moment is:
when i show the blog entries some of the text of the next record is in the previous record shown.
