Jobdump/Jobload

 4 Replies
 1 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member

I'm trying to transfer jobs between users on the same environment.  There's way too many steps and intracate details to manually set them up...  so...

jobdump -d -o Job -v UserName GHSNT\JoSchmo -v JobName AM220MTHLY| tee d:\tmp\jobdump.AM220MTHLY.dmp

jobload -m UserName GHSNT\JoSchmo GHSNT\JoeCool d:\tmp\jobdump.AM220MTHLY.dmp
Should return:
Validation mode.
Job UserName=GHSNT\JoeCool JobName=AM220MTHLY

Then after that, I need to add a -c to the command to actually write to the database

jobload -c -m UserName GHSNT\JoSchmo GHSNT\JoeCool d:\tmp\jobdump.AM220MTHLY.dmp
Updated Job UserName=GHSNT\JoeCool JobName=AM220MTHLY

But now user JoeCool cannot run the job... I can see it listed just fine in InforOS in the JobList but it has disappeard

from JoeCool's list to execute.  Is there something that I'm missing?

John Henley
Posts: 3355
Hi Greg, your steps look correct. Only thing might be an IOS cache refresh? Did you try pulling up the job under his username in jobdef in LID ?
Thanks for using the LawsonGuru.com forums!
John
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member

You may but LID is actually my preferred job configuration utility.
I've tried looking them up in LID - successfully.
Even in InforOS - success.  Perhaps I just need to log on and see what he's seeing?

Attachments
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member
OK, I've logged on and seen what the user can see... He cannot see the jobs that were set up for him under his profile. Question: Is there a different table to which the Multi-Step jobs belong to? He can only see (so far) the single step jobs that he's defined for himself.
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member
In case anyone else can benefit from this solution:
Turns out if you create a multi-step job and don't give security access to 1 step, it removes the entire job from your list of jobs. Granting security to all steps fixed the ability to see by the user.