zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 85 forks source link

zowe tso issue command "ISPSTART CMD(%XXXX)" hangs on first invocation, but works on subsequent calls #2090

Closed savaresejt closed 3 months ago

savaresejt commented 3 months ago

Describe the bug

Expected and actual results

Describe your environment

Additional context I'm working on a script and it has confusing behavior with the Zowe CLI. When I execute the REXX with ISPSTART the first invocation it will start up a new address space, and then hang forever. After I cancel the command in powershell with control-c; I can rerun it and it works every time, as long as the initial address space is started up.

I have only noticed this behavior with REXX scripts started with ISPSTART and it's only on the first execution. Minimal rexx to recreate the behavior is: address ispexec "CONTROL ERRORS RETURN" EXIT 0

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.

savaresejt commented 3 months ago

Disregard, we found the error was happening because a message popping up require the enter key to be pressed was preventing the address space from terminating to fix it we added this to the logon procedure.

//ISPLOG   DD SYSOUT=U,                        
//         DCB=(LRECL=125,BLKSIZE=129,RECFM=VA)