zowe / zowe-cli-ftp-plugin

Zowe CLI FTP Plugin
Eclipse Public License 2.0
16 stars 12 forks source link

Unable to view or list spool files for job with "SYS FAIL" RC #158

Open t1m0thyj opened 3 months ago

t1m0thyj commented 3 months ago

Describe the bug

FTP plugin commands hang indefinitely for a job with an RC that is a string value like "SYS FAIL". This is a valid return code according the docs here: https://www.ibm.com/docs/en/zos/2.3.0?topic=output-view-job-page

Expected and actual results

The zowe zos-ftp list spool-files-by-jobid and zowe zos-ftp view spool-file-by-id commands hang indefinitely. I would expect them to return data successfully for a job with "SYS FAIL" RC.

Describe your environment

vNext (v3) version of FTP plugin Node 20.12.2 npm 10.5.0 macOS 14.4.1

Additional context

The same issue is present in the Zowe Explorer FTP Extension.

github-actions[bot] commented 3 months ago

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.