View previous topic :: View next topic
|
Author |
Message |
harisukumaran
New User
Joined: 14 Jun 2005 Posts: 75
|
|
|
|
Is it not allowed to run attchmvs / linkmvs from rexx subroutines that return values ? I had return statements at the end out subroutines and the attchmvs was failing with RC = -2. When I remove the returns they work. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
It is allowed. Actually if your call is a function ( n=subr() ) then the subroutine must use RETURN or EXIT with a value.
Please show us what is not working. Remember code tags. |
|
Back to top |
|
|
|