How to print an Endevor element listing from the LISTLIB?

Document ID : KB000107727
Last Modified Date : 26/07/2018
Show Technical Document Details
Introduction:
In the Generate processor, a BSTCOPY step is failing with a RC16 for 4 users .  But the same generate processor is working fine for other users. There is no information in the processor log so unable to find the cause of the abend.  
Question:
The generate processor is doing a CONLIST and storing all the outputs to a LISTLIB.

Is there a way to check the listing library and find the cause of the RC 16 in the BSTCOPY step?
Answer:
If logged into Endevor or QuickEdit, use the LL - List Listing, option. 

To print the listing, run the following Print element Listing job and review the errors in the BSTCOPY step: 
 
//PRTLSTNG EXEC PGM=NDVRC1,DYNAMNBR=1500,PARM='C1BM3000',REGION=4096K 
//C1PRINT DD SYSOUT=* 
//C1MSGS1 DD SYSOUT=* 
//SYSOUT DD SYSOUT=* 
//SYMDUMP DD DUMMY 
//SYSUDUMP DD SYSOUT=* 
//BSTIPT01 DD * 
  PRINT ELEMENT '?????' 
     FROM ENV   '?????' 
          SYSTEM '?????' 
          SUBSYSTEM '?????' 
          TYPE '?????' 
          STAGE '?' 
      OPTIONS LISTING 
  . 
/*