Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Executing a program after transport using XPRA

neelsap2
Explorer
0 Kudos

Hello experts,

We have a requirement to automatically activate a service after its transported. We are trying to use XPRA to run program RSICF_SERVICE_ACTIVATION, however this is not working for us. We tried sending in a variant through the transport by adding LIMU VARX , that it would use this for the execution as some blogs suggested. But that's not working either.

The transport logs show that the execution of the program starts but finishes without actually executing the program.

Both the start and end time stamps are the same.

Any suggestions on how we can get this to work.

How can we set the variant for RSICF_.. program that gets executed through XPRA.?

thanks,

Neel

We tried to do the following

1) Created a transport of the variant. it creates a line in the transport with LIMU VARX RSICF_SERVICE_ACTIVATION            Z_VARIANT

we added the same string in XPRA 'RSICF_SERVICE_ACTIVATION            Z_VARIANT'

but that didn't work either.

2) we created a variant with 'Only for Background processing' switched ON. but that didn't work.

3) created a Z-program which Submits report RSICF_.. using the appropriate variant.

added the Z-program as XPRA. in the transport.

The transport ends in error with

Program canceled (job RDDEXECL, number 11232400)

See job log

Execution of programs after import (XPRA)

The Job log shows : Variant Z_VARIANT does not exist.

1 REPLY 1

Former Member
0 Kudos

Schedule RSICF_SERVICE_ACTIVATION with your variant to run automatically as a background job at the end of the transport event.