To Create A Three-Line Record Description:
To create a three-line record description that has the record name on line 1, the area and location mode on line 2, and the record size and description on line 3, use these statements:
XRECLINE REC-NAME XRECLINE AREA,LOC-MODE XRECLINE LENGTH,REC-DESC
A resulting record description looks like this:
ACTIVITY 94, 27 / AA
ACTIVITY
CLASS-REGION CALC
32
To Create A Six-Line Record Description:
To create a six-line record description that has the record name on line 1, a blank second line, the area, location mode, and record size on line 3, the description on line 4, the duplicates option on line 5, and the location control on line 6, use these statements:
XRECLINE REC-NAME XRECLINE XRECLINE AREA,LOC-MODE,LENGTH XRECLINE REC-DESC XRECLINE DUPS-OPT XRECLINE LOC-CTRL
Here is a resulting record description:
ACTIVITY 94, 27 / AA
ACTIVITY
CLASS-REGION CALC 32
DN
ACT-CODE
To Create Blank Fields or Blank Lines for a record description:
A record description with a blank second line and a blank, 10-character field in line 3 is specified like this:
XRECLINE REC-NAME XRECLINE XRECLINE AREA,BLANK 10,LOC-MODE XRECLINE LENGTH,REC-DESC
Note: You must put a space between the word BLANK and the blank field length. Leaving out the space results in an error message.
Record description with the above format:
ACTIVITY 94, 27 / AA
ACTIVITY
CLASS-REGION CALC
32
To Combine Explicit and Implicit Placement of CALC Keys:
A record description with the first CALC key on the second line and additional CALC keys on the last lines is specified like this:
XRECLINE REC-NAME,LOC-MODE XRECLINE LOC-CTRL(1) XRECLINE AREA XRECLINE LOC-CTRL(N)
Resulting record description:
ACTIVITY 94, 27 / AA
ACTIVITY CALC
ACT-CODE
CLASS-REGION
Use of LOC-CTRL(N) always reserves a position in the record description, even when there are not enough CALC keys to actually need it.
|
Copyright © 2013 CA.
All rights reserved.
|
|