Any UniVerse command that experiences an error will set @SYSTEM.RETURN.CODE to
a negative number, usually -1.
If you write the paragraph so that it exits (IF @SYSTEM.RETURN.CODE < 0 THEN
GOTO END.OF.PARA), then the value in @SYSTEM.RETURN.CODE is recoverable by the
caller.
---
u2-users maili
Also take a look at @SYSTEM.RETURN.CODE and STATUS().
[EMAIL PROTECTED] wrote:
In a message dated 2/22/2005 7:59:13 AM Pacific Standard Time,
[EMAIL PROTECTED] writes:
'EXECUTE' some paragraph from the universe basic program. Now
there may be some error when the paragraph executes i.e. the error
TRY THIS
EXECUTE "WHO" CAPTURING OUTSTRING
PRINT OUTSTRING
END
-Original Message-
From: Deepak Subhash Jadhav [mailto:[EMAIL PROTECTED]
Sent: 22 February 2005 16:47
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe Paragraph query
We need to 'EXECUTE' some paragraph from the
In a message dated 2/22/2005 7:59:13 AM Pacific Standard Time,
[EMAIL PROTECTED] writes:
> 'EXECUTE' some paragraph from the universe basic program. Now
> there may be some error when the paragraph executes i.e. the error may
> arise from the commands listed within the paragraph.
Check EXECUTE .