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

Compilation optionf for subprogram


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

New User


Joined: 24 Apr 2009
Posts: 1
Location: Mumbai

PostPosted: Wed Apr 29, 2009 2:33 pm
Reply with quote

Hi,
I have to use a subprogram to be called from my Main program.
My Subprogram is compiled successfully.
But when I am compiling My Main program it is giving return code 8 in Lkedt step saying the 'CALC' module (sub program name) not found.

Is there any special compilation option i need to give to while compiling main program which will be calling some other program??

Awaiting response...

Regards,
Varsha
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Apr 29, 2009 3:54 pm
Reply with quote

Quote:
Awaiting response...


Don't hold your breath.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Apr 29, 2009 5:19 pm
Reply with quote

Quote:
Is there any special compilation option i need to give to while compiling main program which will be calling some other program??
No.

Things that you did not provide which would assist in figuring out your issue:
is the subroutine call static or dynamic? what output did you get in the lnkedt step? what control cards did you pass to the lnkedt step?

And don't post something like
Quote:
But when I am compiling My Main program it is giving return code 8 in Lkedt step saying the 'CALC' module (sub program name) not found.
because you're paraphrasing what the computer printed and so far in my experience on this forum 75%+ of the paraphrases either don't get the message right or leave out important information that is required to solve the problem. Use BBcode to post the exact messages from the computer -- not what you think we need to know. If what you think we need to know was correct, you'd have solved the problem already, right?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Apr 29, 2009 5:28 pm
Reply with quote

Quote:
giving return code 8 in Lkedt step
Do you have the correct lodlibs in this step?
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 How to go into a subprogram in IBM De... IBM Tools 5
No new posts Parallel Sysplex - subprogram execution CICS 7
No new posts How syntax check at Bind time is diff... DB2 5
No new posts Is possible to call subprogram from c... COBOL Programming 3
No new posts Compilation Error in Translation Step. CICS 4
Search our Forums:

Back to Top