Loop in VSAM record management code

When processing a VSAM data set, a loop may occur in VSAM record management code.

Symptoms

How to investigate

  1. Obtain system dump of address space with the following SDATA: SDATA=(ALLNUC,CSA,GRSQ,LPA,LSQA,PSA,RGN,SQA,SUM,SWA,TRT)
  2. If the monitor includes detail on the data set that the last request was for, obtain an IDCAMS LISTCAT ALL of the data set and any associated data sets such as AIX’s
    //STEP1    EXEC  PGM=IDCAMS,REGION=0M	  
    //SYSPRINT DD    SYSOUT=A	 
    //SYSIN    DD *   
      LISTCAT ENT(VSAM.DATA.SET) ALL
  3. Submit the dump, LISTCAT output (if available), joblog from the job that is hung, and syslog to the Support Center.

Recovery actions

Cancel or shutdown the hung job and attempt to restart.

Actions to avoid recurrence