Forums
S3 Interfaces/Conversion
Multi Product line in COBOL PROGRAM ??
Author
Messages
nlmoran
Veteran Member
Posts: 53
12/3/2007 6: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
Veteran Member
Posts: 239
12/3/2007 7: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
Posts: 53
12/3/2007 8: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
Veteran Member
Posts: 239
12/3/2007 10: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
Senior Member
Posts: 3348
12/4/2007 12:28 AM
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...