To generate a form you must make sure the $AU_TOP/forms/US is included in your forms path, because it points to APPSTAND.fmb which is used in your form for all layout. If you forget this your form looks "scrambled" in the application. So add this to your host script for example.
The installation dir is your top directory, for example $XXYY_TOP.
echo "Generating forms .. please be patient .."
echo "Generate Forms" >> $LOGFILE
frmcmp_batch $INSTALLATION_DIR/forms/US/MYFORM $APPS_USER/$APPS_PASS batch=Y >> $LOGFILE