scrgen - Compile Form

scrgen [-A|-O] [-s|c|r|F] [-xnv] productline [systemcode [ProgramCode...]]

Compile the form definition file for the selected program or for all programs in a product line or system code. The compiler builds the files that the user interfaces use to process the form, including the form's SD file, TranMap file, help file, and .xml file. For more information, see Doc for Developers: Application Development Workbench Standards.

Program Option Description
A If the product line is in staged mode, compile the form definition files and place them in the stage directory.
O If the product line is in staged mode, compile the form definition files and place them in the runtime production environment.
s Build COBOL SD.
c Build C-type SD. Used only at Lawson.
r

Do not build RPG type SD (default).

F Build RPG SD in the IFS.
x Create executable form IDs.
v Verbose.
n Compile only on production programs.

At the Qshell command line, specify the information above.

or

  1. In a Lawson Interface Desktop (LID) session, use Form Transfer (F8).

  2. On Form Transfer, specify scrgen in the Form ID field. Click the OK button or press Enter.