Event-Scans of zOS-Console fail after Updates

Document ID : KB000125072
Last Modified Date : 22/01/2019
Show Technical Document Details
Issue:
After upgrading to a new version of the z/OS agent, all Event-Scans of z/OS-Console fail. these two errors can be found in the log:
 
fwrite error. error=65(EDC5065I A write system error was detected.)

get_record <-- (error
flocate: 59-EDC5059I An attempt to reposition a VSAM file failed.)
Resolution:
Solution: Re-initialization of UCEVENT VSAM
The file must contain at least one dummy record. Therefore, repeat the initialization steps. The name UC4Q.UCEVENT.VSAM.V11  is here an example. Take the name from your system's UCEVENT VSAM.
 
//INITVSAM  EXEC PGM=IDCAMS
//SYSPRINT  DD SYSOUT=*
//OUT1      DD DISP=SHR,DSN=UC4Q.
UCEVENT.VSAM.V11
//SYSIN     DD *
  REPRO INFILE(IN1) OFILE(OUT1)
//IN1       DD *
DUMMY
/*

To check content of VSAM please submit this jobstep:
 
//INITVSAM  EXEC PGM=IDCAMS 
//SYSPRINT  DD SYSOUT=*
//OUT1      DD DISP=SHR,DSN=UC4Q.UCEVENT.VSAM.V11
//SYSIN     DD *
  PARM GRAPHICS(CHAIN(SN))
  PRINT INFILE(OUT1)
/*