vscode-extension-for-zowe icon indicating copy to clipboard operation
vscode-extension-for-zowe copied to clipboard

USS command fails when JCL submitted via VScode

Open mohit28290 opened this issue 2 years ago • 1 comments

Describe the bug

Same USS related JCL submitted through VScode fails with RC=0012.

To Reproduce

Steps to reproduce the behavior:

  1. Go to job, submit mount zfs JCL as sample below

//MOUNT EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT) //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * PROFILE MSGID WTPMSG oshell umask 0022; + mkdir -p /z/mg894880/zs20/pax MOUNT + FILESYSTEM('MG894880.ZS20.ZFS') + MOUNTPOINT('/z/mg894880/zs20/pax') + MODE(RDWR) TYPE(ZFS) PARM('AGGRGROW') //*

  1. go to jobs and see error log with RC=12

Expected behavior

Job should complete with RC=00

Screenshots

image

image

image

Desktop (please complete the following information):

OS: Windows 10 Zowe Explorer Version: 1.72 (Optional) Zowe CLI Version: 7.5.1 (Optional) Are you using Secure Credential Store?

Additional context

mohit28290 avatar Oct 11 '22 10:10 mohit28290

Thank you for creating a bug report. If you haven't already, please ensure you have provided steps to reproduce it and as much context as possible.

github-actions[bot] avatar Oct 11 '22 10:10 github-actions[bot]

hey @mohit28290, Could you submit the same job with the CLI? Curious if this is something that's happening due to a common SDK method between CLI and ZE

zFernand0 avatar Jan 05 '23 18:01 zFernand0

This works with explorer and CLI both I found that it reads from sysin from column no. 9 in the jcl

ghost avatar Jan 31 '23 14:01 ghost

Hey @mohit28290 Thanks for confirming and closing the issue! 😋

zFernand0 avatar Jan 31 '23 15:01 zFernand0

But why explorer and cli don't recognise stuff for columns 1-8 should we keep this issue open and work on it or the workaround is fine for this issue and open another issue regarding the same

ghost avatar Jan 31 '23 16:01 ghost

Hey "Ghost", I believe we should open another issue regarding this.

zFernand0 avatar Sep 06 '23 16:09 zFernand0