Previous Topic: ParametersNext Topic: Writing Database Procedures


Example

This example displays the description of the DEPARTMENT record associated with the subschema's schema. Note that the subschema compiler produces commented output.

display schema record name is department without elements .
*+   ADD
*+   RECORD NAME IS DEPARTMENT
*+       SHARE STRUCTURE OF RECORD DEPARTMENT VERSION 100
*+       RECORD ID IS 410
*+       LOCATION MODE IS CALC USING ( DEPT-ID-0410 ) DUPLICATES ARE
*+             NOT ALLOWED
*+       WITHIN AREA ORG-DEMO-REGION OFFSET 2 PAGES FOR 48 PAGES
*+       RECORD NAME SYNONYM IS DEPARTMT FOR LANGUAGE ASSEMBLER
*+       .