ここでは、プロファイル ファイルでファイルの変換、またはファイルをある編成から別の編成へ再構築するために必要なエントリについて説明します。たとえば、次のいずれか 1 つを実行しなければならないとします。
このファイル内の最初のレコードは、プロファイル ファイルの形式を示しています。DFCONV で使用されるプロファイルは、以前の Workbench で使用されているものと同じ形式です。
DFS Profile File Version V09.B01.07
Batch-Process: Convert-file
***************************************************
* (Twin) (Single) *
* Options: Convert-File Rebuild-index *
* Rebuild-index-and-data None *
***************************************************
Strt-file: drive:\path\filename.STR
Edit-Mode: Quick
* Options: Quick/Full *
--------------------------------------------------------------------------------
Input-File drive:\path\inputfile.dat
Format: Micro-Focus
* Options: Micro-Focus IDXFORMAT(4) *
* Btrieve C-ISAM *
* LEVEL-II ESDS *
Organization: VRECGEN
* Options: Sequential Line-Sequential *
* Indexed Mainframe-Report-ANSI *
* Relative Mainframe-Report-mach *
* VRECGEN PC-Print *
Record-Format: Variable
* Options: Fixed/Variable *
Character-Set: EBCDIC
* Options: ASCII/EBCDIC *
Floating-Point: 370
* Options: IEEE/370 *
Compression: Off
* Options: On/Off *
Min-Rec-Length: 352
Max-Rec-Length: 633
--------------------------------------------------------------------------------
Output-File drive:\path\outputfile.dat
Format: Micro-Focus
Organization: Indexed
* Options: Sequential Line-Sequential *
* Indexed Mainframe-Report-ANSI *
* Relative PC-Print *
* VRECGEN2 *
Record-Format: Variable
Character-Set: EBCDIC
Floating-Point: 370
Compression: Off
Min-Rec-Length: 352
Max-Rec-Length: 633
* Key to settings *
* d= allow duplicates *
* s= sparse character set *
* Compression *
* cd= on duplicates *
* cl= on leading spaces *
* ct= on trailing spaces *
Prime-key : 1:1, 2:6
Alt-Key 1: 8:1
d,cl
Alt-Key 2: 9:1
d,cd,ct
Alt-Key 3: 10:5
DataTools Profile Version V09.B02.05
Batch-Process: Convert-file
***************************************************
* <Twin> <Single> *
* Options: Convert-File Rebuild-index *
* Rebuild-index-and-data None *
***************************************************
Strt-file: No-structure
Edit-Mode: Full
* Options: Quick/Full *
--------------------------------------------------------------------------------
Input-File LP2293.QA.DAT
Format: Micro-Focus
* Options: Micro-Focus IDXFORMAT(4) *
* Btrieve C-ISAM *
* LEVEL-II ESDS *
Organization: Blocked-VRec
* Options: Sequential Line-Sequential *
* Indexed Mainframe-Report-ANSI *
* Relative Mainframe-Report-mach *
* VRECGEN PC-Print *
* Blocked-VRec *
Record-Format: Variable
* Options: Fixed/Variable *
Character-Set: EBCDIC
* Options: ASCII/EBCDIC *
Floating-Point: IEEE
* Options: IEEE/370 *
Compression: Off
* Options: On/Off *
Min-Rec-Length: 500
Max-Rec-Length: 500
--------------------------------------------------------------------------------
Output-File LP2293-seq.dat
Format: Micro-Focus
Organization: Sequential
Record-Format: Variable
Character-Set: EBCDIC
Floating-Point: IEEE
Compression: Off
Min-Rec-Length: 500
Max-Rec-Length: 500