EMBED_SCRIPT
The EMBED_SCRIPT command allows you to call another script from within a script or to load a workspace file. This can be useful in many situations. For example, if you have a common set of data files that you want to load for each script operation, you could simply create a script that loaded those files, then embed that script within your other scripts.
The following parameters are supported by the command:
- FILENAME - full path to script or workspace file to run
- SKIP_UNLOAD_ALL - specifies whether or not the first UNLOAD_ALL or UNLOAD_LAYER command in the script file being run should be skipped. This is useful for embedding workspace files which typically unload everything to start with. Use SKIP_UNLOAD_ALL=YES to skip the first UNLOAD_ALL or UNLOAD_LAYER command.