Multi Product line in COBOL PROGRAM ??

Sort:
You are not authorized to post a reply.
Author
Messages
nlmoran
Veteran Member
Posts: 53
Veteran Member
    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
    Veteran Member
    Posts: 239
    Veteran Member
      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
      Posts: 53
      Veteran Member
        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
        Veteran Member
        Posts: 239
        Veteran Member
          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
          Senior Member
          Posts: 3348
          Senior Member
            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.