Creating prompts

The set of prompts that are used by a particular state table are grouped in a prompt directory. All prompts used by a state table must be in the same prompt directory. Different state tables can use the same prompt directory.

If a state table uses its own prompt directory, you can use the system prompts by creating new prompts that call the system prompts (using the SYSPROMPT prompt statement).

Note: System prompts cannot be exported as a dependency of another application object (for example, a state table), so we recommend that you don’t use the System_Macros prompt directory for application specific, or user, prompts. You can distribute changes to system prompts only by explicitly exporting them and importing them to another system.

If you want to store the prompts in a new, rather than an existing, prompt directory, the first step is to create the new prompt directory. Then, you create the prompts by defining new prompts, copying existing prompts, or importing prompts. You can edit the prompt statements that comprise the prompts that you create.