Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Getting IEW2456E

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Getting IEW2456E
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    Post subject: Reply to: Getting IEW2456E
Reply with quote

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

Site Director


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

PostPosted: Wed Jun 04, 2008 2:15 am    Post subject:
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    Post subject: Reply to: Getting IEW2456E
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

Site Director


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

PostPosted: Wed Jun 04, 2008 5:52 am    Post subject: Reply to: Getting IEW2456E
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Enterprise PL1 conversion : IEW2456E ... sandeeppai PL/I & Assembler 2 Tue Apr 15, 2008 1:25 am
No new posts IEW2456E 9207 SYMBOL EZACICAL UNRESOL... coloinibm CICS 1 Tue Dec 27, 2005 5:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us