View previous topic :: View next topic
|
Author |
Message |
prashant_mq
New User
Joined: 29 Aug 2006 Posts: 24
|
|
|
|
Hi All,
When I am compiling my cobol code I am getting the following error :This is happening in the link edit step:
Error:
IEW2456E 9207 SYMBOL SUBPROGR UNRESOLVED.MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
In main program I am using
SET VAR1 TO ENTRY OF 'SUBPROGR'
Where SUBPROGR is another program.
Do I need to use "Procedure using ....." and delcare the linkage section.
Please let me know on the error.
Thanks |
|
Back to top |
|
|
prashant_mq
New User
Joined: 29 Aug 2006 Posts: 24
|
|
|
|
Note that I have compile the SUBPROGR already. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Might there be a typo?
If not, is the library that contains SUBPROGR included in the linkedit?
You might try to issue a CALL to SUBPROGR somewhere else in the code and verify that the call is resolved. If the call fails, it is likely that the link is missing a needed library. |
|
Back to top |
|
|
prashant_mq
New User
Joined: 29 Aug 2006 Posts: 24
|
|
|
|
I got it.
We have TO code the following in sysin
INCLUDE SUBPROG(SUBPROGR)
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working.
Thank you for posting your solution
d |
|
Back to top |
|
|
|