vscode-extension-for-zowe
vscode-extension-for-zowe copied to clipboard
SMFID is missing for active Jobs and Started Tasks
Describe the bug
Hi, first of all thank you for implementing my request to display the SMFID of the LPAR running a job or started task! Well done! However there seems to be a problem. As you can see from the screenshot below, the SMFID is missing for all active Jobs/STCs i.e it is there for ended jobs/stcs only. The SMFID should be displayed for both ended and running jobs/stcs.
thanks in advance
To Reproduce
Steps to reproduce the behavior:
- Go to 'Jobs'
- Specify a job filter for job/stc (should be a job/stc name with active and ended jobs/stcs)
- You should see the smfid is missing for active jobs/stcs
Expected behavior
The smfid should be displayed for ended AND running jobs/stcs
Screenshots
Desktop (please complete the following information):
- OS: Windows 10 Enterprise 22H2
- Zowe Explorer Version: V2.14.0
- Zowe CLI Version: 7.16.2
- Are you using Secure Credential Store? Yes
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.
Note: Look into zosmf return data.
Hi, I thought I'd help with the returned data. I used curl to get the job data of all JOBS/STCS and TSO users of one of our test LPARS in JSON format. Here is the curl command I used:
curl -X GET -k -u "user:password" --header "X-CSRF-ZOSMF-HEADER: dummy" --header "Accept: application/json" --header "Content-Type: text/plain" "https:
I have attached the z/OSMF return data. I have changed all sensitive information. As you can see exec-system and exec-member is returned for both active and ended jobs. I assume something is wrong with the code :-) jobs.json