View previous topic :: View next topic
|
Author |
Message |
ursprasanna Warnings : 2 New User
Joined: 15 May 2006 Posts: 20 Location: chennai
|
|
|
|
hi all,
I have a small clarification on this XCTL and LINK commands.
suppose when coding XCTL command if we give a same program name instead of a differnt program ( ie) the called and calling program are the same what will happen ?
I would like to know whether the call will be ignored or will it go for an " invalid request " abend or the working storage values will be reset and the program will be executed as before.
and what will happen if the same is done with the LINK program.
Thanks,
Prasanna Subramaniam. |
|
Back to top |
|
|
rajakumar10
New User
Joined: 03 Aug 2005 Posts: 12
|
|
|
|
It doesn't fail or abend. The program goes into a loop |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
it won't abend.
But It will go in loop or not can only be decided only after we see your program logic. Is this XCTL statment performed everytime your program is called? or it is possible that depending on teh commarea data your program execution will be routed another way or stopped before XCTL statement?
Is this just out of curiousity or it is serving some business purpose? |
|
Back to top |
|
|
|