Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Is there a function that shows all the relations to the specific component

Is there a function that shows all the relations to the specific component

Problem:

Would like a function that will give a list of all relations for a specific component or import, or UID

Resolution:

Using the attached function (showrel), a Revolve user will be able to determine all the relationships of a component/import/UID.

Giving the Revolve user:

Starting Element==>system_component_cobol :  ORDER.CBL  { D:\TPS6244\SAMPLES\ENTERPRISE\ORDERAPP\SOURCE\ORDER\ORDER.CBL }

==========================================================================

:>attr_reql_component-error                    ==> 0

:>attr_reql_component-line                     ==> 1331

:>attr_reql_component-notice                   ==> 0

:>attr_reql_component-warning                  ==> 0

:>attr_reql_dbtime                             ==> 1147071780

:>attr_reql_lastuid                            ==> 35997763

:>attr_reql_lines                              ==> 1331

:>attr_reql_location                           ==>  {ORDER.CBL at 1,1 }

:>attr_reql_name                               ==> ORDER.CBL

:>attr_reql_pseq                               ==> 0

:>attr_reql_px                                 ==> 1

:>attr_reql_py                                 ==> 1

:>attr_reql_status                             ==> Loaded

:>attr_reql_text_line                          ==>        IDENTIFICATION DIVISION.

:>attr_reql_type                               ==> type :    system_component_cobol

:>attr_reql_version                            ==> 6.2.45

:>attr_reql_width                              ==> 82

:>attr_reql_x                                  ==> 1

:>attr_reql_y                                  ==> 1

:>attr_system_comp-param-d_flavor-name         ==> cobol_flavor_general

:>attr_system_comp-param-d_twswdr-filename     ==> rvmfasm.dll

:>attr_system_comp-param-f                     ==> 4096

:>attr_system_comp-param-f_word-storage        ==> 1

:>attr_system_comp-param-i_align-offset        ==> 0

:>attr_system_comp-param-i_cobol-flavor        ==> 8918

:>attr_system_comp-param-i_end-column          ==> 0

:>attr_system_comp-param-i_io-pcb              ==> 0

:>attr_system_comp-param-i_jcl-schid           ==> 0

:>attr_system_comp-param-i_job-stream-type     ==> 0

:>attr_system_comp-param-i_pli-start-column    ==> 7

:>attr_system_comp-param-i_start-column        ==> 7

:>attr_system_component-uid                    ==> 35995648

:>attr_system_file-name                        ==> D:\TPS6244\SAMPLES\ENTERPRISE\ORDERAPP\SOURCE\ORDER\ORDER.CBL

:>attr_system_file-time                        ==> 988263240

:>attr_system_is-annotation-uid                ==> 0

:>attr_system_is-local-uid                     ==> 1

:>attr_system_is-syswide-uid                   ==> 0

:>attr_system_is-unknown-uid                   ==> 0

:>attr_system_is-virtual-uid                   ==> 0

:>attr_system_parse-checksum                   ==> -1892903032

:>attr_system_path                             ==> D:\TPS6244\SAMPLES\ENTERPRISE\ORDERAPP\SOURCE\ORDER\

:>attr_system_path_code                        ==> D:\TPS6244\SAMPLES\ENTERPRISE\ORDERAPP\SOURCE\ORDER\

:>hasa                                         ==> system_cobol_program : ORDERS  {ORDER.CBL at 1,1 }

:>hasa_system_cobol                            ==> system_cobol_program : ORDERS  {ORDER.CBL at 1,1 }

:>hasa_system_cobol_program                    ==> system_cobol_program : ORDERS  {ORDER.CBL at 1,1 }

:>system_belongs-to                            ==> system_code_cobol :  ORDER.CBL  { D:\TPS6244\SAMPLES\ENTERPRISE\ORDERAPP\SOURCE\ORDER\ORDER.CBL }

:>system_having                                211 found, 1 shown ==> system_cobol_program : ORDERS  {ORDER.CBL at 1,1 }

:<system_in                                    211 found, 1 shown ==> system_cobol_program : ORDERS  {ORDER.CBL at 1,1 }

:>system_in-synch                              ==> system_component_cobol :  ORDER.CBL  { D:\TPS6244\SAMPLES\ENTERPRISE\ORDERAPP\SOURCE\ORDER\ORDER.CBL }

:>system_inst-of                               ==> type :    system_component_cobol

:<system_usedin                                221 found, 1 shown ==> constant :    constant_low-values

:>system_using                                 221 found, 1 shown ==> constant :    constant_low-values

==============================End of Report==============================

Attachments:

showrel.RQC

Old KB# 1081

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 16:55
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.