I'm getting a difference between IBM and Regina which I can't control- can anyone help ?
When I get an Error in an external subroutine (let's take SYNTAX as an example)
With IBM Root module halts
With REGINA Root module continues
------------------------------------------------------------
Eg.
Root module contains
call t2
call t3 /* continues to execute this when error in T2 */
-----------------------------------------------------------
T2.cmd contains
x = left('abc',y) /* error here */
------------------------------------------------------------
T3.cmd contains
say hello t3
------------------------------------------------------------
Regina Execution produces
1 +++ x = left('abc',y)
1 +++ call t2
Error 40 running "C:\NPD\Prep\ph1\T2.cmd", line 1: Incorrect call to routine
Error 40.13: LEFT argument 2 must be zero or positive; found "Y"
[red] HELLO T3 [/red]
------------------------------------------------------------
IBM Rexx Execution produces
1 *-* x = left('abc',y)
1 *-* call t2
Error 40 running C:\NPD\Prep\ph1\T2.CMD line 1: Incorrect call to routine
Error 40.12: LEFT argument [red]3 [/red] must be a whole number; found "Y"
------------------------------------------------------------
Apart from the fact that IBM can't count up to 3.
I've played about with SIGNALs and CALLs but I can't seem to get the IBM effect which is what I want.
In reality there going to be many routines involved and a depth of call of about 5 or 6.
thanks for any replies
When I get an Error in an external subroutine (let's take SYNTAX as an example)
With IBM Root module halts
With REGINA Root module continues
------------------------------------------------------------
Eg.
Root module contains
call t2
call t3 /* continues to execute this when error in T2 */
-----------------------------------------------------------
T2.cmd contains
x = left('abc',y) /* error here */
------------------------------------------------------------
T3.cmd contains
say hello t3
------------------------------------------------------------
Regina Execution produces
1 +++ x = left('abc',y)
1 +++ call t2
Error 40 running "C:\NPD\Prep\ph1\T2.cmd", line 1: Incorrect call to routine
Error 40.13: LEFT argument 2 must be zero or positive; found "Y"
[red] HELLO T3 [/red]
------------------------------------------------------------
IBM Rexx Execution produces
1 *-* x = left('abc',y)
1 *-* call t2
Error 40 running C:\NPD\Prep\ph1\T2.CMD line 1: Incorrect call to routine
Error 40.12: LEFT argument [red]3 [/red] must be a whole number; found "Y"
------------------------------------------------------------
Apart from the fact that IBM can't count up to 3.
I've played about with SIGNALs and CALLs but I can't seem to get the IBM effect which is what I want.
In reality there going to be many routines involved and a depth of call of about 5 or 6.
thanks for any replies