Java Objects Syntax by Product

Base SAS

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
object.DELETE( );
Deletes the Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary
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
object.FLUSHJAVAOUTPUT( );
Specifies that the Java output is sent to its destination.
Product: Base SAS
Document: SAS Language Reference: Dictionary
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
object-reference = _NEW_ JAVAOBJ ("java-class", < argument-1 , … argument-n > );
Creates an instance of a Java object.
Product: Base SAS
Document: SAS Language Reference: Dictionary