IBM Support

Determining What Length Was Specified When a Data Queue Was Created

Troubleshooting


Problem

This document describes how to determine the MAXLEN of a data queue from SST.

Resolving The Problem

If a data queue is damaged causing application failure and must be deleted and re-created however we do not know what to specify for the Maximum entry length (MAXLEN) parameter on the CRTDTAQ TYPE(*STD) command, there is no command available to determine what this parameter value was on the existing data queue object. One method to determine the length parameter is to by going into service tools as follows:

1.

On the operating system command line, type the following:

STRSST

Press the Enter key.
2. Select Option 1, Start a Service Tool, and press the Enter key.
3. Select Option 4, Display/Alter/Dump, and press the Enter key.
4. Select Option 1, Display/Alter Storage, and press the Enter key.
5. Select Option 1, Machine Interface (MI) Object, and press the Enter key.
6. Select Option 10, Queue (0A), and press the Enter key.
7 Select Option 1, Find by Object name & Context name, and press the Enter key.
8. In the Object Name parameter - damaged queue name. In the Context Name parameter - damaged queue library name
9. To acknowledge the confirmation message, press the Enter key.
10. Select Option 2, Base structure, and press the Enter key.
11. Do a FIND using F2 on MAXMSGLEN (all uppercase) as shown below:

                         Display Formatted Data                          
                                                Page/Line. . .       1 /   1
                                                Columns. . . :  55 - 132    
Find . . . . . . . . . . .  MAXMSGLEN                                        
+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3.
                                             10/05/06  11:17:37   PAGE      1
JAGDTAQ60                           ADDRESS:  328BF014DF 000000              
                                                                             
   DOMAIN  8000   OBJECT  328BF014DF 000000   SPACE  1A19D4E72A 001000      
                                                                             
            TYPE      0A                   STYP      01                      
            SPATT     A0                   SPIN      00                      
            DVER      0450                 TIME      10/05/06  10:26:00      
0 000000    CTSG      0F0A148602 000000    OSG       328BF014DF 000000
12. Look for the value of QMQCBMACLEN in decimal such as show below:

QMQCBMAXMSGLEN 60
13. Exit service tool by pressing the function F3 multiple times. Then, press the Enter key on the Exit System Service Tools screen.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

428911231

Document Information

Modified date:
20 October 2020

UID

nas8N1014733