*SNAP command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 14: Line 14:
<table>
<table>
    
    
<tr> <th>
<tr class="head"> <th>
<p>Option</p>
<p>Option</p>
</th> <th>
</th> <th>
Line 23: Line 23:
<p>1 or X'01' </p>
<p>1 or X'01' </p>
</var></th> <td>
</var></th> <td>
<p>Table A and FCT disk buffers for the current file and no CCATEMP disk buffers.</p>
<p>[[Table_A_(File_architecture)|Table A]] and [[File_Control_Table_(File_architecture)|FCT]] disk buffers for the current file and no [[Using_the_system_scratch_file_(CCATEMP)|CCATEMP]] disk buffers.</p>
</td> </tr>
</td> </tr>
   
   
Line 29: Line 29:
<p>2 or X'02'</p>
<p>2 or X'02'</p>
</var></th> <td>
</var></th> <td>
<p>Table B disk buffers for the current file and no CCATEMP disk buffers.</p>
<p>[[Table_B_(File_architecture)|Table B]] disk buffers for the current file and no CCATEMP disk buffers.</p>
</td> </tr>
</td> </tr>
   
   
Line 35: Line 35:
<p>4 or X'04'</p>
<p>4 or X'04'</p>
</var></th> <td>
</var></th> <td>
<p>Table C disk buffers for the current file and no CCATEMP disk buffers.</p>
<p>[[Table_C_(File_architecture)|Table C]] disk buffers for the current file and no CCATEMP disk buffers.</p>
</td> </tr>
</td> </tr>
   
   
Line 41: Line 41:
<p>8 or X'08'</p>
<p>8 or X'08'</p>
</var></th> <td>
</var></th> <td>
<p>Table D disk buffers for the current file and no CCATEMP disk buffers.</p>
<p>[[Table_D_(File_architecture)|Table D]] disk buffers for the current file and no CCATEMP disk buffers.</p>
</td> </tr>
</td> </tr>
   
   
Line 62: Line 62:
</td> </tr>
</td> </tr>
   
   
<tr> <th><var>
<tr> <th nowrap><var>
<p>128 or X'80'</p>
<p>128 or X'80'</p>
</var></th> <td>
</var></th> <td>
Line 78: Line 78:
==Usage notes==
==Usage notes==
<p>The *SNAP command causes <var class="product">Model&nbsp;204</var> to generate a formatted dump. Issue *SNAP only for debugging purposes when requested by Technical Support.</p>
<p>The *SNAP command causes <var class="product">Model&nbsp;204</var> to generate a formatted dump. Issue *SNAP only for debugging purposes when requested by Technical Support.</p>
<p>*SNAP accepts MSGCTL SNAPSEL options. This allows you to specify a number of different types of *SNAP dumps on the *SNAP command line. </p>
<p>*SNAP accepts <var>[[MSGCTL_command|MSGCTL]]</var> SNAPSEL options. This allows you to specify a number of different types of *SNAP dumps on the *SNAP command line. </p>


[[Category: System administrator commands]]
[[Category: System administrator commands]]
[[Category: Operator commands]]
[[Category: Operator commands]]
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 15:54, 4 February 2019

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.