Re: [U2] Universe Paragraph query

2005-02-22 Thread FFT2001
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  CAPTURING and also
EXECUTE  RETURNING and also
EXECUTE  //OUT.  STUFF

Will
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe Paragraph query

2005-02-22 Thread Andrew Lakeland
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 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.
Is there anyway in which we can capture this error in the program
itself, i.e. is there any functionality which can capture the exit
status of the commands listed in the paragraph and send it across to the
universe Basic program, if so please let me know ASAP


Regards,
Deepak S. Jadhav
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Universe Paragraph query

2005-02-22 Thread Clifton Oliver
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 may
arise from the commands listed within the paragraph.

Check EXECUTE  CAPTURING and also
EXECUTE  RETURNING and also
EXECUTE  //OUT.  STUFF
Will
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Universe Paragraph query

2005-02-22 Thread Ray Wurlod
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 mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/