Previous Topic: SQL_STATUS_SEGMENT (SQG)Next Topic: SQL_STATUS_URT (SQU)


SQL_STATUS_FRONT (SQF)

This table lets you view the SQL statement source for executing SQL statements. It provides up to 3900 bytes of the statement source in one large VARCHAR column.

Column Name

SQL Data Type

Nullable

Description

ACCESSOR_ID

 

CHAR(18)

No

The security accessor ID of the person executing the plan.

BIND_METHOD

CHAR(11)

No

Indicates PERMANENT if the statement was statically prepared (and will be permanently stored in the DBMS), otherwise indicates TEMPORARY.

JOB_NAME

 

CHAR(8)

No

The job name of the application.

MUF_NAME

 

CHAR(8)

No

Logical name for this MUF.

PLAN_AUTH

 

CHAR(18)

No

The authorization ID of the plan.

PLAN_NAME

 

CHAR(18)

No

Shows the plan name.

RUN_UNIT

 

INTEGER

No

Shows the run unit number (a sequential number assigned to each job using the MUF).

SOURCE_FRONT

VARCHAR(3900)

Yes

Contains the text of the SQL statement, or NULL if no text is currently available.

STMT_ID

 

INTEGER

No

This identifier distinguishes the statement from others in the plan.

TERM_ID

 

CHAR(4)

No

Identifies the terminal from which a CICS user is running.

TSK_NBR

 

SMALLINT

No

The number of the task in the MUF that is executing this statement.