IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Getting IEW2456E


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prashant_mq

New User


Joined: 29 Aug 2006
Posts: 24

PostPosted: Wed Jun 04, 2008 1:35 am
Reply with quote

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
View user's profile Send private message
prashant_mq

New User


Joined: 29 Aug 2006
Posts: 24

PostPosted: Wed Jun 04, 2008 1:38 am
Reply with quote

Note that I have compile the SUBPROGR already.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 04, 2008 2:15 am
Reply with quote

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
View user's profile Send private message
prashant_mq

New User


Joined: 29 Aug 2006
Posts: 24

PostPosted: Wed Jun 04, 2008 5:28 am
Reply with quote

I got it.

We have TO code the following in sysin
INCLUDE SUBPROG(SUBPROGR)


Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 04, 2008 5:52 am
Reply with quote

Good to hear it is working.

Thank you for posting your solution icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts IEW2456E error when link-editing a C ... JCL & VSAM 0
No new posts Enterprise PL1 conversion : IEW2456E ... PL/I & Assembler 2
No new posts IEW2456E 9207 SYMBOL EZACICAL UNRESOL... CICS 1
Search our Forums:

Back to Top