AS400 Lawson srgen command

, ,

When running SRGEN in Lawson on iSeries/AS400 there are some things to consider. first, make sure you have the lawson source library LAWSRC in your library list. If the LAWSRC source library is not in your library list, your screen rules will not be updated. You should also make sure to put LAWSRC above your modification library and make sure they contain lawson source files as well as the .sr members before you run SRGEN. Lastly, the syntax for running SRGEN is CALL SRGEN PARM(LAWAPP SYSTEMCODE), where systemcode is your Lawson system code (i.e. HR). If you need to create screen rules (.sr) for multiple system codes, separate the system codes with a single space (i.e. HR GL AP IF AR).