PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08/03/2016 8:22 PM by  petegreen
Running AGS transactions from command line in version 10
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
petegreen
Consultant
Private
New Member
(1 points)
New Member
Posts:1


Send Message:

--
08/03/2016 8:22 PM

    In version 9.0.1 we were able to run ags.exe from the command line using a shell script by loading in a few environment variables and then running ags.exe from %GENDIR%/cgi-bin/ags.exe

    It looks like the executable is still there but for some reason it produces an error as shown below.

    I'm setting my env variables as such:

    set LOGIN=NT00000002
    set RMID=lawson
    set REMOTE_USER=lawson
    QUERY_STRING="?&_EVT=ADD&_RTN=MSG&_TDS=Ignore&_LFN=TRUE&_PDL=TEST&_TKN=CU01.1&FC=Add&_f2=XXX&_f3=XDOLLAR&_OUT=TEXT"

    and then ags.exe should add a currency code to CU01.1 but instead I get this output below. 

    Is there a different way of running transaction erp in version 10?
    Is there perhaps a different query string?

    We really need this to get one of our interfaces to work properly.


    OUTPUT: 

    Content-type: text/html; Charset=ISO-8859-1
    Pragma: No-Cache
    Expires: Mon, 01 Jan 1990 00:00:01 GMT








    You are not authorized to post a reply.