It is pretty common for a Lawson recurring job to error out and continually run for hours and days. This can build up in the waiting screen of the job scheduler (jobschd). To clean it up can be repetitive when it doesn’t have to be.
Login to LID
Go to the job scheduler by typing the jobschd command
F7 >> A. to show all user jobs
In our example we have 7 jobs, but this method works for hundreds of jobs.
On the top most job that you want to delete press the HOME key to “mark” the job. Notice the black arrow on the very left
Now scroll down or even page down to the bottom most record >> Press the END key. Notice all jobs from the top to bottom have the black arrow on the left, indicating these are selected.
Now press F9 (Delete) to remove these jobs. Press enter to confirm.
NOTE: if there are dozens or hundreds of jobs, you may need to hold Enter to continuosly delete them.
Hope this was helpful!
https://www.nogalis.com/wp-content/uploads/2021/11/How-to-mass-delete-Lawson-waiting-jobs-in-the-job-scheduler-in-LID.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-09 07:59:012021-11-05 14:36:22How to mass delete Lawson waiting jobs in the job scheduler in LID
LBI Smart Notifications are reports that are sent directly to users for reviewing vs a user logging into LBI to manually view a report. In this section we will first start off with an Intro to creating a Smart Notification. See Part 1 titled: “Creating an LBI Smart Notification Series – Creating an InfoSet (Part 1)”
Login into LBI (admin permission required) >> go to Tools >> Select Smart Notification
In Smart Notification, select Notifications at the top
If you have none, it’ll say No Selections (see screenshot), else you’ll notice a list of existing Notifications
To create a new Smart Note, click Add
Smart Notification Wizard will pop-up and starts at step 1 (Select Facts)
The Facts section is where you would connect the dataset (or InfoSet) to the notification (this can also be a document among varios other types of data).
An InfoSet is most commonly an SQL query or stored Proc that gathers data from a database.
For this example, we will assume you have an InfoSet already created. View your InfoSets by clicking Search
For our example we will be selecting the MonlthyVariance InfoSet and then select Range
At the bottom of the next page choose Select >> Add >> Ok at the very bottom
At the bottom under My Selections you should now see your InfoSet for step 1
Now click Next or select step 2 Conditions
Conditions can be added with the Add button. This lets you tailor the data to your liking. This can also be done on the InfoSet side when writing a query or stored proc.
Click Next again or select step 3 Delivery
Delivery typically is done through the Device tab which are setup email addresses in Smart Notes (See article titled “How to setup a LBI smart note delivery device”)
The Bursting tab is the alternate method. In the Bursting tab select the InfoSet, and the column to burst on which is typically a list of email addresses.
Schedule tab is similar to Device, except on a schedule which can be set elsewhere for the Notification.
Click Next again or select Step 4 Related Info
Related Info lets you link other LBI reports, shared documents, deploy in a pre-made formatted template among other customizations. This may be covered in more depth in a future article.
Click Next again or select Step 5 Save
This is where you Name, describe, set Home Page Group for your Notification.
You can also Preview, set Status, and add additional Permissions if needed.
Click Save New Item to create your new notification and view it in the Notifications Tab.
Hope this was helpful! Good luck!
https://www.nogalis.com/wp-content/uploads/2021/11/Creating-an-LBI-Smart-Notification-Series-Creating-a-Smart-Notification-Part-2.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-05 07:26:272021-11-19 15:39:28Creating an LBI Smart Notification Series – Creating a Smart Notification (Part 2)
LBI Smart Notifications are reports that are sent directly to users for reviewing vs a user logging into LBI to manually view a report. In this section we will first start off with an Intro to creating an Info Set.
Login into LBI (admin permission required) >> go to Tools >> Select Smart Notification
In Smart Notification, select Admin at the top >> Work with InfoSets
Click Add to start creating an InfoSet
InfoSet Wizard should start >> Select the type of Info Set you want
Our example will be a Relational Database (JDBC) stored procedure with a predefined Data Source
Click Next or go to Step 2 Define Info Set
In this section you will be defining your data depending on what type you select.
This data can include defining column data, number/string format etc.
Click Next or go to Step 3 Specify Links
This section allows you to add file or class links which is dependent on your organization’s needs and what the notification will be used for.
Click Next or go to Step 4 Save InfoSet
In this section you can add a Name, Description, set a group name.
Also allows you to add additional access, filter certain content, even categorize or limit the InfoSet.
Once done with Step 4, click Save As New at the bottom to finish your InfoSet
That’s it! Smart Notifications and InfoSets have a lot of customizability, most of which aren’t necessary to get it going.
https://www.nogalis.com/wp-content/uploads/2021/11/Creating-an-LBI-Smart-Notification-Series-Creating-an-Info-Set-Part-1.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-03 07:22:502021-11-19 15:39:03Creating an LBI Smart Notification Series – Creating an Info Set (Part 1)
The default behavior of the shopping screen in RQC is to now allow users to select their Requesting Company. To allow users to select the company, the rqc_config.xml file must be updated. Navigate to LAWDIR/system and open the rqc_config.xml file in a text editor. In the “client” section, update the setting “allow_company_select” to “true”. Bounce the WebSphere application server for the change to take effect.
https://www.nogalis.com/wp-content/uploads/2021/10/Allowing-company-select-in-Requisition-Center.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-11-01 07:52:352021-11-02 11:49:50Allowing company select in Requisition Center
This process is going to assume you already know how to build a Lawson CSV report of users to compare against. LSA Report Maintenance has these report options available for this.
Login into your windows machine and open Powershell as an Administrator.
Type in this command: Get-ADUser -Filter * -SearchBase “dc=domain,dc=local” | select Name,SID | Export-CSV
dc=domain,dc=local will need to be updated to match your organizations.
select Name,SID will extract the users Name in AD (typically First and Last Name) and their Security ID.
Since we are doing this to compare against Lawson users (assuming you’re using SSOP), you want to also include the sAMAccountName, this is login name the users use to login into their windows machine.
Export-CSV Requires a path after it including filename,
You should now be able to acquire the CSV file in your C:\ExportDirectory\ that you outputted to.
Good luck!
https://www.nogalis.com/wp-content/uploads/2021/10/How-to-Get-a-List-of-Users-from-AD-to-Compare-against-Users-in-Lawson.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-10-28 08:27:252021-10-21 11:33:21How to Get a List of Users from AD to Compare against Users in Lawson
There are two common ways to get a list of program forms and their description from Lawson. One is through LID and another is through a database application like SQL Management Studio.
Method 1: The database application method requires your user to have at least database read access to the PROD or TEST Lawson database.
Login to the PROD or TEST database through your database app (using SQL Management Studio for this example).
Expand the PROD or TEST GEN database and expand the Tables folder:
Scroll to the dbo.SCREEN table >> Right-click >> Select Top 1000 Rows
For those not familiar with SQL, simply remove the TOP 1000 portion from the code to return all records in this table.
Change from this:
To this:
Now click the Execute button:
Select all returned records at the bottom by clicking the top left box:
Right-click same box >> Copy with Headers
Paste into Excel and filter as needed:
Method 2: The LID method is simpler if you have access to Lawson Interface Desktop
Login into LID, your user will need access to rngdbdump
Change directory to a safe directory to dump a file into.
Type this command: rngdbdump -ct gen SCREEN > SCREEN.csv
This command will dump out the SCREEN database table into a csv file in your current directory
Go to that directory and open the csv file in Excel, filter down on the forms you want to view.
Good luck!
https://www.nogalis.com/wp-content/uploads/2021/10/How-to-get-a-list-of-specific-program-codes-and-screen-descriptions-in-Lawson.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-10-26 08:07:242021-10-21 11:27:17How to get a list of specific program codes and screen descriptions in Lawson
In a new install of Lawson, we recently had an issue running forms (inquire, previous, add, etc). The program would hang and eventually show an IOS error message. The job log said that lacobrts failed due to a timeout, but latm.log presented a more detailed error.
Thu Jun 17 18:55:55 2021: latm (jeeStartComponent): netexpress not found
Thu Jun 17 18:59:21 2021: latm: Monitoring turned on
Thu Jun 17 19:01:16 2021: Timeout on opening application, removing application
Thu Jun 17 19:01:16 2021: Pid=-1, Program Code=CU01 DataArea/DataID PROD
Thu Jun 17 19:01:16 2021: Possible causes: Insufficient NetExpress licenses or
Thu Jun 17 19:01:16 2021: not enough database users configured in ladb.cfg.
Thu Jun 17 19:01:16 2021: latm (PrcTPCrash): Received death notification of lacobrts, Uid=-1, Pid=-1
Thu Jun 17 19:01:16 2021: Program Code = CU01 , DataArea/DataID = PROD
Thu Jun 17 19:01:16 2021: ERROR: Exited with error code 0
The Microfocus COBOL licenses were definitely not an issue, so we started trying to track down the “netexpress not found” error. Running “echo %COBDIR%” in LID revealed that the COBDIR environment variable was not pointing to the correct location.
This variable is set by the system, and is not something you can override in the Windows system environment variables. After some troubleshooting, we discovered that the Lawson system value “LAUNCHER” was not correct. We ran the command LaMgmtCmd -r <envname>, which showed the LAUNCHER value as “NetExpress”. We compared this to another (healthy) environment that showed the LAUNCHER value as “run.exe”.
Some of these values can be modified using laconfig, but this specific value had to be updated using the update option on the LaMgmtCmd command. First, we created an XML file with all the values (including the correct launcher), then ran LaMgmtCmd -u <envname> <filename>.
After the update, we rebooted the system, and ran lamgmtcmd -r <envname> to validate.
The value was correct, and we were able to start using the forms again.
https://www.nogalis.com/wp-content/uploads/2021/10/Program-Error-netexpress-not-found-min.jpg470470Angeli Mentahttps://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.pngAngeli Menta2021-10-22 08:52:402021-10-14 09:57:07Program Error “netexpress not found”