PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12/03/2007 7:28 PM by  John Henley
Multi Product line in COBOL PROGRAM ??
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
nlmoran
Veteran Member
(121 points)
Veteran Member
Posts:53


Send Message:

--
12/03/2007 1:56 PM
    Can you access tables in LOGAN Product LIne from
    another PRODUCT LINE in COBOL?
    I am trying to get to WEBUSER in a Batch Application program.
    Sam Simpson
    Private
    Private
    Veteran Member
    (673 points)
    Veteran Member
    Posts:239


    Send Message:

    --
    12/03/2007 2:29 PM
    I don't think that is possible. Here's what i did to access WEBUSER.
    1. Create a 4GL cobol program in LOGAN under LO system code. This programs creates all webuser information such as email address as an index file and the output is in the common /work directory.
    2. Schedule this 4GL to run everyday.
    3. Have all your othe batch programs reference the index file from the work directory.
    nlmoran
    Veteran Member
    (121 points)
    Veteran Member
    Posts:53


    Send Message:

    --
    12/03/2007 3:55 PM
    Thanks:
    That will work.
    That's what I am trying to do get email address. In my case
    from the requester index. You would think they would have
    that option already built in. I learn something new everyday.
    Back to the API manuals
    Sam Simpson
    Private
    Private
    Veteran Member
    (673 points)
    Veteran Member
    Posts:239


    Send Message:

    --
    12/03/2007 5:35 PM
    Another option I did long time ago was to create a processflow to get to the webusers(DME) and then update the email address of the corresponding EMPLOYEE record(AGS).
    John Henley
    Private
    Private
    Senior Member
    (9563 points)
    Senior Member
    Posts:3205


    Send Message:

    --
    12/03/2007 7:28 PM
    There's an API you can use to do it from COBOL: 900-RD-LOOKUP-WEBUSER.
    Take a look at HRLRD in the WF source code and you'll get an idea of what it can do...
    Thanks for using the LawsonGuru.com forums!
    John
    You are not authorized to post a reply.