Download templates/workflow.rpgle from Snapkitty/bio-semantics: direct link, hf CLI and curl.
- Browser
- Download file 815 Bytes
-
https://huggingface.co/Snapkitty/bio-semantics/resolve/main/templates/workflow.rpgle
- Command line
-
hf download hf://Snapkitty/bio-semantics/templates/workflow.rpgle
-
curl -L -o workflow.rpgle https://huggingface.co/Snapkitty/bio-semantics/resolve/main/templates/workflow.rpgle
815 Bytes
| **free | |
| ctl-opt dftactgrp(*no) actgrp(*caller); | |
| dcl-pr RunDeclaredStage extpgm('RUNSTAGE'); | |
| workflowId char(64) const; | |
| runId char(64) const; | |
| stageId char(32) const; | |
| manifestId char(128) const; | |
| stageStatus char(16); | |
| end-pr; | |
| dcl-pi *n; | |
| workflowId char(64) const; | |
| runId char(64) const; | |
| manifestId char(128) const; | |
| end-pi; | |
| dcl-s stageStatus char(16) inz('NOT_RUN'); | |
| // RUNSTAGE is a required external adapter, not supplied here. | |
| // It resolves the immutable manifest, invokes the declared stage, | |
| // and records source/destination identities and actual execution evidence. | |
| RunDeclaredStage(workflowId : runId : 'PYTHON_PIPELINE' : | |
| manifestId : stageStatus); | |
| if stageStatus <> 'SUCCEEDED'; | |
| dsply ('Workflow status: ' + %trim(stageStatus)); | |
| endif; | |
| *inlr = *on; | |
| return; | |