Use this command to initialize fixed file data records.
The first record (starting ordinal number for initialization) can be
preformatted and used to propagate a data organization throughout the
remaining records that are being initialized.
Requirements and Restrictions
None.
Format
- equate
- is a 1- to 8-character SYSEQ label (for FACS).
- Note:
- The number sign (#) that precedes the SYSEQ label is optional unless
you need to distinguish between 2 labels; for example, #RECA and
RECA.
- recid
- is a 2-character alphanumeric record ID or a 4-digit hexadecimal record
ID.
- code
- is the 2-digit hexadecimal value for the record code check byte for the
records.
- start
- is the 1- to 8-digit decimal starting ordinal number for the
initialization.
- end
- is the 1- to 8-digit decimal ending ordinal number for the
initialization.
- NNN
- specifies the no chaining option for initialization.
- AFN
- specifies the address value forward chaining option for
initialization.
- AFB
- specifies the address value forward and backward chaining option for
initialization.
- ANB
- specifies the address value backward chaining option for
initialization.
- OFN
- specifies the ordinal number forward chaining option for
initialization.
- OFB
- specifies the ordinal number forward and backward chaining option for
initialization.
- ONB
- specifies the ordinal number backward chaining option for
initialization.
- N
- specifies that no copy record is provided. When you specify this
parameter, the record ID of the retrieved record is overlaid with the ID
specified in this command.
- C
- specifies that this is the first record data (starting ordinal number) to
be copied to all initialized records.
- Note:
- When you specify this parameter, the record ID must match the ID in the
retrieved record.
- istream
- is a decimal number, from 1 to 16, of the specified I-stream.
- cpuid
- is the 1-character alphanumeric CPU ID of a processor.
- ssuser
- is a 1- to 4-character alphanumeric subsystem user name.
Additional Information
- Online help information is available for this command. To display
the help information, enter one of the following:
ZIFIL HELP
ZIFIL ?
- This function issues a DLAYC macro after filing each record, which can
have an impact on performance.
Examples
PDREC fixed file records, that are not preceded by a number sign
(#), are initialized in the following example.
+--------------------------------------------------------------------------------+
|User: ZIFIL PDREC/00E1/00/0/18/NNN/N |
| |
|System: IFIL0004I 16.09.57 RECORD INITIALIZATION STARTED FOR PDREC |
| IFIL0005I 16.09.57 RECORD INITIALIZATION COMPLETED FOR PDREC |
+--------------------------------------------------------------------------------+
#PDREC fixed file records are initialized in the following example.
Notes:
- The number sign (#) character has been substituted with a period
(.) because some terminals do not support the number sign.
- In this example, if the PDREC record type does not exist, then entering a
ZIFIL command with a PDREC or #PDREC record type will initialize the #PDREC
fixed file records.
+--------------------------------------------------------------------------------+
|User: ZIFIL #PDREC/00E1/00/0/18/NNN/N |
| |
|System: IFIL0004I 16.09.57 RECORD INITIALIZATION STARTED FOR .PDREC |
| IFIL0005I 16.09.57 RECORD INITIALIZATION COMPLETED FOR .PDREC |
+--------------------------------------------------------------------------------+
Related Information
See TPF Main Supervisor Reference for more
information about initializing file records.