vscode-extension-for-zowe
vscode-extension-for-zowe copied to clipboard
USS command fails when JCL submitted via VScode
Describe the bug
Same USS related JCL submitted through VScode fails with RC=0012.
To Reproduce
Steps to reproduce the behavior:
- 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') //*
- go to jobs and see error log with RC=12
Expected behavior
Job should complete with RC=00
Screenshots
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
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.
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
This works with explorer and CLI both I found that it reads from sysin from column no. 9 in the jcl
Hey @mohit28290 Thanks for confirming and closing the issue! 😋
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
Hey "Ghost", I believe we should open another issue regarding this.