Previous Topic: More InformationNext Topic: Batch Compiling


Online Compiling

You can use an online session to input source DDL statements that create, modify, delete, or display schema and subschema definitions.

Note: For more information about the batch alternative, see 10.3, "Batch Compiling".

An online session begins when the user signs on to the compiler, continues through any number of DDL operations, and ends when the user signs off from or otherwise terminates the compiler.

Starting a Session

To start an online session, do the following:

  1. Sign on to the host TP monitor according to site-standard conventions.
  2. Enter the task code for the compiler according to site-standard conventions. Task codes are SCHEMA for the schema compiler, SSC for the subschema compiler. A line identifying the compiler appears at the top of the screen.
  3. Optionally, enter the SIGNON statement in the input/output area of the screen.
  4. Optionally, enter the SET OPTIONS statement after the SIGNON statement to establish processing options for this session.

Note: For more information about SIGNON, SET OPTIONS, and other compiler-directive statements, see Chapter 11, “Compiler-Directive Statements”.

Submitting Statements

After you are signed on, you can enter ADD, MODIFY, DELETE, DISPLAY, and PUNCH statements (see Chapter 12, “Operations on Entities”).

Note: For more information about schema statements, see Chapter 14, “Schema Statements”. For more information about subschema statements, see Chapter 15, “Subschema Statements”.

Ending a Session

To end an online session, do the following:

  1. Enter SIGNOFF in the input/output area, then press [Enter]. This erases the work file, terminates the full-screen editor, erases the session options, and displays a transaction summary.
  2. Press [Clear]. This returns control to the system.

Note: To end a session and return control to the system without receiving a transaction summary, enter the END command on the top line of the screen instead of using SIGNOFF.

Recovering a Session

If the Compiler Abends

If the schema or subschema compiler terminates abnormally and you want to resume at the point before which you entered the last statement, enter the compiler's task code.

All updates made to the dictionary remain intact. Text changes made to the last screen are applied to your work file.

If the DC/UCF System Abends

If your system terminates abnormally, the work file and all session options are lost. Enter the compiler's task code to begin a new session.