Begin Document (BDT) structured field
When ACIF processes an AFP data stream print file, it checks for a Fully Qualified Name (FQN) type X'01' triplet in the BDT structured field. If the FQN triplet exists, ACIF uses it; otherwise, ACIF creates one by using the file name that is identified in the DDname statement for OUTPUTDD. ACIF uses the FQN value when it creates an FQN type X'83' triplet on the Begin Document Index (BDI) structured field in the index object file and on the Begin Resource Group (BRG) structured field in the resource file. Although the input file can contain multiple BDT structured fields, unless INDEXOBJ=BDTLY is specified, the ACIF output contains only one BDT structured field. (The same is true of End Document (EDT) structured fields.)
For line data, ACIF creates the BDT structured field. ACIF assigns a null token name (X'FFFF') and creates an FQN type X'01' triplet by using the file name that is identified in the DDname statement for OUTPUTDD.
ACIF also creates a Coded Graphic Character Set Global Identifier triplet X'01' by using the code page identifier that is specified in the CPGID parameter. ACIF assigns a null value (X'FFFF') to the Graphic Character Set Global Identifier. For more information about the CPGID parameter, see CPGID.
ACIF creates two more FQN triplets for the resource name (type X'0A') and the index object name (type X'98'). These two values are the same as those values contained in their respective type X'01' triplets on the BDI and BRG structured fields.
ACIF also creates a comment triplet (X'65') that shows the current APAR level of the code that is used to build the AFP document.