Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zos-jobs download and submit commands should use progress bars #2338

Open
t1m0thyj opened this issue Oct 31, 2024 · 1 comment
Open

zos-jobs download and submit commands should use progress bars #2338

t1m0thyj opened this issue Oct 31, 2024 · 1 comment
Labels
bug Something isn't working priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases

Comments

@t1m0thyj
Copy link
Member

t1m0thyj commented Oct 31, 2024

The zos-jobs submit command displays a progress bar when waiting for OUTPUT status and retrieving spool content:

} else if (parms.viewAllSpoolContent || parms.waitForOutput) {
if (parms.task != null) {
parms.task.statusMessage = "Waiting for " + responseJobInfo.jobid + " to enter OUTPUT";
parms.task.percentComplete = TaskProgress.THIRTY_PERCENT;
}
const job: IJob = await MonitorJobs.waitForJobOutputStatus(session, responseJobInfo);
if (!parms.viewAllSpoolContent) {
return job;
}
if (parms.task != null) {
parms.task.statusMessage = "Retrieving spool content for " + job.jobid +
(job.retcode == null ? "" : ", " + job.retcode);
parms.task.percentComplete = TaskProgress.SEVENTY_PERCENT;
}

There are other cases where zos-jobs commands are missing progress bars:

  • zos-jobs submit when waiting for ACTIVE status
  • zos-jobs download when waiting for ACTIVE or OUTPUT status
  • zos-jobs download when downloading multiple spool files
@t1m0thyj t1m0thyj added bug Something isn't working new The issue wasn't triaged yet labels Oct 31, 2024
Copy link

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

@JTonda JTonda added priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases and removed new The issue wasn't triaged yet labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low Legit issue but cosmetic or nice-to-have severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
Projects
Status: Low Priority
Development

No branches or pull requests

2 participants