Skip to content

Can't view job output when a job has multiple unnamed steps #2315

@travatine

Description

@travatine

Describe the bug

I submitted a job which consisted of multiple FTP steps.
Each step has a DD named OUTPUT.
When I attempt to view the output from the jobs view, clicking the first OUTPUT DD shows the correct data,
all the other OUTPUT DDs shows the data from the first OUTPUT DD.

To Reproduce

Submit the following job using zowe vs code :

//CERT#014 JOB (#ACCT),'Copy Cert',MSGCLASS=A,CLASS=A,
// MSGLEVEL=(1,1),REGION=0M,NOTIFY=&SYSUID.,SYSAFF=ANY
//****
//* Copy the Client Cert to another system & import
//****
//*
// EXPORT SYMLIST=*
//*
//* Client certificate Config
//*
// SET CLEXPDSN='MVSBUILD.JCL.CLIENT.SIDE.CERT.TRAVIST.P12'
//*
//* Use ftp to the CERTHAUTH to remove system with the
//* correct attributes.
//*
//COPYCERT PROC HOST=
//*
//FTPSTP1  EXEC PGM=FTP,PARM=' (EXIT TIMEOUT 15'
//NETRC    DD  DISP=SHR,DSN=&SYSUID..NETRC
//OUTPUT   DD  SYSOUT=*
//INPUT    DD  DATA,SYMBOLS=EXECSYS
&HOST.
binary
mvsput '&CLEXPDSN.' (reallocate
quit
/*
//COPYCERT PEND
//*
// EXEC COPYCERT,HOST='pthbra1.21csw.com.au'
// EXEC COPYCERT,HOST='pthscb1.21csw.com.au'
// EXEC COPYCERT,HOST='pthsfc1.21csw.com.au'
// EXEC COPYCERT,HOST='pthekd1.21csw.com.au'
// EXEC COPYCERT,HOST='pthcoe1.21csw.com.au'
// EXEC COPYCERT,HOST='pthpcf1.21csw.com.au'
// EXEC COPYCERT,HOST='pthstg1.21csw.com.au'
// EXEC COPYCERT,HOST='pthsch1.21csw.com.au'
// EXEC COPYCERT,HOST='pthvsi1.21csw.com.au'
// EXEC COPYCERT,HOST='pthopj1.21csw.com.au'
// EXEC COPYCERT,HOST='pthsok1.21csw.com.au'
// EXEC COPYCERT,HOST='pthjcl1.21csw.com.au'
// EXEC COPYCERT,HOST='pthtrn1.21csw.com.au'
// EXEC COPYCERT,HOST='pthbro1.21csw.com.au'
// EXEC COPYCERT,HOST='pthbbq1.21csw.com.au'
// EXEC COPYCERT,HOST='pthbmr1.21csw.com.au'
// EXEC COPYCERT,HOST='pthsvs1.21csw.com.au'
// EXEC COPYCERT,HOST='pthsat1.21csw.com.au'
// EXEC COPYCERT,HOST='pthtsx1.21csw.com.au'

View the job in the Jobs view, click on the first "OUTPUT" file,
The output opens correctly.
Click on any of the other OUTPUT DDs - the content from the first OUTPUT DD is displayed.

Expected behavior

The OUTPUT DD is displayed for the corresponding step.
(i.e. there should be a different output file for each step , not just the first OUTPUT for every step.

Screenshots

The jobs view:

image

in SDSF , each step of the job has a separate OUTPUT file with a unique dsid:

Screenshot 2023-05-30 20 46 44

e.g. dsid-102
image

dsid-103
image

Desktop (please complete the following information):

  • OS: Debian GNU/Linux 11 (bullseye)
  • Zowe Explorer Version: v2.8.1
  • (Optional) Zowe CLI Version: zowe --version shows "7.16.4"
  • (Optional) Are you using Secure Credential Store? no

Additional context

The JCL does not have step names , which is valid according to the IBM z/OS 2.5 JCL Reference:
( https://www.ibm.com/docs/en/zos/2.5.0?topic=d-name-field-1 )

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-mediumNot functioning - next quarter if capacity permitsseverity-mediumBug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions