DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 41
DO_PTAL_ON Command
DO_PTAL_ON Command Examples
The following examples use the same DDL definition to illustrate the difference
between DO_PTAL_ON and DO_PTAL_OFF. The common DDL definition is:
DEF FIRST
02 FLD1 PIC X.
02 SUB.
03 FLD2 PIC X.
END.
DDL produces the following output when DO_PTAL_ON is in effect:
! SCHEMA PRODUCED DATE - TIME : 3/10/1995 15:26:30
?SECTION FIRST
?PAGE
! Definition FIRST created on 3/10/1995 at 15:26
STRUCT FIRST^DEF (*) FIELDALIGN (SHARED2);
BEGIN
STRING FLD1;
STRUCT SUB;
BEGIN
STRING FLD2;
END;
END;
DDL produces the following output with DO_PTAL_OFF in effect:
! SCHEMA PRODUCED DATE - TIME : 3/10/1995 15:26:30
?SECTION FIRST
?PAGE
! Definition FIRST created on 3/10/1995 at 15:26
STRUCT FIRST^DEF (*)
?IF PTAL
FIELDALIGN (SHARED2)
?ENDIF PTAL
;
BEGIN
STRING FLD1;
STRUCT SUB;
BEGIN
STRING FLD2;
END;
END;