John: Here is an approach that I recently used that seems to be working
out. It allows users to use the job status function to see when the job is
complete.
1. DFU a record into the TRNSTS file, see the fields below for details on
the record.
2. I then added a program to the beginning and end of the process that I
was running.
3. The first program would chain to this record and update the user, date,
time, and TRST=*INITIATED
4. The last program would chain to this record and update the user, date,
time, and TRST=*COMPLETED
We keep chaining out to the same record, but if you have multiple people
running this function at the same time, you may need to come up with a way
to generate the tokens that does not conflict with the XA tokens, or figure
out what program XA calls and use the same program.
TSGP=CALLRPG(Or whatever you want here to describe the task)
TSTK=CALLRPG(Or whatever you want here to describe the task)
PRSQ=
TSPR=
TRID=UPDFILE(Or whatever you want here to describe the transaction)
TRDS=(Description of the process that the user will see through transaction
status)
TRST=*COMPLETE
TRMD=
APER=
APWN=
USER=(User ID)
TRDT=(Transaction Date)
TRTM=(Transaction Time)
JBNO=
JJIS=
SSTK=
TRKD=(Same as TRDS)
TRRC=
PRMD=*INJOBQ
TRCD=0
TRTC=0
UU25=0
Toby A. Yost
Senior Business Consultant
Phone: 570-956-5442
Fax: 570-427-0176
Email: tyost@xxxxxxxxxxxxxx
-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx [mailto:mapics-l-bounces@xxxxxxxxxxxx]
On Behalf Of John Furniss
Sent: Wednesday, May 21, 2008 2:28 PM
To: mapics-l@xxxxxxxxxxxx
Subject: [MAPICS-L] RPG message to Powerlink
All:
I need to have my RPG program display a message to the
Powerlink user. I set up an 'Action' on the Customer Order object
through Integrator to call a host RPG program that sets some dates that
I pass to the program. I want to display a message to the Powerlink
(Mapics R7) user telling them the program has run successfully. I am
stuck on how to get this done. Has anyone else tried this?
Thanks,
John Furniss
Allied Machine & Engineering, Corp
Phone: 330-343-4283, ext. 8371
email: jfurniss@xxxxxxxxxxxxxxxxx
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.