Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
MM280
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Raju
Past 24 Hours:
1
Prev. 24 Hours:
1
Overall:
5205
People Online:
Visitors:
260
Members:
0
Total:
260
Online Now:
New Topics
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson Smart Office
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor CloudSuite
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:39 PM
Hi, I need help with an error on syteline while us
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1369
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
MM280
Please
login
to post a reply.
34 Replies
1
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Page 2 of 2
<<
<
1
2
Author
Messages
Greg Moeller
Veteran Member
Posts: 1498
2/23/2012 7:22 PM
ric9: I've done this in my test environment.. you have to modify a table in GEN (If memory serves) via a script and then run MM280. Let me look for my sample.
SP
Veteran Member
Posts: 122
2/23/2012 7:44 PM
I do this kind of thing by running a shell script to determine the correct
parameters (i.e. Period), then update a jobdump output file with the
correct parameters and run jobload. I handle everything within the script,
including the submitting the updated job.
It's really quite easy. Use jobdump to create a template file. Put
placeholders in the jobdump template file. Use sed in the script to
replace the placeholder values with the correct values, writing the output
to a new file, then run jobload using the new output file, jqsubmit, and
voila you're done.
Let me know if you want more help. I would be glad to send you some
examples. I've actually done this for MM280, IC130, GL190, ...add naseum...
It's very easy and straight forward.
On Thu, Feb 23, 2012 at 2:13 PM,
wrote:
> [image: LawsonGuru.com Logo] <
https://www.lawsonguru.com/
> Lawson
> Business Intelligence/Reporting/Crystal Forum Notification A message was
> posted to a thread you are tracking. *RE: MM280* Posted by: *
> ric9dantes*
> 02/23/2012 02:06 PM Ruma/chris/John/Everybody, Okay guys I need more
> Help.
> I was able to schedule the report to run (in LBI). The challenge is to run
> MM280 in Core Lawson automatically, with the correct period.
> Is there a way to automate the running of MM280? with varying Period? Or
> Im stuck running MM280 manually?
> Please help. Thanks!
> ------------------------------
>
> To view the complete thread and reply via your browser, please visit:
>
https://www.lawsonguru.co...rums/pm/lbi/mm280/2/
>
> You were sent this email because you opted to receive email notifications
> when someone posted and/or responded to a message on this forum.
> To unsubscribe to this thread please visit your user profile page and
> change your subscription options.
>
> Thank you,
> LawsonGuru.com
>
Greg Moeller
Veteran Member
Posts: 1498
2/23/2012 7:47 PM
This is what I came up with to run one off our custom jobs.. not specifically MM280, so it probably won't work for your job.... This will get you started though.
Basically, run the job manually first... dump the JOBSTEP table. Find the location of the Parameter you want to change and modify the script accordingly.
I'd be very careful, though modifying GEN tables because you could get yourself (and all your users) in big trouble. Make sure you have a good backup first!!
Attachments
date_change.zip
ric9d
Veteran Member
Posts: 76
2/23/2012 8:00 PM
SP, If you could send me those examples. Thanks!
Gregg, Thanks! I will try it and let everybody know.
SP
Veteran Member
Posts: 122
2/23/2012 9:00 PM
Here is a very simple example of job (custom program) that I update every day with today's date as the POSTDATE parameter.
There are three files involved:
1) The shell script that does the heavy lifting
2) A template file created via jobdump and modified to have a place holder "POSTDATE" that gets updated with a CCYYMMDD value. PLEASE NOTE: WHEN MODIFYING JOB PARAMETERS IN A JOBDUMP OUTPUT FILE, YOU MUST REPLACE THE EXACT NUMBER OF CHARACTERS. For example, there are exactly 8 characters in my place holder POSTDATE, and there are eight characters in "20120222"
3) An output file to be loaded back in with the new job parameters.
This example was created on a Windows system, so you may have to make some minor tweaks, but you should be able to get through it. Just make sure you comment out the jqsubmit command until you are certain the job parameters are getting updated as expected.
You can create the template file by running the following command with the appropriate user name and jobname for your system:
jobdump -d -o JOB -v UserName MYWINDOWSDOMAIN\myusername -v JobName myjobname > myjobname.jobdum.sav
I generally drop the ksh file in GENDIR/bin. Then create a user token in tokendef that calls "ksh.exe myscript.ksh"
Create a job to call you token, and your done.
Let me know if you have any questions.
Attachments
Update_job_sample.zip
ric9d
Veteran Member
Posts: 76
2/24/2012 1:52 PM
SP, Im looking for something fully automated. No manual running, just like an LBI Report Schedule.
Greg Moeller
Veteran Member
Posts: 1498
2/24/2012 2:09 PM
Let me upload a different script for you. It may make more sense. We've been doing LBI & BackOffice reports for a while now ... the key is scheduling the job waiting for it to finish, and then setting the report schedule for the longest amount of time that the Lawson job ever takes.
Then throw in the routine that I posted before, or one of these other fine peoples solutions, and you should be set.
Cheers,
-Greg
P.S. On the script attached, you need to have a job called LBISALAU defined in Lawson for the Lawson user fsuser
Feel free to modify or change this script as much as you need. I only would ask that you leave me in the comments section as original author.
Attachments
LBIsalau.zip
SP
Veteran Member
Posts: 122
2/24/2012 2:20 PM
I guess I'm confused, what is manual about a scheduled job that updates the
job parameters of another job then submits the updated job?
On Fri, Feb 24, 2012 at 8:54 AM,
wrote:
> [image: LawsonGuru.com Logo] <
https://www.lawsonguru.com/
> Lawson
> Business Intelligence/Reporting/Crystal Forum Notification A message was
> posted to a thread you are tracking. *RE: MM280* Posted by: *
> ric9dantes*
> 02/24/2012 08:52 AM SP, Im looking for something fully automated. No
> manual running, just like an LBI Report Schedule.
> ------------------------------
>
> To view the complete thread and reply via your browser, please visit:
>
https://www.lawsonguru.co...rums/pm/lbi/mm280/2/
>
> You were sent this email because you opted to receive email notifications
> when someone posted and/or responded to a message on this forum.
> To unsubscribe to this thread please visit your user profile page and
> change your subscription options.
>
> Thank you,
> LawsonGuru.com
>
ric9d
Veteran Member
Posts: 76
2/24/2012 4:01 PM
SP - the first line of your response-- you update it everyday?
Here is a very simple example of job (custom program) that I update every day with today's date as the POSTDATE parameter.
SP
Veteran Member
Posts: 122
2/24/2012 4:20 PM
[quote]
Posted By ric9dantes on 02/24/2012 11:01 AM
SP - the first line of your response-- you update it everyday?
Here is a very simple example of job (custom program) that I update every day with today's date as the POSTDATE parameter.
[/quote]
Mea Culpa!! I guess it should have read "is updated every day..." ;-)
Please
login
to post a reply.
Page 2 of 2
<<
<
1
2