I would need to unload db2 data from production system (DBP1), and then load this data into appl system (DBA1) in the same job. Production and appl systems are defined in different mainframe machines SY2 & SY4.
I am running my jcl in appl system, using
RUN PROGRAM(DSNTIAUL) PLAN(DSNTIAUC) -
and A.SYSIN DD DBP1.CC.CURRENCY
I am getting SQLCODE = -904.
Would you know how to perform an unload from a different db2 system? THANKS!!