18.08.2013 Views

ClearPath OS 2200 Series Release 13.2 Software Planning and ...

ClearPath OS 2200 Series Release 13.2 Software Planning and ...

ClearPath OS 2200 Series Release 13.2 Software Planning and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Repository for <strong>ClearPath</strong> <strong>OS</strong> <strong>2200</strong> (UREP)<br />

Example<br />

@SYS$LIB$*UREP.DD ,,UDSSRC<br />

REPORT INCLUDE ATTR NONE VIEW RELATIONS FOR SCHEMA RDMS_CATALOG.<br />

**DESCRIPTION REPORT**<br />

VIEW RELATIONS ddf<br />

SCHEMA RDMS_CATALOG<br />

EXIT.<br />

If the RDMS_CATALOG.RELATIONS view does not exist, then sign on under the UREP<br />

Installer's userid <strong>and</strong> create it. The CREATE VIEW syntax can be found in<br />

UREP*UTILITY.RDMS-CATALOG.<br />

Example<br />

@XQT,E SYS$LIB$*RSA.RSAC-COIVP<br />

BEGIN THREAD FOR UDSSRC;<br />

USE DEFAULT QUALIFIER UREP;<br />

CREATE VIEW RDMS_Catalog.Relations<br />

( Schema_name, Relation_name,<br />

Table_or_View,<br />

UDS_timestamp,<br />

Creator,<br />

Data_control )<br />

AS<br />

SELECT QENr.Level1_QE_name, QENr.Level2_QE_Name,<br />

QENr.Level2_QE_type,<br />

Apts.Value,<br />

ENo.Entity_name,<br />

Adac.Value<br />

FROM Qualifying_entity_names QENr,<br />

Entities Er,<br />

Unsequenced_Relationships URo,<br />

Entity_names ENo,<br />

Entity_Attributes Adac, Entity_attributes Apts<br />

WHERE<br />

( QENr.Level1_QE_Type='SCHEMA'<br />

AND (QENr.Level2_QE_type='TABLE' OR QENr.Level2_QE_type='VIEW')<br />

AND QENr.Number_of_levels=2 )<br />

AND ( Er.Entity_identifier=QENr.Qualification_identifier<br />

AND Er.Created_by_SW='DDF' )<br />

AND ( URo.Source_entity_identifier=Er.Entity_identifier<br />

AND URo.Source_entity_variation=Er.Entity_variation<br />

AND URo.Source_entity_revision=Er.Entity_revision<br />

AND ( URo.Relationship_type_name='TABLE-TO-USERID'<br />

OR URo.Relationship_type_name='VIEW-TO-USERID' )<br />

AND ENo.Name_identifier=URo.Target_entity_identifier )<br />

AND ( Adac.Entity_identifier=Er.Entity_identifier<br />

AND Adac.Entity_variation=Er.Entity_variation<br />

AND Adac.Entity_revision=Er.Entity_revision<br />

AND Adac.Attribute_type='DATA-ACCESS-CONTROL' )<br />

AND ( Apts.Entity_identifier=Er.Entity_identifier<br />

AND Apts.Entity_variation=Er.Entity_variation<br />

AND Apts.Entity_revision=Er.Entity_revision<br />

AND Apts.Attribute_type='DD-PROCESS-TIME-STAMP' )<br />

5–44 7831 0349–043

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!