Edited command buffer format
The edited command buffer is logged in the X'02' log record and is passed to the AOI user exit. You can use the edited command buffer to determine if any recoverable commands were issued for the resource you are analyzing.
Edited command buffer examples
For example, if you are analyzing a hung terminal problem, look at any log records, including X'02' records, that apply to that terminal.
However, finding the applicable log records might
be difficult. If the problem is repeatable, you can use the /LOG command
to mark the log when certain activities are started or stopped. The /LOG command
writes a comment to a X'02' log record. This narrows the
range of log records you need to examine.
/LOG command
to write a comment to a X'02' log record before the transaction
is started and after the terminal is hung, as follows: /LOG START XYZ TRAN THAT RESULTED IN HUNG TERMINAL.
/LOG TERMINAL IS NOW HUNG.Look for these comments in the X'02' log record edited command buffers to determine the range of log records to examine.
The following figure shows the layout of the edited command.

- Figure Number
- Description
- FLAG1
- X'FE' to denote the beginning of the edited command.
If any parameter contains an error, the command action modules set
this byte to X'FC'. An exception is DFSICL40 processing of
ALL
expanded parameters. - CCC
- First 3 characters of entered command.
- NK
- Hexadecimal value of number of keywords in the condensed buffer.
- FLAG2
- One of the following:
- X'FC'
- Parameter that follows found in error.
- X'FF'
- 3-byte keyword abbreviation follows.
- X'FE'
- Count (CNT) field and parameter follow.
- C'('
- Count (CNT) field and password follow.
- Keyword Abbreviation
- First 3 characters of entered command. Consult DFSCKWDO to obtain the abbreviation; it is sometimes the first 3 characters of any keyword.
- CNT
- Count of number of characters in parameter or password immediately following the CNT. It can be a comma, period, blank, or left parenthesis.
- Parameter or Password
- Exists exactly as entered from the terminal.
- DDL
- The delimiter entered after the parameter or password. It may
be X'80' if the keyword
ALL
was expanded to individual parameters. - FLAG3
- Period indicating end of command.
Exception: Only parameter passwords are present in the condensed buffer; command passwords are not present.