Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compilation optionf for subprogram

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Compilation optionf for subprogram
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    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Wed Apr 29, 2009 5:19 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 29, 2009 5:28 pm    Post subject:
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    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 Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
No new posts Compilation Error in Translation Step. amitc23 CICS 4 Tue Mar 01, 2016 12:24 pm
No new posts IGYDS5000-U and IGYDS5062-U abend in ... Alks ABENDS & Debugging 5 Mon Jan 18, 2016 9:56 pm
No new posts Reason for DSNH204I error message in ... srinivasulu.p DB2 3 Mon Nov 17, 2014 12:00 am
No new posts Need Help on PL/I Compilation satish.ms10 PL/I & Assembler 5 Thu Nov 06, 2014 6:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us