I have a problem while importing the following CFD into DataStage:
Code: Select all
01 PLP-PM-EXTRACT-RECORD.
05 PLP-PM-SURROGATE-KEY.
10 PLP-PM-KEY-EXCT PIC 9(06). 1-6
10 PLP-PM-UNIQUE-NOS.
15 PLP-PM-KEY-DATE.
20 PLP-PM-KEY-CC PIC 9(02). 7-8
20 PLP-PM-KEY-YY PIC 9(02). 9-10
20 PLP-PM-KEY-MM PIC 9(02). 11-12
15 PLP-PM-KEY-SERIAL-NOS PIC 9(06). 13-18
10 PLP-PM-UNIQUE-NUM REDEFINES PLP-PM-UNIQUE-NOS.
15 PLP-PM-KEY-DAT-INITIAL.
20 PLP-PM-INITIAL-YY PIC 9(02). 7-8
20 PLP-PM-INITIAL-MM PIC 9(02). 9-10
15 PLP-PM-INITIAL-SER-NOS PIC 9(08). 11-18
05 PLP-PM-ACTION-CODE PIC X(01). 19-19
05 PLP-PM-SYMBOL PIC X(03). 20-22
05 PLP-PM-COMPANY PIC X(02). 23-24
05 PLP-PM-POLICY-NUMBER PIC X(07). 25-31
05 PLP-PM-MODULE PIC X(02). 32-33
05 PLP-PM-LOB-TYPE PIC X(03). 34-36
05 PLP-PM-DIRECT-BUS-FLG PIC X(01). 37-37
.....................
.....................more fields are present
Other details:
> I have read the documentation for CFF stage and it does not mention anything about reading the groups with REDEFINES.
> I went into the Table Definition and did a "right-click > Edit Row". That took me to another window where the group field "PLP-PM-UNIQUE-NUM" is being shown as re-defining the column {Redefined field box has the field that this is redefining.}. But, I am unable to view data.
> I went ahead and manually deleted the re-defined fields (the fields inside the group "PLP-PM-UNIQUE-NUM") from the Outputs > Selection tab of the CFF stage in vain.
Please let me know what I should be doing which I am not doing now.