Skip to content

Commit 14702c1

Browse files
André Marcel Gutiérrez BenítezAndré Marcel Gutiérrez Benítez
authored andcommitted
Return values to module
1 parent 4d8102c commit 14702c1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

plugins/modules/zos_job_submit.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,31 @@
364364
The name of the program found in the job's last completed step found in the PGM parameter.
365365
type: str
366366
sample: "IEBGENER"
367+
system:
368+
description:
369+
The job entry system that MVS uses to do work.
370+
type: str
371+
sample: STL1
372+
subsystem:
373+
description:
374+
The job entry subsystem that MVS uses to do work.
375+
type: str
376+
sample: STL1
377+
cpu_time:
378+
description:
379+
Sum of the CPU time used by each job step, in microseconds.
380+
type: int
381+
sample: 5
382+
execution_node:
383+
description:
384+
Execution node that picked the job and executed it.
385+
type: str
386+
sample: "STL1"
387+
origin_node:
388+
description:
389+
Origin node that submitted the job.
390+
type: str
391+
sample: "STL1"
367392
sample:
368393
[
369394
{
@@ -584,6 +609,11 @@
584609
"creation_date": "2023-05-03",
585610
"creation_time": "12:13:00",
586611
"queue_position": 3,
612+
"subsystem": "STL1",
613+
"system": "STL1",
614+
"cpu_time": 1,
615+
"execution_node": "STL1",
616+
"origin_node": "STL1"
587617
}
588618
]
589619
"""
@@ -1268,6 +1298,11 @@ def parsing_job_response(jobs_raw, duration):
12681298
"steps": job.get("steps"),
12691299
"job_class": job.get("job_class"),
12701300
"svc_class": job.get("svc_class"),
1301+
"system": job.get("system"),
1302+
"subsystem": job.get("subsystem"),
1303+
"origin_node": job.get("origin_node"),
1304+
"cpu_time": job.get("cpu_time"),
1305+
"execution_node": job.get("execution_node"),
12711306
"priority": job.get("priority"),
12721307
"asid": job.get("asid"),
12731308
"creation_date": job.get("creation_date"),

0 commit comments

Comments
 (0)