Hi
BenSumner612127 The only way i could imagine is to use SQL. Use an SQLI variable with that select:
select oh.oh_name, opu.opu_name from opu, oh
where OPU.OPU_oh_idnr = oh.oh_idnr and oh_name = '&NAME#'
and oh_deleteflag = 0 and oh_client = &$CLIENT#;
And in a job you use:
:SET &NAME# = SYS_ACT_ME_NAME()
:SET &HND#=PREP_PROCESS_VAR(VARA.SQLI.NEW.2)
:PROCESS &HND#
: SET &VK# = GET_PROCESS_LINE(&HND#, 3)
: PRINT "&VK#"
:ENDPROCESS
:CLOSE_PROCESS &HND#
With SYS_ACT_ME_NAME you write the name of the job to the variable &NAME#. And this name is then searched for in the SQLI variable. The predefined variable &$CLIENT# is used to give the client the job runs in.
The print then shows the Prompt-Sets the job has.
Maybe that can help you.