Previous Topic: 3.5.2.1 File DefinitionNext Topic: 3.5.2.3 Inquiry Processing


3.5.2.2 File Data Elements

 
The second step in creating a business element file
definition is specifying the business element that you wish
to include in the file using the Business Element File Data
Elements screen shown in Figure 3-126.

/--------------------  Business Element File Data Elements  -------------------\
|Command ===>                                                  Scroll ===> CSR |
|                                                                              |
|Composing CAP DB File def.:  BEF - Business Element File                      |
|                                                                              |
|Note:  If file updating is from external card images, data elements will be   |
|       read in ascending order of data element name for each value of DATE.   |
|                                                                              |
|Line Cmds: I Insert  D Delete  R Repeat  M Move  C Copy                       |
|                                                                              |
|Cmd   Name        Data Element Label (long name)       Tp  Len   Output Format|
| -  -------- ----------------------------------------  --  ---  --------------|
| _  DATE     Interval End Date                         D   9    DATE9.        |
|****************************** BOTTOM OF DATA  *******************************|
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
\------------------------------------------------------------------------------/
  
 Figure 3-126.  Business Element File Data Elements Screen


The parameters for the Business Element File Data Elements
screen are defined below:
 
Name:        The name of a business element.  This may be any
             valid SAS name as described in the SAS manuals.
             The data elements YEAR, MONTH, WEEK, and MNTHDAY
             are exceptions.  Do not specify them since these
             are automatically supplied for you based on the
             data value that you supply for the DATE data
             element.  Choose variable names that are
             descriptive of the values they represent.
 
Data Element The data element label that is displayed on the
Label        data element selection screen and on many
(long name): reports.
 
Tp:          The type of data element.  This is used to
             validate the data values and usage for this data
             element.  Valid types are Alphanumeric (A),
             Numeric (N), Money (M), Time (T), Hex (H), Date
             (D), Time-of-day (TD), and Date-Time (DT).
 
Length:      The length of the data element.
 
Output       The SAS format that is used to print the data
Format:      element values.