Defining file key segments using BAS

To create a file segment definition:

  1. Issue the create primary (CREate) or line (CRE) action command from the FSEGDEF view.
  2. Fill in the fields on the first file segment definition panel (see Figure 65):
    Figure 65. Creating a file key segment definition - Page 1
     COMMAND  ===>
       Name          ===> EYUFSG01   Version ===> 0
       Description   ===> Key Segs for EYUFIL12
       RESGROUP      ===>
       User Data     ===>
     
       Key Segments:
                Pos    Len    Dup    Mod    Bin    Nc    Sg    Alt    Nul
       01  ===> 000    002    Y      N      Y      N     Y     N      000
       02  ===> 002    004    Y      N      N      N     Y     N      000
       03  ===> 006    002    Y      N      Y      N     N     N      000
       04  ===>
       05  ===>
       06  ===>
       07  ===>
       08  ===>
       09  ===>
       10  ===>
     
     Press ENTER to create FSEGDEF.
     Enter UP or DOWN to view other screens.
     Enter END or CANCEL to cancel without creating.
  3. To add the file segment definition to the data repository, press Enter. To continue creating a file segment definition, issue the DOWN command. Otherwise, issue one of the commands available from this panel.
  4. Fill in the fields on the second file segment definition panel. The second file key segment definition panel is similar to the first; it allows you to define key segments 11 through 24.
  5. When you are finished defining key segments, press Enter to add the definition to the data repository.

Related concepts
File key segment resource definitions
Related reference
FSEGDEF attribute descriptions
[[ Contents Previous Page | Next Page Index ]]