DataStage Crashes while loading table definintion
Posted: Thu Mar 15, 2007 6:00 pm
When I try to load a table definition in CFF stage, DataStage (currently using DataStage server) crashes. The Cobol copybook has the famous "OCCURS ...DEPENDING ON". Not sure if the crash is related to this.
Have attached the portions of the copybook here. I would appreciate if anyone could help me.
I have only one ODO in this copybook and I tried to flatten the occurs.
Thanks
Raj
Have attached the portions of the copybook here. I would appreciate if anyone could help me.
I have only one ODO in this copybook and I tried to flatten the occurs.
Thanks
Raj
Code: Select all
*
01 PAID-CLAIM-RECORD.
05 HEADER.
10 FILLER PIC X(2).
10 SEGMENT-CNT PIC S9(4).
10 PLAN-CODE PIC X(02).
10 PLAN-CODE-N REDEFINES PLAN-CODE.
15 PLAN-CODE-N PIC 9(02).
10 CLAIM-TYPE PIC X(01).
10 CLAIM-TYPE-N REDEFINES CLAIM-TYPE.
15 CLAIM-TYPE-N PIC 9(01).
10 CCN PIC S9(13).
Code: Select all
5 CLAIM-DETAILS.
10 DETAIL-SEGMENT-1 OCCURS 0 TO 99 TIMES
DEPENDING ON SEGMENT-CNT.
12 SEGMENT-1 PIC X(250).
12 COMPOUND-DRUG-SEGMENT REDEFINES SEGMENT-1.
15 SEGMENT-TYPE-1 PIC X(01).
15 FILLER-1 PIC X(249).
12 MAIN-SEGMENT-1 REDEFINES SEGMENT-1 PIC X(250).
12 MAIN-SEGMENT-1.
15 SEGMENT-TYPE-M-1 PIC X(01).
15 CCN-LINE-NUMBER-1 PIC 9(02).
15 DET-MEDI-CAL-AMT-BILLED-1 PIC S9(7)V99.
15 DET-MEDI-CAL-AMOUNT-PAID-1 PIC S9(7)V99.
15 MEDICARE-AMOUNT-BILLED-1 PIC S9(7)V99.
15 MEDICARE-AMOUNT-PAID-1 PIC S9(7)V99.
15 DET-FROM-DATE-OF-SERVICE-1.