File request thread elements (FRTEs)

File control uses FRTEs to represent active file control requests and to link related requests together as a file thread. File control also uses FRTEs to anchor SET storage used for READ SET UPDATE requests and browse requests with the set option, the lifetime of which is that of the request thread.

Examples of related requests linked together as a file thread are the request sequences STARTBR, READNEXT, ..., ENDBR, and READ UPDATE, REWRITE.

FRTEs are created by the main file control module, DFHFCFR. They are freed either by DFHFCFR at the end of a request or thread of requests, or by the file control recovery control program, DFHFCRC, at syncpoint if this occurs before a thread of requests has completed.

FRTEs for a specific file in a specific task and environment are chained together, and anchored from the FLAB for that file, task and environment.

Storage for FRTEs is acquired from 31-bit storage.

The layout of FRTEs is defined by the DFHFRTE structure and by the DFHFRTE DSECT.



dfhs35f.html | Timestamp icon Last updated: Monday, 5 June 2017