Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

The DIAGNOSE Utility

The DIAGNOSE utility is an online utility that can be used to diagnose problems, especially problems with other DB2 utilities. Sample JCL is provided in Listing 31.9.

Listing 31.9. DIAGNOSE JCL

//DB2JOBU  JOB  (UTILITY),'DB2 DIAGNOSE',MSGCLASS=X,CLASS=X,
//        NOTIFY=USER
//*
//****************************************************************
//*
//*                    DB2 DIAGNOSE UTILITY
//*
//****************************************************************
//*
//UTIL EXEC DSNUPROC,SYSTEM=DSN,UID='DIAGNOSE',UTPROC="
//*
//*  Display all records in the SYSIBM.SYSUTIL DB2 Directory table
//*
//DSNUPROC.SYSIN    DD  *
    DIAGNOSE DISPLAY SYSUTIL
/*
//


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial