What kind of job is relevant ?
copy from Cedar to Unix n Input files,
execute a one line command (may be with ";" imbedded, but no CR)
copy from Unix to Cedar p Output files.
Use of the interface: one simple example
Store: BridgeSubmit.TransferProc ~ {
PROC [id, wDir: ROPE, s: IO.STREAM] RETURNS [msg: ROPE]
localName : ROPE ← Rope.Cat[wDir, id, ".input"];
remoteName: ROPE ← Rope.Cat[remoteDir, id, ".in"];
msg ← BridgeFTPOps.StoreFile[s, remoteName, localName, msgStream];
};
Retrieve: BridgeSubmit.TransferProc ~ {
PROC [id, wDir: ROPE, s: IO.STREAM] RETURNS [msg: ROPE]
localName : ROPE ← Rope.Cat[wDir, id, ".output"];
remoteName: ROPE ← Rope.Cat[remoteDir, id, ".out"];
msg ← BridgeFTPOps.RetrieveFile[s, remoteName, localName, msgStream];
};
msg ← BridgeSubmit.Register[id, cmd, wDir, Store, Retrieve ];
will store one input file on the vax, then execute the line cmd, then retrieve one output file.