AndreasSchwarzinger608619

ACTIVATE_UC_OBJECT

Discussion created by AndreasSchwarzinger608619 on Dec 15, 2017
Latest reply on Dec 19, 2017 by AndreasSchwarzinger608619
hello,

ich have a process like this:

:SET &HND# = PREP_PROCESS_FILE...
:PROCESS &HND#
       cp file to target
       ls -la file on target
!   beladung, warten
       echo  "start JOBP.DXE.LDS.FILE.LOAD"
:      SET &JNR# = ACTIVATE_UC_OBJECT(JOBP.DXE.LDS.FILE.LOAD,WAIT,,,, PASS_VALUES)
:      switch &JNR#

the file on target is input for  JOBP.DXE.LDS.FILE.LOAD
on the first run the target is empty, i copy the file , the ls command shows that the file is now there but JOBP.DXE.LDS.FILE.LOAD says the file on target is missing.
if i start a second run immediately for testing purposes, JOBP.DXE.LDS.FILE.LOAD works fine, because the file was already there.

i looks like that JOBP.DXE.LDS.FILE.LOAD is started before the copy,  but I can not believe that
what is my mistake?

the job ist generated@runtime.

thanks
andreas


Outcomes