Before option "F", "Define New File" , can be used to add a new file to the specified database, an FDT must be defined for the file. Alternatively, you may choose to use an already existing FDT (retained from a Delete File function run with the "SAVE FDT" option).
To add a new file for which an FDT has been defined
Select option "F" (define new file).
Specify the number of the file to be added.
Specify the database to which it will be added.
Press ENTER.
If the file already exists in that database, a message is displayed at the top of the menu.
09:59:38 ***** A D A B A S BASIC SERVICES ***** 2006-08-25 DBID 1956 - Define File - PFLF012 File Name ......... TEST-24_________ MAXISN ............ __________ Datastorage Size .. __________ B (BLKs/CYLs) Normalindex Size .. __________ B (BLKs/CYLs) Upperindex Size ... __________ B (BLKs/CYLs) ------------------------------------------------------------------------------ ACRABN ........ MINISN ...........* 1 Anchor Fnr .. DSRABN ........ ISN Size .......... 3 Byte Ciphering ... N NIRABN ........ ISN Reuse ........* N UIRABN ........ DS Reuse .........* Y Alpha Code ..... ASSO padding .* 10 % DATA device ......* 3390 Wide Code ...... DATA padding .* 10 % MIXDSDEV .......... N User Wide Code . Spanned Records ... N MU / PE > 191 ..... N LOB file .......... N Rel. LOB file # ... Max Blks: Max comp. rec.len . 5060 Multi Client DS extents .. Index Compression . N Support ........ N NI extents .. No AC Extention ... N Owner-ID Len ... 8 UI extents .. Program Refresh ... N PF1----- PF2------ PF3------ PF4------ PF6----- PF7----- PF8----- PF12----- Help Exit ADAM Menu |
This function corresponds to the utility function ADALOD LOAD.
The equivalent direct command is
DEFINE FILE file-number
To specify parameters for an ADAM file
Press PF7 (ADAM).
The following ADAM File Information window appears:
10:07:34 ***** A D A B A S BASIC SERVICES ***** 2006-07-20 DBID 105 - Define File - PFLF002 File Name ......... TEST-80_________ MAXISN ............ 100_______ Datastorage Size .. 5_________ B (BLKs/CYLs) Normalindex Size .. 5_________ B (BLKs/CYLs) Upperindex Size ... 5_________ B (BLKs/CYLs) ------------------ ------------------------ ACRABN ........ |-----------------------------| Anchor Fnr .. DSRABN ........ | ADAM File Information: | Ciphering ... N NIRABN ........ | | UIRABN ........ | ADAMDE (field/ISN). | Alpha Code ..... ASSO padding .* 10 | ADAMPARM .......... | Wide Code ...... DATA padding .* 10 | ADAM Overflow ..... | User Wide Code . | ADAM Dataform ..... Y | Max Blks: |_____________________________| Multi Client DS extents .. Support ........ N NI extents .. No AC Extention ... N Owner-ID Len ... 8 UI extents .. Program Refresh ... N PF1----- PF2------ PF3------ PF4------ PF6----- PF7----- PF8----- PF12----- Help Exit ADAM Menu |