Java Objects Syntax by Category

Deletion

Name
Syntax and Description
object.DELETE( );
Deletes the Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary

Exception

Name
Syntax and Description
object.EXCEPTIONCHECK(status);
Determines whether an exception occurred during a method call.
Product: Base SAS
Document: SAS Language Reference: Dictionary
object.EXCEPTIONCLEAR( );
Clears any exception that is currently being thrown.
Product: Base SAS
Document: SAS Language Reference: Dictionary
object.EXCEPTIONDESCRIBE(status);
Turns the exception debug logging on or off and prints exception information.
Product: Base SAS
Document: SAS Language Reference: Dictionary

Field Reference

Name
Syntax and Description
object.GETSTATIC type FIELD("field-name", value);
Returns the value of a static field for a Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary
object.GET type FIELD("field-name", value);
Returns the value of a non-static field for a Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary
object.SETSTATIC type FIELD("field-name", value);
Modifies the value of a static field for a Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary
object.SET type FIELD("field-name", value);
Modifies the value of a non-static field for a Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary

Method Reference

Name
Syntax and Description
object.CALLSTATIC type METHOD ("method-name", < method-argument-1 …, method-argument-n > , < return-value > );
Invokes an instance method on a Java object from a static Java method.
Product: Base SAS
Document: SAS Language Reference: Dictionary
object.CALL type METHOD ("method-name", < method-argument-1 …, method-argument-n > , < return-value > );
Invokes an instance method on a Java object from a non-static Java method.
Product: Base SAS
Document: SAS Language Reference: Dictionary

Output

Name
Syntax and Description
object.FLUSHJAVAOUTPUT( );
Specifies that the Java output is sent to its destination.
Product: Base SAS
Document: SAS Language Reference: Dictionary