Reset Command - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
001
01 NAME
002
003
004
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
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:
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
Data Definition Language (DDL) Reference Manual—426798-002
02 LAST-NAME
02 FIRST-NAME
02 MIDINIT
Reset DDL parser and continue
0
0
12
20
Wrong level number
VST923.vsd
9- 92
RESET Command
Group 22
Character 12
Character 8
Character 2

Advertisement

Table of Contents
loading

Table of Contents