Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all!
Is it possible to dynamically load a different file on the BINARY load statement depending on the environment (TEST, PROD)?
Best regards,
Hi Sérgio,
There is no way to do that in the script of the file. The BINARY sentence must be the first, and must not have any conditional, variable, etc. as parameter other than the file it must load.
What you can do instead is to create a task in the middle that will check first the name of the server, then upon success or failure, trigger one (Test) or the other (Prod).
Hope that helps.
Miguel