If I understand your problem correctly, then all you simply need to do, is lock all three specific globals at the beginning of each process, and unlock them once you're done. This will ensure that all three globals are being worked on by the same process.
consider the two processes below:
l +(^A,^B,^C):60 e g Process1
s ^A = 1 h (($r(10)+1)*0.01)
s ^B = 1 h (($r(10)+1)*0.01)
s ^C = 1 h (($r(10)+1)*0.01)
l -(^A,^B,^C)
g Process1
;
;
;
Process2
l +(^A,^B,^C):60 e g Process2
s ^A = 2 h (($r(10)+1)*0.01)
s ^B = 2 h (($r(10)+1)*0.01)
s ^C = 2 h (($r(10)+1)*0.01)
l -(^A,^B,^C)
g Process2
;
;
;
Running these two process concurrently will still only result on all three ^A,^B,^C being worked on by the same process.
Hope this helps.
Ahmed
I wrote this function to get the Linux UTC time, which I'm pretty sure is what Redis time is showing.
USER>W (+$ZTS-47117*86400) + $J($P($ZTS,",",2),0,0) 1502473864
> time 1) 1502473916
Ahmed
Certifications & Credly badges:
Ahmed has no Certifications & Credly badges yet.
Global Masters badges:
Followers:
Ahmed has no followers yet.
Following:
Ahmed has not followed anybody yet.
Hi Rajesh,
It looks like there are few things going on here:
The following code should give some guidance in achieving what you want.
The code is based on a simple csv file based on your question. this is the contents on the sample.csv file
Notice in the first line the second field (10""02) contains a quote within the cell.
Notice that the name field contains a "," within the cell
Here is the Code:
Calling this Function should give us an output that looks like this :
Few key points to keep in mind :
you would do something like
Hope this helps.
Ahmed