Hi am trying to import cobol copybook.
Import showing error for all comp-3 fileds.
05 Branch_Number PIC S9(3) COMP-3.
error 'COMP-' unrecognized syntax.
If I change COMP-3 to COMP it is going thrugh but fails again for column having decimal field like below.
05 Potential_Loss_SC PIC S9(11)V99 COMP.
Please advise how to import the copybook.
I havelots of column like as below :-
9_Day_Customer_Float PIC S9(11)V99 COMP-3.
COBOL COPYBOOK IMPORT ERROR FOR COMP-3
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 135
- Joined: Tue Aug 14, 2007 4:27 am
- Location: Mumbai
COBOL COPYBOOK IMPORT ERROR FOR COMP-3
Thanks
Swapnil
"Whenever you find whole world against you just turn around and Lead the world"
Swapnil
"Whenever you find whole world against you just turn around and Lead the world"
Re: COBOL COPYBOOK IMPORT ERROR FOR COMP-3
Check to see if there are any spaces between the - and the 3 in COMP-3. I was able to import the definitions you show below into 8.1 FP1 without problem. If I forced a space, such as "COMP- 3" I received the error you show.
-
- Participant
- Posts: 135
- Joined: Tue Aug 14, 2007 4:27 am
- Location: Mumbai
thanks for replies...
it is resolved now ... the problem was with record length...
The max record length allowed is 72 . After making it 72 it works fine...
but now facing another issue which I will post after searching old posts here ..
it is resolved now ... the problem was with record length...
The max record length allowed is 72 . After making it 72 it works fine...
but now facing another issue which I will post after searching old posts here ..
Thanks
Swapnil
"Whenever you find whole world against you just turn around and Lead the world"
Swapnil
"Whenever you find whole world against you just turn around and Lead the world"