zowe / zss

Zowe System Services Server for enabling low-level microservices
Eclipse Public License 2.0
13 stars 45 forks source link

Some ZIS messages are not printed when a data set used as output #665

Open ifakhrutdinov opened 9 months ago

ifakhrutdinov commented 9 months ago

Describe the bug

Due to some implementation details of the Metal C version of printf in zowe-common-c (it creates a DCB per TCB), it will not work properly with data set outputs when used from multiple TCBs.

Steps to Reproduce

  1. Use a ZIS plug-in that spawns TCBs.
  2. Specify a data set as output in SYSPRINT.
  3. Print a message from the plug-in's TCB.
  4. The plug-in message will be missing in the data set.

Expected behavior

All messages should be present in the data set.

Describe your environment

The environment is irrelevant: all Zowe versions are affected.