Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Displaying environmental data for COBOL


If you have Abend-AID installed at your site, you can use the AA SNAP command to display an Abend-AID Snapshot report containing environment specific run-time characteristics during a test session. If you have the VSAM, IDMS, IMS, or Db2 Abend-AID options, the report displays subsystem-related debugging information as follows:

IDMS

  • CA-IDMS environment data (subschema, commit point, status)
  • Subschema control (DB-Key information, current and error record/area)
  • Database command trace (database call and status trace)
  • DB-Key cross reference
  • Current records (record name, DB-Key)
  • Current sets (set name, record name, program reference, DB-Key)
  • Current areas (area name, record name, mode, program reference, DB-Key).

Db2

  • SQL return code
  • Host variable
  • SQL statement
  • Db2 release, subsystem, authorization, attach mode
  • Plan, bind date/time, isolation, acquire, release, validate
  • DBRM, precompile date/time, host language, SQL escape, SQL decimal
  • Host variables referenced
  • Table and column definition
  • SQLCA
  • Plan dependencies.

IMS

  • Function call
  • Current PCB (PCB address, database name, segment level, status code, process options, segment name, Key length, number of segments, Key feedback length)
  • JCB database call trace (call type, status code, description)
  • SSA.

VSAM

  • Data set ddname
  • Access method
  • Record and Key length
  • File request type.

For an example of displaying a Snapshot report and browsing the data, see Displaying the Abend-AID Snapshot Report.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*