PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12/28/2015 4:01 PM by  mikeP
AGS call to modify a job?
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mikeP
Private
Private
Veteran Member
(407 points)
Veteran Member
Posts:151


Send Message:

--
12/28/2015 10:59 AM

    I have a job created with the jobdef utility that executes a token assigned to a cmd file script.  I'm trying to submit the job from a Design Studio button, but I need to update the job's parameter string first.  If this was a static job, that'd be done in jobdef, but the DS form takes in parameter values that need to be updated into the job.

    I'd like to use the DS API builder to rough out the AGS call, but my job isn't listed, only delivered Lawson forms, like PR530.

    Is it possible to use AGS to modify a jobdef rather than delivered Lawson form, and if so, what's the best way to figure out the call syntax?

     

    Thanks,

     

    John Henley
    Private
    Private
    Senior Member
    (9650 points)
    Senior Member
    Posts:3234


    Send Message:

    --
    12/28/2015 2:46 PM
    Mike, the AGS calls (and the resulting Erp transaction servlet) only work against Lawson's COBOL tokens, not environment tokens like the one you put in front of your cmd file script. What LSF version are you using? For v9, you can try using cgi-lawson/xjobdef.exe, and v901/v10 you can use the /lawson-ios/updatejobstep/ servlet.
    Thanks for using the LawsonGuru.com forums!
    John
    mikeP
    Private
    Private
    Veteran Member
    (407 points)
    Veteran Member
    Posts:151


    Send Message:

    --
    12/28/2015 4:01 PM
    Thanks, we are on 9.01 and working on a 10 conversion, so I searched for updatejobstep and there is nothing about it here or at InforXtreme. (I couldn't even find this post at lawsonguru.com!)

    How might I find documentation for it?
    You are not authorized to post a reply.