linkage problem



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

linkage problem

Postby ballaravi » Fri Jul 23, 2010 7:41 pm

hi,

i am doing some task,using subprogram concept.

In link spool file it is showing error like
"MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY."

IT IS STATIC CALL AND THIS LINKING ERROR IS COMING WHILE COMPILING THE MAIN PROGRAM,
PLEASE HELP ME.

AND I WHAT TO KNOW " can we pass the group name in file section to sub-program.
ballaravi
 
Posts: 18
Joined: Wed Jul 14, 2010 6:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: linkage problem

 

Re: linkage problem

Postby Robert Sample » Fri Jul 23, 2010 7:58 pm

The error message is quite clear -- the SYSLIB concatenation in your linkage editor / binder step does not include any load library that contains your subprogram.

can we pass the group name in file section to sub-program.
You are not clear here -- are you wanting to pass the FD 01 variable to your subprogram? If so, the answer is yes as long as the file has been opened already. If you meant something else, please let us know what you are wanting to do.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: linkage problem

Postby ballaravi » Sat Jul 31, 2010 4:50 pm

ok,thank you my problem sloved
ballaravi
 
Posts: 18
Joined: Wed Jul 14, 2010 6:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: linkage problem

Postby Robert Sample » Sat Jul 31, 2010 8:13 pm

Glad to hear it is solved.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post