Environment limits

Each Lawson Environment has maximum limits on such things as the number of system codes, program codes, database files, security conditions, and job steps. You only need to be aware of these limits if you do development work (thus, are adding programs or database files), or have a high number of job steps, recurring jobs, or security conditions.

In addition, there is a limit on the length of print file paths. If you exceed these limits, problems result because the system cannot store the complete path to a print file.

Environment Limit Reference

Item Limit Description
mSYSTEMS 512 System codes per product line.
mPGMSYS 1200 Program codes per system code.
mRELGRPS 500 Relations the Environment can hold in a table as a user uses the Drill Around feature.
mFILES 4000 Database files per product line.
Job steps 32767 Maximum number of steps in a job.
Recurring jobs/user 100,000
Security condition elements 256 Maximum number of conditional (AND, OR) statements within the condition.
Security conditions per product line 16388 Maximum number of conditions per product line for all security classes.
Security conditions per security class 16388 Maximum number of conditions per security class for all product lines the security class has.
Library Maintenance

A total of 150 Working Storage Libraries can be defined and 80 can be defined and displayed at one time in a scrollable view.

Up to 50 work file references can be defined for each library

Scrolling viewable Routine Names with 16 viewable at a time.

Print Path Limits

The path for a print file is as follows:

%LAWDIR%\print\UserName\JobName\Step#\

The maximum length for a print file path is 75. Of this length, 25 characters are reserved for the slashes, the "print" directory, the job name, and the step number. The remaining 50 characters are reserved for %LAWDIR% and the user name. Because the user name may include a domain name, the limits on print file names include restrictions on the length of domain names as well as on user names and the path for %LAWDIR%.

  • Domain names should be 15 characters or less.

  • User names should be 20 characters or less.

  • The combination of user name and domain name must be 29 characters or less.

  • The maximum length of %LAWDIR% depends on the domain names and user names that an organization uses. The formula is as follows:

    Maximum Length of %LAWDIR% = 50 - Maximum Length of Domain Name - Maximum Length of User Name

    For example, if you want to reserve all 29 characters that are available for your domain name and user names, then the maximum length of %LAWDIR% is 21 characters (50 - 29).

    Note that the 20-character limit includes the "c:\" part of %LAWDIR%.

    If in your organization domain names will never exceed 10 characters and user names will never exceed 15 characters, then the maximum length of %LAWDIR% is 25 characters (50 - 25).