What does the SRHNFBLK-139 field of the SROOT-DCS-139 record type represent?

Document ID : KB000012264
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

What does the SRHNFBLK-139 field of the SROOT-DCS-139 record type represent?

 

Answer:

The SRHNFBLK-139 field represents the number of SEXT-DCS-140 occurrences owned by the SROOT-DCS-139 occurrence. The SROOT-DCS-139 occurrences of the SROOT-DCS-139 record type represent queue records in the DDLDCRUN area; SROOT-DCS-139 is the queue record root. When storing a queue record, the system calculates the number of 500-byte blocks of data that the record comprises. The beginning of the queue record (that is, the first 500 or fewer bytes of data, as determined by the remainder in the calculation) is stored in the queue record root. If the queue record comprises more than 500 bytes of data, the remaining data is stored in SEXT-DCS-140 occurrences in blocks of 500 bytes.

For example:

If the QUEUE written is more than 500 bytes one or more SEXT-DCS-140 members are stored and connected to the SROOT. So if the first put queue is 200 bytes then the number in the SRHNFBLK-139 field should be 0 to represent there are no SEXT-DCS-140 member records. If the put queue is 900 bytes the value in SRHNFBLK-139 should be 1 to indicate there is 1 SEXT-DCS-140 record. 

 

Additional Information:

CA IDMS Dictionary Structure Reference: 

https://docops.ca.com/ca-idms-ref/19/en/dictionary-structure-reference/record-and-element-descriptions/sroot-dcs-139