Data Definition Language (DDL) Reference Manual (G06.24+)

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual426798-002
9-92
RESET Command
001 01 NAME 0 Group 22
002 02 LAST-NAME 0 Character 12
003 02 FIRST-NAME 12 Character 8
004 02 MIDINIT 20 Character 2
Definition size is 22 bytes.
If any object is defined by reference to another object, the name of the referenced
object appears under the heading “Source Definition.”
RESET Command
The RESET command stops compilation of a current statement and returns to the
state before compilation of that statement began.
RESET Command Guidelines
The following points are guidelines for using the RESET command:
You should use RESET only in interactive sessions. (It functions in the
noninteractive mode, but is more useful in the interactive mode.)
You should use RESET whenever an error or series of errors makes it difficult to
continue compilation.
RESET Command Example
This example shows an interactive session in which a structure is entered incorrectly;
RESET forces DDL to stop parsing that structure so it can be reentered correctly:
RESET
43> DDL
!?DICT
!DEF aa.
! 02 bb PIC X(4).
! 03 cc PIC 9(6).
*** ERROR *** Invalid lexical level
!?RESET
!DEF aa.
! 02 bb PIC X(4).
! 02 cc PIC 9(6).
! 02 dd.
! 03 d1 PIC X(12).
! 03 ff PIC XX.
!END
Wrong level number
Reset DDL parser and continue
VST923.vsd