How to determine Ideal Option values
search cancel

How to determine Ideal Option values

book

Article ID: 56253

calendar_today

Updated On:

Products

Datacom DATACOM - AD Ideal Datacom/AD Datacom/DB Datacom/Server

Issue/Introduction

How can you determine which Ideal Option values are being used in your CICS region or Ideal batch job?

Environment

Release: Ideal for Datacom

Resolution

This information can be obtained by issuing the command "DISPLAY AUTHORIZATION" from the Ideal command line. This information can also be obtained by dumping module @IIDOPTS in the CICS region or batch job and evaluating a particular offset (see the section below on alternative methods).

Ideal Command: DISPLAY AUTHORIZATION

The "DISPLAY AUTHORIZATION" command displays the current Ideal Option values (refer to the SITE OPTIONS section of the display).

Sample Output:

IDOPTSCB LAST MODIFIED 10/25/99 12.15
. 
.  
.
SITE OPTIONS
DATAVIEW LIBRARY                   IDDVW
MEMBER LIBRARY                     IDDAT
SYSTEM DEFAULT SOURCE LIBRARY      IDXXXSRC
SYSTEM DEFAULT OBJECT LIBRARY      IDXXXOBJ
SYSTEM DEFAULT PANEL LIBRARY       IDXXXPNL
ONLINESORT REPORT WORK LIBRARY     IDDAT
BATCH REPORT SORT WORK FILE        IDSORT01
BATCH REPORT SORT MESSAGES         IDSORTMS
BATCH REPORT SORT CORE SIZE PARM   00200704
ONLINE SORT MAX NUMBER OF RECORDS  010000000
BATCH REPORT DOS "WORK=" PARM
ALLOW TRANSFER IN PDL?             YES
ALLOW REDKY OPTIMIZATION?          NO
IDEAL PANEL IDENTIFIER             IDEAL
TRANS ID FOR LOAD MODULE TASK      IDPI
VERIFY LOAD MODULES AT PLT?        NO
BUILD LOAD MODULE TABLE?           DD
ADD LOAD MODULE PPT ENTRIES?       REFRESH
PSW VISIBLE IN DISPLAY USER?       YES
PSW CHECK FOR EXPRESS SIGNON?      NO
DB2 PLANS LIBRARY                  IDDVW
DB2 DEFAULT PLAN NAME              IDP220DV
DB2 DEFAULT SUBSYSTEM ID           D410
DB2 DBRM FOR IDEAL DYNAMIC SQL     IDDB22DY
DB2 DBRM FOR DSF                   IDDBRMDD

Ideal Options and Offsets

The Ideal Options are maintained in load module @IIDOPTS. These options can only be changed by modifying, reassembling and relinking module @IIDOPTS.

The options and their corresponding offsets in module @IIDOPTS follow below:

Ideal Option       Offset in @IIDOPTS
---------------    ------------------
DB2PLAN                      6B
DB2SYS                       74
DFLTUSR                      A2
DVWLIB                       30
IDENT                        9C
KEYUSE                       A1
LDMPPT                       A9
LMTBLD                       A8
MEMLIB                       28
OBJLIB                       38
PDLTRAN                      88
PLALIB                       63
PLTID                        5C
PLTLOAD                      89
PLTSNON                      8A
PNLLIB                       40
PSWCHK                       73
PSWDIS                       62
SECPRFX                      A5
SNONID                       8B
SORTLIB                      94
SORTMS                       50
SORTRC                       8F
SORTSZ                       58
SORTWK                       48
SORTWP                       60
SRCLIB                       30
UIDCHK                       A7

Alternative methods to obtain Ideal Option values

Ideal Option values can also be obtained by dumping module @IIDOPTS and evaluating the offsets listed above. The following methods can be used:

  1. From the Ideal command line, enter:
    @I$SCF PGM=@IIDOPTS OFF=nn

    where nn is the offset into @IIDOPTS

    (Ideal Administrator authority is required for this command.)

  2. From a native CICS environment that has Datacom/CICS Services installed in it, enter:
    DBUT M=@IIDOPTS +nn

    where nn is the offset into @IIDOPTS

Example: Obtaining the PLTLOAD Option Value

From the above table, the value of option PLTLOAD is located at offset 89. To obtain the value of PLTLOAD by dumping module @IIDOPTS, follow one of the below procedures.

  1. Enter the following on the Ideal command line:
    (Note that this command can also be entered as a command in a Ideal batch job.)
    @I$SCF PGM=@IIDOPTS OFF=89
    Output:
    ----------------------------------------------------------------------
    SCF Debug                                                      Address
    PGM= @IIDOPTS                 OFF= ______
    USE= ____  ____  ____  ____  ____  ____  ____  ____
    00000089 +000  D5E8C9C4 C9D50100 00000CC9 C4C4C1E3  *NYIDIN.....IDDAT*
    00000099 +010  404040C9 C4C5C1D3 D55BC9C4 5BC9D5C4  *   IDEALN$ID$IND*
    000000A9 +020  D9000001 01000140 40404040 40404002  *R......        .*
  2. From a native CICS environment that has Datacom/CICS Services installed in it, enter:
    DBUT M=@IIDOPTS +89
    Output:
    DBUT M=@IIDOPTS +89                                         ADDRESS=
    ADDRESS  OFFSET  -------  DATA IN HEX FORMAT ------- -CHARACTER FORMAT
    +0       +4       +8       +C        0   4   8   C
    000AECD9  +0089 D5E8C9C4 C9D50100 00000CC9 C4C4C1E3 *NYIDIN.....IDDAT*
    000AECE9  +0099 404040C9 C4C5C1D3 D55BC9C4 5BC9D5C4 *   IDEALN$ID$IND*
    000AECF9  +00A9 D9000001 01000140 40404040 40404002 *R......        .*

In both examples, the EBCDIC value for PLTLOAD is "D5" which translates to character "N". This indicates that PLTLOAD is set to "NO" in this environment.