Hi All,
I am using the above routine for my job. But I can't use it for more than one entity. It causes problems. I need to store almost 5 entities this way.
Or I need to use something else. Any help will be appreciated.
Thanks in advance.
Sylvan Rydes
RowProcGetPreviousValue
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 47
- Joined: Wed Apr 12, 2006 12:13 pm
RowProcGetPreviousValue
sylvan rydes
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You need either to adapt the code, or to use five pairs of stage variables. The code was only written to remember one value. The change would not be difficult.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 232
- Joined: Fri Sep 30, 2005 4:52 am
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
COMMON storage is not an obstacle for routines used in server jobs.
This misconception seems to have arisen because use of variables declared to be COMMON will prevent a server job that uses them from being encapsulated in a shared container and used in a parallel job. That is all.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.