For database records, logical records, files defined to the data dictionary, and tables CA Culprit automatically supplies a REC parameter for each input field referenced on another CA Culprit parameter; for example, if an edit parameter references DEPT-ID-0410, CA Culprit provides the REC parameter that defines the field.
REC cards are also automatically generated for SQL defined tables. For information on using CA Culprit with an SQL defined database, see Accessing SQL Defined Tables.
Considerations
The following considerations apply to CA Culprit generated REC parameters:
Note: For more information, see the CA IDMS IDD DDDL Reference Guide.
RECORD ELEMENT IS NAME VERSION 788
LINE IS 000100
LEVEL NUMBER IS 02
USAGE IS DISPLAY
Culprit HEADER
'EMPLOYEE'
'NAME'.
The following report illustrates CA Culprit generated REC parameters for a database record that contains multiply-occurring fields; the generated REC parameters appear on the Input Parameter Listing.
******** REC START SIZE TYPE DP FIELD-NAME RECORD-NAME,LEVEL ******** REC 00169 001 GENERATED-GROUP-00 GROUP 00 00080.00010 $$ GENERATED REC 00169 001 GENERATED-GROUP-01 GROUP 01 00080.00010 $$ GENERATED REC 00039 006 CLAIM-DATE-0405 DENTAL-CLAIM $$ GENERATED REC 00164 002 1 NUMBER-OF-PROCEDURES-0405 DENTAL-CLAIM $$ GENERATED REC 00045 025 PATIENT-NAME-0405 DENTAL-CLAIM $$ GENERATED REC 00009 004 2 PROCEDURE-CODE-0405 DENTAL-CLAIM ELMNT 01 $$ GENERATED REC 00003 006 SERVICE-DATE-0405 DENTAL-CLAIM ELMNT 00 $$ GENERATED mm/dd/yy RUN TIME MESSAGES PAGE 1
Note: CA Culprit Generated REC Parameters: For each field referenced on other CA Culprit parameters, CA Culprit supplies the start position of the field in the input buffer, the field length, field name, data type, decimal positions, and database record name. For each field that occurs a multiple number of times, CA Culprit generates a GROUP REC parameter and an ELMNT REC parameter.
In this example, the multiply-occurring group is 80 bytes long and repeats ten times.
|
Copyright © 2014 CA.
All rights reserved.
|
|