bdfu1m1iUtilities

ZUDFM OAINIT-Initialize Files

Use this command to initialize an entire file or part of a file.

Requirements and Restrictions

Format




Note:
You can use either the ZUDFM OAINIT or ZUDFM INIT command.

fileid
initializes a file, where fileid is a 2-character alphanumeric or 4-character hexadecimal file ID.

FVN/filever
specifies the initialization of a file, where filever is the file version number given in hexadecimal format from X'00' to X'FF'. It is the same as that used in the ZUDFM OAI/DBTAB/fileid command display.

ordrange
specifies the ordinal range within the file that will be initialized. Use one of the following forms:

The begin and end ordinals are stated as decimal ordinal numbers that can be as many as 8 digits.

Note:
You can use a different delimiter by setting variable #DBENUFB in the ACPDBE macro. See TPFDF Installation and Customization for more information about ACPDBE.

Additional Information

Examples

In the following example, the specified file ID is initialized. Because a file is changed permanently when initialized, you must enter the ZUDFM OAINIT command twice as a precaution. The first entry displays file ID information and a warning. The second entry completes the initialization of the file ID.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAINIT ID/B075                                                    |
|                                                                                |
|System: UDFM0380I          YOU WILL INITIALIZE THE FOLLOWING FILE               |
|        ID - B075 FVN - 00 BOR - 00000052 EOR - 00000077                        |
|        FACET - #BTREE   SSU - WP1                                              |
|                                                                                |
|        UDFM0381A          DANGEROUS ENTRY / MAKE SURE:                         |
|                                                                                |
|              1 - YOU KNOW WHAT YOU ARE DOING                                   |
|              2 - YOU HAVE A RECENT CAPTURE AT HAND                             |
|              3 - THE FILE YOU ARE ABOUT TO INITIALIZE                          |
|                  IS PROPERLY DEFINED IN DBDEF                                  |
|              4 - THE SYSTEM IS NOT IN TOO BAD A SHAPE                          |
|                                                                                |
|              IF YOU STILL WANT TO INITIALIZE YOUR FILE                         |
|              REPEAT YOUR ENTRY WITHIN 2 MINUTES                                |
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
|User:   ZUDFM OAINIT ID/B075                                                    |
|                                                                                |
|System: UDFM0383I          ZUDFM DATABASE INITIALIZATION COMPLETED              |
|        ID - B075 FVN - 00 ORDS PROC - 00000026                                 |
+--------------------------------------------------------------------------------+

References