How to obtain a list of all Ideal for Datacom Programs
search cancel

How to obtain a list of all Ideal for Datacom Programs

book

Article ID: 55798

calendar_today

Updated On:

Products

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

Issue/Introduction

Environment

Release: Ideal for Datacom

Resolution

There are two ways to determine the names of all programs, regardless of the system, that are related to a specific entity.

Ideal for Datacom method:

In Ideal, issue the following command while in the system in which the specified entity resides:

DISPLAY INDEX ALL PROGRAM RELATED TO entity-type entity-name VERSION vvv

Where:   entity-type = PROGRAM, PANEL, or REPORT
   entity-name = the name of the program, panel or report
               vvv = the specific version number 

Note: The DISPLAY INDEX ALL PROGRAM command requires Ideal Administrator authority by default.

Sample output:

DISPLAY INDEX ALL PROGRAM RELATED TO PROGRAM INDEXALL VER 1

DIDA : DISPLAY INDEX         PGM                             SYS: CHE   DISPLAY
                                                                               
Command Name    Ver S R-S SYS Lang  Description              Created  Updated  
====== ================================ T O P =================================
000001                                                                         
000002 ======> Related to PGM INDEXALL  Version 001 Status TEST  Calls to      
000003 SYSCOL   001 T PRV COL IDEAL                          03/15/05 03/15/05 
000004 SYSJUL   001 T PRV JUL IDEAL                          03/15/05 03/15/05 
000005                                                                         
000006 ======> Related to PGM INDEXALL  Version 001 Status TEST  Called by     
000007 CALLINDX 001 T PRV CHE IDEAL                          03/15/05 03/15/05 
====== ============================= B O T T O M ==============================

>Datacom Database Datadictionary Option (DDOL) method:

 

In Datadictionary Online (DDOL), follow these steps:

    1. Select ENTDISPL (SET MODE ENTD) from the main menu (option 3)
    2. Select DISPLAY INDEX (D IND) (option 1)
    3. Enter a 'P' in the 'using' field (for path), see example below
...................optional..............................
:   using  P           ________________________________ :
:   using  (A-alias)   (alias name)                     :
:          (D-descr)   (descriptor name)                :
:          (P-path)    (STANDARD)   (S-Sqlname)         :
:.......................................................:

Enter an (entity-type), where entity-type=PROGRAM, PANEL or REPORT

For example,

/ PROGRAM_________________________ , ________________________________ .
  (entity-type)                      (parent occurrence-name)          
Enter an (occurrence-name) of $Isssxxxxxxxx (where sss is the 3-character system ID and xxxxxxxx is the entity name).  Lastly, enter the version (vers) of the entity.
For example,
                                                                             
$ICHEINDEXALL___________________ ( 001_ ,      ,      ) / AS OF ____________
(occurrence-name)                 (stat,  pswd,  ovrd)         (YYYYMMDDhhmm)
                                  (vers,  pswd,  ovrd)                       
    1. Enter the following data depending on the entity-type specified:

      If you're looking for all programs related to entity-type=PROGRAM, enter this:
FROM: PROGRAM                            VIA: PGM-PGM-CALL              
  To PROGRAM  

If you're looking for all programs related to entity-type=PANEL, enter this:

FROM: PANEL                             VIA: PGM-PNL-USE              
  TO: PROGRAM   

If you're looking for all programs related to entity-type=REPORT, enter this:

FROM: REPORT                             VIA: PGM-RPT-PRODUCE              
  TO: PROGRAM  

If you're looking for all programs, panels and reports related to entity-type=PROGRAM, enter this:

FROM: PROGRAM                             VIA: PGM-PGM-CALL_______________
  TO: PROGRAM_________________________      SKIP: _                       
FROM: PROGRAM_________________________    VIA: PGM-PNL-USE________________
  TO: PANEL___________________________      SKIP: _                       
FROM: PROGRAM_________________________    VIA: PGM-RPT-PRODUCE____________
  TO: REPORT__________________________      SKIP: _                       

Sample output:

This sample output is produced from the DDOL example above, using the following input:

FROM: PROGRAM                            VIA: PGM-PGM-CALL              
   TO: PROGRAM   
TYPE  OCCURRENCE     STA VER                                                   
 PGM  $ICHEINDEXALL   T  001                                                   
---------------------------------------------------------------------------T21D
       Type  Occurrence-Name                 Status  Version                   
              Parent-Name               RELATIONSHIP USED FOR RETRIEVAL        
====== ========================== T O P =======================================
                                                                               
000001  PGM  $ICHEINDEXALL                      T     001                      
                                                                               
000002  PGM  $ICOLSYSCOL                        T     001                      
                                               PGM-PGM-CALL                    
000003  PGM  $IJULSYSJUL                        T     001                      
                                               PGM-PGM-CALL                    
000004  PGM  $ICHECALLINDX                      T     001                      
                                               PGM-PGM-CALL                    
====== ======================= B O T T O M ====================================