View previous topic :: View next topic
|
Author |
Message |
suhail2322
New User
Joined: 27 Mar 2009 Posts: 3 Location: Chennai
|
|
|
|
In my program, Iam trying to initilize the subprogram dynamically by "CANCEL <subprogrm>", It is not getting initialized...!
Can anybody suggest me a solution for this
Note: I should initialize dynamically |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
instead of using commands that you don't understand - CANCEL.
look at the PROGRAM-ID clause INITIAL. |
|
Back to top |
|
|
rocky_balboa
New User
Joined: 24 Mar 2010 Posts: 61 Location: Cape of Good Hope
|
|
|
|
Are you getting any error?
If yes make sure that there are no active threads of the called sub-program while issuing CANCEL. This can happen if there are multiple entry points for the program.
I know I should not tell this...hope both the programs are seperately compiled and link edited. It does not work with static call.
While link-editing make sure that NOREUS option is in effect....
Hope this helps.... |
|
Back to top |
|
|
|