Hello, how can I access a variable that is in another program. Imagine that I'm picking from a magazine with 10 spots to pick from. I get the next available spot, pick from the spot, then I want to mark that spot as empty.
CALL NEXT_AVAIL
CALL PICK
CALL INCREMENT
The variable storing the status of each pick spot is stored in the NEXT_AVAIL program. I don't want to mark the spot as empty until the part is actually empty, so I do that in the last program, INCREMENT.
So, I'm looking for the syntax to increment a variable in the NEXT_AVAIL program.