compileInvalidSqls(SQLcl)

Recompiles all invalid objects in a supplied schema. This operation will only run if invalid objects are found. The operation returns various outputs to indicate invalid object count (before and after) and a number of objects recompiled.

This is only supported for the Oracle Database.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Oracle Database User

FDORA_USER

Yes

The username that will be used to connect to the target Oracle Database.

Oracle Database Password

FDORA_PASSWORD

Yes

The password for Oracle Database User.

Oracle Database URL

FDORA_URL

Yes

JDBC URL for Oracle database. For example:

  • jdbc:oracle:thin:@HOSTNAME:PORT:SID or

  • jdbc:oracle:thin:@//HOSTNAME:PORT/SERVICENAME

Oracle SQLcl Home

FD_SQLCL_HOME

Yes

Folder where SQLcl is installed.

( Ex: /u01/install/sqlcl)

Make sure that the endpoint Java Home is a high enough version for your SQLcl version.

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Schema Name(s)

FDSQLCL_INP_SCHEMA_NAMES

Yes

Comma separated list of schema where objects will be compiled.

User

FDSQLCL_INP_ORA_USER

No

The username that will be used to connect with. This input takes precedence over the target scoped FDORA_USERproperty. This input is required if the FDORA_USERproperty is not specified.

Password

FDSQLCL_INP_ORA_PASSWORD

No

The password for FDSQLCL_INP_ORA_PASSWORD. This input takes precedence over the target scoped FDORA_PASSWORD property. This input is required if the FDORA_PASSWORD property is not specified.

Outputs

Output Name

Description

Output Name

Description

FDSQLCL_OUT_PRE_INVALID_OBJECTS_COUNT

Invalid object count before execution.

FDSQLCL_OUT_POST_INVALID_OBJECTS_COUNT

Invalid object count after execution.

FDSQLCL_OUT_POST_INVALID_OBJECT_NAMES

Invalid object Names after execution

Artifacts

This operation does not produce or consume artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the Target.

Endpoint Execution

This operation will randomly execute on one of the endpoint identified during selection.

The following macros are not currently supported in the footer:
  • style