Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.
Moderators: chulett, rschirm, roy
-
ramesh_inform
- Participant
- Posts: 57
- Joined: Mon Dec 03, 2007 12:43 am
- Location: hyderabad
Post
by ramesh_inform »
when Iam trying to import metadata from a cobol copy book,it is showing error as follows
Error 1 (line 138) 'CC4' column being redefined is not found
I have threee columns named "CC426687" in my cobol copy book.
"
10 X-NW-DDA-STMT-FORM-MEDIA-R REDEFINES CC426687
10 X-NW-DDA-STMT-FORM-MEDIA. CC426687
15 X-NW-STMT-OPTION-CURR PIC X. CC426687
15 X-NW-STMT-OPTION-FUTURE PIC X. CC426687 "
Can anyone help me in sorting out that error?
ramesh.n.
-
ArndW
- Participant
- Posts: 16318
- Joined: Tue Nov 16, 2004 9:08 am
- Location: Germany
-
Contact:
Post
by ArndW »
That syntax is invalid. You might have reformatted it, so could you post the original inside "code" tags?
-
ramesh_inform
- Participant
- Posts: 57
- Joined: Mon Dec 03, 2007 12:43 am
- Location: hyderabad
Post
by ramesh_inform »
10 X-NW-DDA-STMT-FORM-MEDIA-R REDEFINES CC426687
X-NW-DDA-STMT-FORM-MEDIA. CC426687
15 X-NW-STMT-OPTION-CURR PIC X. CC426687
15 X-NW-STMT-OPTION-FUTURE PIC X. CC426687
ramesh.n.
-
ramesh_inform
- Participant
- Posts: 57
- Joined: Mon Dec 03, 2007 12:43 am
- Location: hyderabad
Post
by ramesh_inform »
got the answer
thanx for the reply
ramesh.n.
-
ramesh_inform
- Participant
- Posts: 57
- Joined: Mon Dec 03, 2007 12:43 am
- Location: hyderabad
Post
by ramesh_inform »
10 X-NW-DDA-STMT-FORM-MEDIA-R REDEFINES CC426687
X-NW-DDA-STMT-FORM-MEDIA. CC426687
15 X-NW-STMT-OPTION-CURR PIC X. CC426687
15 X-NW-STMT-OPTION-FUTURE PIC X. CC426687
the letters in bold should be removed
ramesh.n.
-
ArndW
- Participant
- Posts: 16318
- Joined: Tue Nov 16, 2004 9:08 am
- Location: Germany
-
Contact:
Post
by ArndW »
The format is still illegal in COBOL, unless the trailing "CC426687" starts in column 73 and you trimmed extra space!