*SNAP command

From m204wiki
Revision as of 15:54, 4 February 2019 by DCameron (talk | contribs) (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Privileges
System administrator or operator
Function
Requests that Model 204 generate a formatted dump

Syntax

*SNAP [n]

Where:

n is one of the following options:

Option

Output all...

1 or X'01'

Table A and FCT disk buffers for the current file and no CCATEMP disk buffers.

2 or X'02'

Table B disk buffers for the current file and no CCATEMP disk buffers.

4 or X'04'

Table C disk buffers for the current file and no CCATEMP disk buffers.

8 or X'08'

Table D disk buffers for the current file and no CCATEMP disk buffers.

16 or X'10'

Disk buffers requested by the previous settings for all files open by this user and no CCATEMP disk buffers. This setting cannot stand alone; it must be specified with one or more of the previous settings.

32 or X'20'

Data structures except those that pertain to record locking, resource locking, and disk buffers.

64 or X'40'

Data structures that pertain to record locking and resource locking.

128 or X'80'

CCATEMP disk buffers and no Model 204 file disk buffers.

If you do not specify a SNAP option, *SNAP produces a SNAP that includes the module maps, allocated storage map, user's server, KOMM, disk buffers containing Model 204 file pages held by the current user (maximum of 4), file directory of current file, and patch information.

Syntax notes

The options can be added together. For example, to output the disk buffers for Table B and the record and resource locking data structures:

*SNAP 66 (or *SNAP X'42')

Usage notes

The *SNAP command causes Model 204 to generate a formatted dump. Issue *SNAP only for debugging purposes when requested by Technical Support.

*SNAP accepts MSGCTL SNAPSEL options. This allows you to specify a number of different types of *SNAP dumps on the *SNAP command line.