Open kraabrsg opened 7 months ago
Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.
This is a good enhancement. 😋
In the meantime, this workaround might help
const owner = "USERID";
await GetJobs.getJobs(session, owner);
/*
{
owner: 'USERID',
phase: 20,
subsystem: 'JES2',
'phase-name': 'Job is on the hard copy queue',
'job-correlator': 'T00.......:',
type: 'TSU',
url: 'https://HOST:PORT/zosmf/restjobs/jobs/T00.......%3A',
jobid: 'TSU012345',
class: 'TSU',
'files-url': 'https://HOST:PORT/zosmf/restjobs/jobs/T00.......%3A/files',
jobname: 'JOBNAME',
status: 'OUTPUT',
retcode: 'CC 0000'
},
*/
await GetJobs.getJobsCommon(session, {owner, execData: "Y"});
/*
{
owner: 'USERID',
phase: 20,
'exec-member': 'MEMBER',
'exec-ended': '2024-01-02T15:58:00.600Z',
subsystem: 'JES2',
'phase-name': 'Job is on the hard copy queue',
'job-correlator': 'T00.......:',
type: 'TSU',
url: 'https://HOST:PORT/zosmf/restjobs/jobs/T00.......%3A',
jobid: 'TSU012345',
'exec-system': 'SYSTEM',
'exec-submitted': '2024-01-02T15:57:58.320Z',
class: 'TSU',
'files-url': 'https://HOST:PORT/zosmf/restjobs/jobs/T00.......%3A/files',
jobname: 'JOBNAME',
status: 'OUTPUT',
retcode: 'CC 0000',
'exec-started': '2024-01-02T15:57:58.350Z'
},
*/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Added the keep
label since this is a good first issue 😋
Is your feature or enhancement request related to a problem or limitation? Please describe
Hi,
when using
the returned IJob does not contain a date and timestamp field of the spool job.
Describe your enhancement idea
Add a date and timestamp field.
Describe alternatives you've considered
Provide any additional context