Restrictions
The forms statement has the following restrictions:
• Programs that invoke the FRS cannot be run in batch.
• When connected to the FRS, program must not issue any non-FRS terminal I/O statements (for example, curses functions in an embedded C program).
Examples—forms statement:
Example 1:
Invoke the FRS for a forms application.
exec frs forms;
/*
** Forms statements are allowed only within this
** block.
*/
exec frs endforms;
Example 2:
Start an application.
exec frs forms;
exec frs message 'Initializing database and forms
...';
exec sql connect personnel;
exec frs forminit empform;
exec sql commit;