About Export parameter
Hello all,
I am firing one program in background by using JOB_OPEN, JOB_SUBMIT fuction modules but this am doing thruoug another program. means in a program am firing a another program in background using above functions, but while doing this am passing variables using Export.
e.g.
Report A.
Export var1 to memory id 'var1'.
JOB_SUBMIT for Report B.
******************************* Report B as follows
Report B.
Import var1 from memory id 'var1'.
****then code by using variable var1
In this case am not getting the value of var1 in report B.
but if I use SUBMIT command to call program B instead of using JOB_SUBMIT. then axport variable is passing properly.
so how can i pass value of var1 so that i can use JOB_SUBMIT function
Hi Santosh,
You cannot pass variables via memory to a batch-job - the memory is only known within one session. Use IMPORT TO / EXPORT FROM DATABASE.