When using a QMF form in an application, you need to keep a few things in mind:
If you create a form &file outside of QMF (not with EXPORT FORM), it is not necessary to have a complete form object to import it successfully into QMF. You just need the header (H) record followed by the T and R records of the COLUMNS table. Default values are applied for the rest of the form when it is imported.
When you create your own form file, data set, or CICS data queue, it does not have to be exactly like the file, data set, or CICS data queue you get if you use EXPORT FORM. For example, when QMF exports a form, all data values in a value (V) record are preceded by a length, whereas you can use an asterisk (*) signifying that the data value is delimited by the end of the record when you import a form.
QMF keeps the excess lines if an R record count in an imported form is less than the number of default lines it has already allocated for the associated area in the default form.
The object level in the header record of a form file, data set, or CICS data queue tells you the level of the format structure at the time the form was generated. (Object level is indicated in bytes 12 and 13 of the header record as described in ***.) You can make sure that your application properly interprets the contents of the form file, data set, or CICS data queue by checking that the object level represents the format upon which your application is based.
The application data records mentioned in Application data record (*) can be useful in your application program. They allow you to include your own comments within a file, data set, or CICS data queue for a form object. You can place them anywhere in the file, data set, or CICS data queue following the header record. When QMF reads such a record it ignores all data in the record following the *. The record therefore, has no effect on the import process.
If your installation supports date/time data types and you export a form with date/time information, you cannot subsequently import that form using a QMF installation that does not support date/time data types. If you do, the IMPORT command processing stops and QMF issues an error message.
Because REXX is not available under QMF CICS, the areas on the QMF form that rely on REXX do not work if you try to run the form in the CICS environment. These areas include anything entered on the FORM.CALC panels, the FORM.CONDITIONS panels, and the Specify Definition window. Therefore, REXX calculations, conditional row formatting, and column definitions are not available to QMF CICS users.
For additional information and rules governing the form files, data sets, or CICS data queues for input and output, see Importing encoded format objects.