[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Return Codes issued by an SQR program?



Bill

Look to the documentation about #return-status, may this will help you.
(here is the documentation)

The variable #return-status is the value to be returned to the operating
system when SQR exits. It may be set in your report. #return-status is
initialialized to the "success" return value for the operating system.

#return-status is an SQR reserved, or predefined, variable.
All of SQR's reserved variables are global variables. Within a local
procedure they must be referenced using the leading underscore:
#_return-status.


franck,

Bill Milano wrote:
>
> Hi,
>
> I'm relatively new to the mailing list, so I may really be displaying my
> ignorance here but here goes...
>
> I can't find this in the SQR documentation and none of my co-workers know:
> Is there a way to get an SQR program to issue standard system return codes?
>
> Currently, I'm working with a few people to use SQR as cross-platform data
> conversion and interface tool. We want to string a number of processes
> together dependent on the return codes of each, but I can't seem to find a
> documented way to get an SQR program to return one.
>
> Any help would be appreciated.
>
> Thanks in advance,
> Bill Milano
> Senior Principal
> AMS, Inc.