using the COMMON across jobs
Posted: Mon Apr 27, 2015 1:40 am
I have a job which reads a table into a routine. The routine contains a dynamic array in a common area which stores each column individually for each row.
The common uses the following syntax
This job is called from a job sequence. Once the job has run, I have another routine to read from the dynamic array from the same memory area.
However, when I run the job sequence, it fails to find the data in the dynamic array.
I have tested all of the routines to read and write to the dynamic array by running them in a test job sequence via uservariable routines. e.g.
uv1-> Store Dynamic array routine
uv2-> Get Dynamic array values for a given row.
These work fine.
My question is whether a Common area can be used between a job and a job sequence.
The common uses the following syntax
Code: Select all
COMMON /x/ a b
However, when I run the job sequence, it fails to find the data in the dynamic array.
I have tested all of the routines to read and write to the dynamic array by running them in a test job sequence via uservariable routines. e.g.
uv1-> Store Dynamic array routine
uv2-> Get Dynamic array values for a given row.
These work fine.
My question is whether a Common area can be used between a job and a job sequence.