Chapter Contents

Previous

Next
SYSCC

SYSCC



Contains the current condition code that SAS returns to your operating environment (the operating environment condition code)

Type: Automatic macro variable (read and write)


Details


Details

SYSCC is a read/write automatic macro variable that enables you to reset the job condition code and to recover from conditions that prevent subsequent steps from running.

A normal exit internally to SAS is 0. The host code translates the internal value to a meaningful condition code by each host for each operating environment. &SYSCC of 0 at SAS termination is the value of success for that operating environment's return code.

Examples of successful condition codes are

Operating System Value
OS/390 RC 0
Open/VMS $STATUS = 1

The method to check the operating system return code is host dependent.

The warning condition code in SAS sets &SYSCC to 4.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.