Specific methods for generating and executing SQL statements

The following table describes the product’s methods to generate and execute SQL statements for certain situations.

The specific methods are detailed elsewhere in this manual, as indicated in the table.

Method

Online interface

Batch interface

Execute option for UNDO SQL statements

When you generate UNDO SQL statements, you can direct Log Master to execute the statements after it writes them. The product includes the SQL execution as part of a log scan step within the work ID.

For more information, see:

Panel: SQL Output

Field: Execute SQL

Statement: LOGSCAN

Keywords: SQL UNDO EXECUTE

Execute option for UNDO DDL statements

When you generate UNDO DDL statements, you can direct Log Master to execute the statements after it writes them. The product includes the DDL execution as part of a log scan step within the work ID.

For more information, see:

Panel: UNDO DDL Output

Field: Execute DDL

Statement: LOGSCAN

Keywords: DDL UNDO EXECUTE

Automated Drop Recovery (Re-create DDL statements)

You can direct Log Master to execute DDL statements that re-create the dropped objects. The product includes the DDL execution as part of an automated drop recovery step within the work ID. The product also provides a separate EXECSQL step for the post-recovery SQL statements that it generates to recover a dropped table.

For more information, see:

Panel: Generate Automated Drop Recovery

Field: Execute DDL

or

Execute SQL (for post-recovery SQL statements)

Statement: DROPRECOVERY

Keywords: RECREATE DATASET EXECUTE

The product provides similar syntax for post-recovery SQL statements.

Was this page helpful? Yes No Submitting... Thank you

Comments