View previous topic :: View next topic
|
Author |
Message |
meetsrk
New User
Joined: 13 Jun 2004 Posts: 85
|
|
|
|
hi ppl,
i know how to call a sub program from a main program. but when i try to call 2nd sub program from the 1st sub program, it shows a linkage error.
can any1 help me out?
well i CL (compile and link) both the subprograms and the load module is stored inside one PDS. till now i get maxcc = 0 for both.
but when i run the main program, it has successfully entered into first sub program then i get an linkage error. it didnt even get into the second sub program. |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Hi,
You store the load modules of the two sub program in the same PDS and specify that PDS as your link library. (LKED.SYSLIB)
You GO BACK / EXIT PROGRAM in both sub program.
It will work. If not, post your code here. I will correct you. |
|
Back to top |
|
|
|