Multi Product line in COBOL PROGRAM ??

 4 Replies
 0 Subscribed to this topic
 11 Subscribed to this forum
Sort:
Author
Messages
nlmoran
New Member
Posts: 0
New 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
New Member
Posts: 0
New 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
Posts: 3355
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