This section describes the entries required in the profile file to convert a file, or to restructure a file from one organization to another. For example, you might need to do one of the following:
The first record in the file identifies the format of the profile file. The profiles used by DFCONV are the same format as used with earlier 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