How do I submit a long-running job to SLC Hub to avoid waiting for Workbench to run it?
Question: Using Workbench with Hub, I have a job that I know will take several hours to run. How do I submit this to the Hub so that I can quit Workbench and return later to get my job results?
Answer: Use the Hub 'Pipeline' facility as follows:
1. Use your browser to log into the Hub portal using the same URL (hostname and port) that you use when logging into Hub from the Workbench.
2. Click on 'Deployment Services' and then 'Pipelines' and 'Manage Pipelines'.
3. Create a new pipeline by clicking '+ Pipeline'. Name your pipeline when prompted.
4. Drag the 'SLC Program' node onto the blank canvas alongside the Start node. Connect the Start to the new node with an arrow using click and drag.
5. Double click on the new node to open it up.
6. Either paste your SAS language program text into the 'Source' area; or type the line %include "C:\Users\....\filename.sas"; - substitute the full path to the filename (which must be a valid location on the Hub worker machines.)
7. Click the 'Save and Run' button (top right on the pipelines tool bar).
Later you can return to the hub portal in your browser, navigate to Pipelines > Runs. View your pipeline run and click on the 'eye' button of the node to find your log and listing outputs.