Dictionary/3000 Reference Manual (32244-90001)

242 Chapter7
The Dictionary DICTCDE Utility
The DICTCDE Main Prompt
Generating Code for Standard Parameters
DICTCDE allows you to generate source code for the IMAGE, VPLUS, and KSAM
standard parameters. To generate this source code, enter P in response to the main
prompt. The code for the standard parameters is generated in WORKING-STORAGE.
DICTCDE will issue the following prompt:
Copylib module for IMAGE standard parameters>
Enter the copylib module for the code generated for the IMAGE standard parameters. The
IMAGE standard parameters include the DB-STATUS array declaration, the eight MODE
declarations, and the utility LIST declarations. The code for the IMAGE standard
parameters is echoed to the terminal as it is written to the copylib module. (See Examples
of Generated Code later in this section for an example of the code generated for the
IMAGE standard parameters.) If [[RETURN]] is pressed in response to this prompt, the
IMAGE standard parameters will not be generated.
DICTCDE next prompts for the copylib module for the VPLUS parameters:
Copylib module for VPLUS standard parameters>
Enter the copylib module for the code generated for the VPLUS standard parameters. The
VPLUS standard parameters include the VPLUS COMAREA definition and a character
string which identifies the terminal. (The terminal identification string is passed to the
VPLUS intrinsic VOPENTERM.) The code for the VPLUS standard parameters is echoed
to the terminal as it is written to the copylib module. (See Examples of Generated Code
later in this section for an example of the code generated for the VPLUS standard
parameters.) If [[RETURN]] is pressed in response to this prompt, the VPLUS standard
parameters will not be generated.
DICTCDE will next prompt for the KSAM standard parameters:
Copylib module for KSAM standard parameters>
Enter the copylib module for the code generated for the KSAM standard parameters. The
KSAM standard parameters are useful if you use the intrinsics provided by KSAM for
COBOL, rather than the COBOL II KSAM support. These parameters include a general
KSAM FILETABLE parameter and a STAT parameter. The general FILETABLE
parameter does not reference any file name and can be used for any file with the
appropriate initialization. The STAT parameter contains STATUS-KEY-1 and
STATUS-KEY-2 for use with the KSAM COBOL intrinsics. The code for the KSAM
standard parameters is echoed to the terminal as it is written to the copylib module. (See
Examples of Generated Code later in this section for an example of the code generated for
the KSAM standard parameters.) If [[RETURN]] is pressed in response to this prompt, the
KSAM standard parameters will not be generated.
After the code has been generated for the standard parameters, DICTCDE returns to the
main prompt.