FARDX Reference
FARDX Reference
Reference
Release 17.02
2 File-AID/RDX Reference
[Link]
This document and the product referenced in it are subject to the following legends:
Copyright 1994-2019 Compuware Corporation. All rights reserved. Unpublished rights reserved under the
Copyright Laws of the United States.
U.S. GOVERNMENT RIGHTS-Use, duplication, or disclosure by the U.S. Government is subject to restrictions as
set forth in Compuware Corporation license agreement and as provided in DFARS 227.7202-1(a) and 227.7202-
3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (OCT 1988), FAR 12.212(a) (1995), FAR 52.227-19, or FAR 52.227-14
(ALT III), as applicable. Compuware Corporation.
This product contains confidential information and trade secrets of Compuware Corporation. Use, disclosure, or
reproduction is prohibited without the prior express written permission of Compuware Corporation. Access is
limited to authorized users. Use of this product is subject to the terms and conditions of the user’s License
Agreement with Compuware Corporation.
File-AID/Related Data XPERT, File-AID/RDX, File-AID for DB2, File-AID, File-AID Data Privacy, Compuware,
Compuware Workbench, and Topaz Workbench are trademarks or registered trademarks of Compuware
Corporation.
IBM, Db2, DB2, z/OS, and RACF are trademarks of International Business Machines Corporation.
Adobe ® Reader® is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
All other company and product names are trademarks or registered trademarks of their respective owners.
Doc. JUL2019
June 19, 2019.
3
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
How This Manual is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Alerts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Notation Rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Reading the Syntax Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Compuware Support Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Product Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Invoking File-AID/RDX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
File-AID/RDX Primary Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Option 0—Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Option 1—Relationships. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Option 2—Extract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Option 3—Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Option 4—Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Option 5—Data Privacy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Option 6—Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Option G—Global Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Option FD—FADB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Option C—Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Option T—Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Option X—Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Screen Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Pattern Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Escape Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Double-Byte Character Set (DBCS) Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Column Name Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Types of Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Option Selection Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Option Information Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Scrollable Data Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Pop-Up Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Scrolling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Scrollable Fields for Db2 Long Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Long Name Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Using the LEFT and RIGHT Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4 File-AID/RDX Reference
Relationship Facilitator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Relationship File Compatibility Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Relationship File Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Db2 Referential Integrity (RI) Relationships. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Application Relationships (AR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Conditional (“Data Driven”) Application Relationships (AR-C) . . . . . . . . . . . . . . . . . . . . . 86
Considerations for MVS Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Use of Db2 Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
DB2 Relationship Facilitator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
DB2 Object List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Table List in Relationship File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Table List - [Link] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
MVS Relationship Facilitator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
MVS Object List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Object List in Relationship File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Relationship Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Graphical Relationship Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Understanding the Graphical Relationship Display . . . . . . . . . . . . . . . . . . . . . . . . . 105
Option List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Relationship Information Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
DB2 RI Update Online Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
RI Relationship Detail Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
RI Information Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Application Relationship Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Relationship Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Add Relationships — Specify Object Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Add Application Relationships — DB2 to DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Add Relationships — DB2 to MVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Add Relationships — DB2 to IMS and Output Key Files . . . . . . . . . . . . . . . . . . . . . . . . . 130
Add Relationships — MVS to DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Add Relationships — MVS to MVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Add Relationships — MVS to IMS and Output Key Files . . . . . . . . . . . . . . . . . . . . . . . . . 140
Relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Relationship Condition Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Selection Criteria Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Formatted Selection Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Field Mask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Primary Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Building Column/Field Relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
6 File-AID/RDX Reference
Extract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Determining Which Rows Will Be Extracted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Selecting a Driving Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Determining the Scope of the Extract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Using Relationship Definitions Across Db2 Subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Stopping/Resuming Batch Extract Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Stop Extract Execution with z/OS Operator MODIFY Command. . . . . . . . . . . . . . . 202
Cloning Extract Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Support for Db2 XML and LOB Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Support for Db2 Temporal Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Support for Db2 Archive Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
GDG Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Download File-AID/RDX Extract Data to the Workstation Environment. . . . . . . . . . . . . . 203
Extract Driving Object - Single Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Extract - DB2 Driving Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Use of Db2 Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Use of Aliases and Synonyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Extract - MVS Driving Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Extract Reference List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Request File Member List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Extract Requests from Releases prior to Release 4.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
DB2 Driving Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Use of Db2 Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Use of Aliases and Synonyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Relationship Listing Window for Db2 Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Modify Extract Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Modify Extract Request - Object Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Save Cloned Extract Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
SAVE Confirmation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
MVS Driving Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
7
Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Support for Db2 XML and LOB Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Support for Db2 Temporal Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Support for Db2 Archive Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
GDG Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
Load Reference List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
Request File Member List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
Extract File Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Edit JCL for Summary File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Load Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Load Object Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
SQL Insert and Db2 Load Utility Load Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Source to Target Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
File Mapping Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
Field Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Column Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Default Value Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Default Value Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Delete Literal Confirmation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
Column/Field Mapping Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
Data Type Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
Miscellaneous Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
Column Mapping Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
Target Environment Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
10 File-AID/RDX Reference
Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Support for Db2 XML and LOB Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Delete Reference List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
Request File Member List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
Extract File Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
Edit JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574
Delete Confirmation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
Delete Processing Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576
Discard File Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578
Save Delete Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579
SAVE Confirmation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580
Viewing Delete JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580
Control Card Cleanup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
The Delete Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
Db2 Delete Job Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
Db2 Delete JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
DLDRV Step Parameter List and DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
Delete Control Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
DELETE Step Parameters and DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
MVS Delete Job Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
MVS Delete JCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588
DLDRV Step Parameter List and DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
MVS Delete Control Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
DLMVS Step Parameter List and DD Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . 592
MVS Delete Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
Miscellaneous Delete Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
Db2 Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
Db2 Delete Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
CASCADE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
SET NULL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
Restartability (Db2 only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
Reusing the Discard File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
Delete Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
Delete - DB2 Authority Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596
Pre-Delete Summary Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
Delete: DB2 Discard Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598
MVS Delete: VSAM Discard Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599
Delete: DB2 Totals Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
MVS Delete: MVS Totals Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
Delete: DB2 Committed Rows Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
19
Introduction
This is a detailed reference manual for users of File-AID/Related Data XPERT (File-AID/RDX). It
provides the information necessary to take advantage of the features of File-AID/RDX. This manual is
not intended as a learning tool for first time users.
• Profiles and Global Defaults describes Option 0, Profile, [Link] G, Global Defaults.
• Tutorial and Online Help describes Option T, Tutorial and Online Help, and Option C, Changes.
• Appendix , provides different examples of global navigation settings for File-AID/RDX’s extract.
Alerts
The alerts found in this guide include:
Notation Rules
This manual uses the following notation rules:
• Field names and column names appear in bold letters with initial caps. For example:
• Actual field values taken from a screen appear in text in a line printer typeface. For example:
All KEYWORDs are shown in uppercase characters and must be spelled exactly as shown. You cannot
substitute another value. If any part of a KEYWORD is shown in lowercase characters, that part is
optional.
Variables are user-specified values and are printed in lowercase italics. For example, dataset-name
indicates you are to substitute a value.
The syntax for commands is described in diagrams that help you visualize parameter use. The
following example shows a command and a parameter:
COMMAND parameter
Read the diagrams from left to right and from top to bottom. These symbols help you follow the path
of the syntax:
Required parameters appear on the horizontal line (the main path). Optional parameters appear
below the main path. Default parameters appear above the main path and are optional. The
command executes the same regardless whether the default parameter is included.
DEFAULT-KEYWORD
COMMAND REQUIRED-KEYWORD
optional-variable
Introduction 21
Vertically stacked parameters are mutually exclusive. If you must choose a parameter, one item of the
stack appears on the main path. If the parameters are optional, the entire stack appears below the
main path. If a parameter in a stack is the default, it appears above the main path.
DEFAULT-KEYWORD1 default-var1
COMMAND
OPTIONAL-KEYWORD2 optional-var2
OPTIONAL-KEYWORD3 optional-var3
If the same parameters are used with several commands their syntax may be documented in a
separate diagram. In the command syntax, these common parameters are indicated with separators
before and after the parameter name.
COMMAND common-parameter
An arrow returning to the left indicates a repeatable item. If the arrow contains a comma, separate
the repeated items with a comma.
,
COMMAND required-var
Related Publications
• File-AID Installation and Configuration Guide: Provides an abbreviated set of steps to quickly
configure File-AID products, including File-AID/RDX.
• File-AID Advanced Configuration Guide: Provides advanced configuration topics on how to configure
all File-AID products, including File-AID/RDX, on your system. It is intended for database
administrators and the systems group responsible for File-AID at your installation.
• File-AID/Related Data XPERT Reference provides detailed information necessary to fully use the
features of File-AID/RDX. It is intended for users of File-AID/RDX.
• File-AID/Related Data XPERT User Guide: Step-by-step procedures on how to use File-AID/RDX
functions.
• File-AID/Related Data XPERT Reference Summary provides a summary of the File-AID/RDX commands
and functions. It is intended for users of File-AID/RDX.
• File-AID Release Notes provides a summary of the latest enhancements to File-AID products,
including File-AID/RDX. It is intended for IS management and users of File-AID/RDX. It contains
information similar to Option C, Changes.
• Compuware Installer Mainframe Products SMP/E Installation Guide Instructions on how to perform the
SMP/E installation of Compuware mainframe products, including File-AID/RDX.
Online Documentation
The File-AID/RDX product installation package does not include the product documentation. Access
the File-AID/RDX documentation from the Compuware Support Center website at
[Link] in the following electronic formats:
• View PDF files with the free Adobe Reader, available at [Link]
• View HTML files with any standard web browser.
Getting Help
At Compuware, we strive to make our products and documentation the best in the industry. Feedback
from our customers helps us to maintain our quality standards.
If problems arise, consult your manual or the File-AID/RDX customer support representative at your
site. If problems persist, please obtain the following information before contacting Compuware. This
information helps us to efficiently determine the cause of the problem.
Overview
Product Introduction
File-AID/Related Data XPERT (File-AID/RDX) enables developers, auditors, QA analysts, and data base
administrators to easily extract, load, and delete complete sets of related Db2 and MVS data. Data
related by referential integrity or application-defined relationships is copied within the respective
Db2 and MVS environments with full support for all relational constraints.
File-AID/RDX uses a familiar ISPF-like format to create and populate test objects that accurately
reflect the production relationships, yet contain only a relevant subset of the data—without coding SQL
or writing programs. Users can migrate related sets of data from one Db2 or MVS environment to
another or archive complete sets of data, confident that all parent/child relationships are properly
maintained.
When extracting sensitive production data, it can also be disguised to protect privacy while
maintaining all relationships. Data Privacy requires installation of Compuware’s File-AID/Data
Solutions Release 4.4 or more recent.
Invoking File-AID/RDX
File-AID/RDX executes as a dialog under IBM’s ISPF/PDF dialog manager facility. You can invoke File-
AID/RDX by selecting the File-AID/RDX option from a customized version of the ISPF/PDF Primary
Option Menu, or from a sub-menu panel your installation has set up.
You can also invoke File-AID/RDX from File-AID for DB2 (Option R). When coming to File-
AID/RDX from File-AID for DB2, however, you can only connect to the Db2 subsystem that
you are connected to in File-AID for DB2. To connect to another Db2 subsystem in File-
AID/RDX, you must return (exit) to File-AID for DB2 and change the subsystem there, or exit
File-AID for DB2 and invoke File-AID/RDX by itself.
The File-AID/RDX Primary Option Menu shown in Figure 1 is the first screen displayed when you
invoke File-AID/RDX.
When Db2 is being used by another application in your current TSO session, File-AID/RDX
issues a warning when connecting to Db2 (see DB2 Call Attach Alert on page 36).
24 File-AID/RDX Reference
To select an option from the File-AID/RDX Primary Option Menu, enter the appropriate code in the
Option field and press Enter. See File-AID/RDX Primary Options on page 24 for a detailed
explanation of each option.
The Primary Option Menu also displays the name of the current Profile and its Type (SITE, USER, or
prefix). SITE profiles can only be modified by authorized users. The profile establishes the default
values for the extract and load functions. This allows you, for example, to run an extract job by
simply accepting all the profile provided defaults, without stepping through a lengthy extract
specification process.
To specify a profile, simply enter the type and name. When specifying a profile name that doesn’t
exist or a pattern, File-AID/RDX will display the Select Profile Screen screen (see Figure 14 on page
51).
Option 0—Profile
Select and define your File-AID/RDX profiles for extract, load, and disguise functions. You can modify
an existing SITE profile and save it as your own USER profile. SITE profiles may only be modified by
authorized administrators.
After the File-AID/RDX installation has been completed, your site’s File-
AID/RDX administrator should modify the SITE profiles to site-specific
settings and establish access authorities according to your site’s standards.
Option 1—Relationships
The Relationship Facilitator assists you in maintaining relationships. Specify a Db2 or MVS object
and then perform relationship activities:
• Browse, refresh, load, and remove Db2 referential integrity (RI) relationships in the File-AID/RDX
relationship file.
• Browse, edit, delete, and create application relationships (AR) between Db2, MVS objects, and/or
IMS or Output Key File in the File-AID/RDX relationship file.
Overview 25
Option 2—Extract
Extract relationally intact sets of data from one or more related or unrelated objects (Db2 tables and
MVS files). Optionally, File-AID/RDX will extract Db2 data from Db2 image copy so you can execute
the extract outside of your Db2 production environment. You can create or modify extract criteria to
apply during the extract process. File-AID/RDX generates the JCL to perform the extract in batch
mode. Optionally, the extract can be executed interactively online. Additionally, you can combine
the extract and load steps into a single JCL procedure.
When the extract request includes a relationship to an Output Key File, File-AID/RDX creates an
Output Key File that File-AID/RDX can use as an Input (external) Key File against a driving object in
another extract (see also Input Key File Specification on page 295) or as input into another process as
you choose. When the relationship is to an IMS segment, use the Output Key File with File-AID for
IMS to extract IMS data.
When you also create a COBOL record layout of the extracted file, you can use File-AID/EX to
download and convert the extracted data to other client/server or workstation based DBMS.
The extract process can also disguise the extracted data to provide security for sensitive data. The
disguise criteria can be defined by either using the File-AID/RDX Option 5, Data Privacy, or the File-
AID Data Privacy component of the Topaz Workbench1.
Option 3—Load
Load relationally intact sets of data into one or more related objects (Db2 tables and MVS files). To
load Db2 objects you can choose between using SQL INSERT statements or the Db2 LOAD Utility.
Load data into existing objects (Db2 tables and MVS files) that are empty or already contain data. In
addition, File-AID/RDX can create new tables or files automatically before it loads the data. File-
AID/RDX generates the JCL to perform the load in batch mode. Optionally, the load can be executed
interactively online.
1. The Compuware Workbench has been replaced by the Topaz Workbench. The Topaz Workbench provides all of the
functionality of the previous Compuware Workbench as well as any additional chargeable functionality.
26 File-AID/RDX Reference
Option 4—Delete
Delete records from one or more related Db2 or MVS objects from which you have previously
extracted data. File-AID/RDX determines which records should be deleted based on the contents of a
File-AID/RDX extract file that you specify.
Option 6—Utilities
The RDX utilities allow you to:
Option FD—FADB2
Transfer to File-AID for DB2.
Option C—Changes
Display a summary of changes made to various releases of File-AID/RDX.
Option T—Tutorial
View an online tutorial for novice users.
Option X—Exit
Terminates your File-AID/RDX session.
Screen Conventions
In general, the first three lines of each display are formatted as follows:
Pattern Characters
Many screens accept pattern characters. Valid pattern characters are:
Asterisk (*)—Matches all values. Valid for specifying objects, creators, tables, and members. Any
characters following the asterisk (*) are disregarded, unless when searching for MVS objects in the
MVS catalog, then the asterisk is treated the same as in ISPF dialogs.
After you enter a pattern, File-AID/RDX displays a selection list. You can then select the
appropriate name from the list.
Escape Characters
Escape characters are required when you specify a creator or table name that does not conform to the
DB2 alphanumeric character set. Escape characters are also required when you do not want uppercase
translation of creator or table names.
If you have column names that contain DBCS characters, File-AID/RDX displays them enclosed in
shift in and shift out characters on the Selection Criteria screen, the Relationship Information
window, and the Column Relationships screen.
Table Names
You can specify table names that contain DBCS characters. Use the following syntax:
where,
You can use mixed strings to specify values in the Where field on the Selection Criteria screen. Use
the following syntax for CHAR, VCHAR, and LVCHAR strings:
where,
= any valid operator (see Where on page 307 for a list of valid
operators)
28 File-AID/RDX Reference
’(apostrophe) delimiter
> DB2 shift out character
< DB2 shift in character
sbcs-string DBCS data
dbcs-string DBCS data
Use the following syntax for GRPH, VGRPH, and LVGRPH strings:
where,
= any valid operator (see Where on page 307 for a list of valid
operators)
G constant
’(apostrophe) delimiter
> DB2 shift out character
< DB2 shift in character
dbcs-string DBCS data
Types of Screens
There are several types of screens in File-AID/RDX. These screen types are defined in the following
sections.
See DB2 Relationship Facilitator on page 88 for a description of this screen example.
See Relationship Detail on page 101 for a description of this screen example.
30 File-AID/RDX Reference
Pop-Up Windows
File-AID/RDX uses several types of pop-up windows to perform functions such as displaying a
selection list and displaying detailed information about a single relationship.
See Relationship Information Screen on page 107 for a description of this screen example.
Scrolling
When a scrollable data display or pop-up window is displayed, the information to be displayed may
exceed the screen or window size. The scrolling commands enable you to move the information up or
down relative to the screen or window allowing you to view all displayable data. You can scroll
through the data by using the UP and DOWN commands.
UP Causes scrolling toward the top of the data by the specified scroll amount.
DOWN Causes scrolling toward the bottom of the data by the specified scroll
amount.
Only the Selection Criteria screen and scrollable fields (see also Scrollable Fields for Db2 Long Names)
permit left and right scrolling. You can use the LEFT and RIGHT commands to scroll through the
data.
LEFT Causes scrolling toward the first column of data by the specified amount.
RIGHT Causes scrolling toward the last column of data by the specified amount.
UP
DOWN n
LEFT CSR
RIGHT CUR
C
DATA
D
HALF
H
PAGE
P
For scrolling purposes, a “page” is defined as the amount of information currently visible on the
logical screen. A pop-up window, for example, might have 10 lines of scrollable data. In this case a
scroll amount of HALF would scroll 5 lines.
32 File-AID/RDX Reference
• Using the LEFT and RIGHT commands to scroll through the long name within an existing field
• Using the EXPAND command to display the long name in a separate window
The ZCLRSFLD command (PF24), introduced in z/OS 1.8, clears the contents of the scrollable field to
blanks without having to EXPAND the scrollable field.
Scrollable fields are a standard ISPF feature. Refer to the “ISPF Dialog Developer’s Guide” for more
information about scrollable fields.
Scrollable fields are not supported within dynamic display panels. The following is a list of the most
commonly used dynamic display panels:
Use the KEYS command to set LEFT and RIGHT commands to a PF key (see also Assign PF Keys).
Use the KEYS command to set the EXPAND command to a PF key (see also Assign PF Keys).
Overview 33
Command Entry
Enter commands by:
• typing the command in the COMMAND or OPTION field and pressing Enter; or
• pressing a PF key to which you assigned a command.
Assign PF Keys
Assign commands to your File-AID/RDX PF keys using the KEYS command from any screen in File-
AID/RDX. When you press a PF key, the processing is the same as if you typed the command in the
COMMAND field and pressed Enter. See Program Function (PF) Keys on page 34 for more
information about PF keys.
Concatenate Commands
Enter information in the COMMAND field before you press a PF key. The PF key definition is
concatenated ahead of the contents of the COMMAND field. For example, suppose you assign the
DOWN command to PF8. If you type 6 in the COMMAND field and press PF8, the results are the
same as if you had typed DOWN 6 in the COMMAND field and pressed Enter.
Stacking Commands
Stack commands for File-AID/RDX to process in a single step by using a delimiter. Enter the delimiter
between the commands. The default delimiter is a semicolon (;). Change the default using ISPF/PDF
option 0.1.
sign (=) followed by a primary option. You can enter it in any prompt field that is preceded by an
arrow (===>).
Terminal Keys
You can use program access (PA) and program function (PF) keys to perform commonly used
operations. Although PF keys are not required for File-AID/RDX operation, you can assign commands
to PF keys using the KEYS and/or KEYLIST command (see also Program Function (PF) Keys on page
34).
PA1 (Attention) If you press PA1 once, File-AID/RDX responds as if you pressed PA2 (Reshow). If
you press PA1 a second time without any intervening interaction, the current
processing is terminated and the ISPF/PDF Primary Option Menu is redisplayed.
PA2 (Reshow) Redisplays the contents of the screen. PA2 may be useful if you pressed the
ERASE INPUT or CLEAR keys accidentally, or if you typed unwanted information
but have not yet pressed Enter.
Set the KEYLIST status to ON to enable the File-AID/RDX defined key list. To change PF key
assignments use the KEYLIST command. Then File-AID/RDX determines whether KEYLIST is ON or
OFF.
• If OFF, File-AID/RDX executes the KEYS command so you can change the PF key settings.
• If ON, File-AID/RDX executes the KEYLIST command so you can change the key list settings.
When you change the File-AID/RDX default key lists you only change your private copies (Key
list Type changes from Shared to Private).
File-AID/RDX and ISPF/PDF maintain separate PF key definitions. When you modify PF key
definitions within File-AID/RDX, you modify only your File-AID/RDX PF keys. Conversely, when you
modify PF key definitions within ISPF/PDF, you modify only your ISPF/PDF PF keys.
Terminal Types
File-AID/RDX only supports the standard IBM 327x terminal types supported by IBM ISPF, which
have dimensions such as 24x80 (24 lines by 80 columns), 32x80, 43x80, and 27x132.
If you are using 3270 emulator software on a PC, you may have the dimensions set to some other
proportions. Not all possible dimension settings will work with File-AID/RDX. That is, if you edit
your PC settings file and change the dimensions to some nonstandard setting, File-AID/RDX screen
displays may fail.
If you use a nonstandard setting and you are not concerned about it causing occasional screen display
failures, Compuware recommends to select choice "3. Max" under ISPF Option 0 - Settings, Terminal
Characteristics - Screen format. That is an IBM ISPF setting, not a File-AID/RDX setting. It controls
IBM ISPF screen handling. Choosing Screen format [Link] tends to give best results for working with
the broadest range of screen dimensions. Note again that File-AID/RDX only supports the standard
dimensions of standard IBM terminal types.
This window includes a selection list of all subsystems that have been defined for your site during
File-AID/RDX’s installation.
If you are running File-AID for DB2 during the same TSO session, the list will be limited
to only those subsystems that are defined for the same Db2 load library that File-AID for
DB2 is connected to. To connect to a subsystem using a different Db2 load library,
terminate one of the two applications before switching subsystems.
36 File-AID/RDX Reference
Move the cursor to the desired subsystem and enter the S line command.
"Successful Connect"
File-AID/RDX detected another application other than File-AID/RDX or File-AID for DB2 accessing
Db2. Disregard this alert only when the other application shares the same Db2 load libraries with
File-AID/RDX. To prevent Db2 call attach problems with unpredictable results Compuware
recommends to terminate the other applications before you continue with the File-AID/RDX session.
File-AID/RDX Files
File-AID/RDX uses the following files:
• Relationship File
• Extract/Load/Delete Request File
• Extract File
• Extract Summary File
• Discard File
• User Profile File
• Disguise Control File
• Disguise Criteria File
• Audit Trail File
• Execute Saved Request (ESR) JCL File
• Object Override File
• SC (Selection Criteria) Override File.
Overview 37
Relationship File
The relationship file contains information about relationship definitions that File-AID/RDX uses in
the extract process.
Use the File-AID/RDX Relational Facilitator Option A to allocate a new relationship file (see Allocate
Relationship File on page 180).
The relationship file stores information about relationships including the following:
information about AR relationships when you create them in Option 1 with the Add AR option or
line command.
The relationship file is a fixed format file. There is one record in the file for each parent and child
object. Each record contains the following groupings depending on whether the object is a parent or
child and whether it is a DB2, MVS, or IMS or Output Key object type.
Key
Identifies the object, the object type and whether it is the parent or child in the relationship.
RI
CHAR 2 Referential Integrity
AR
Application Relationship
Depend-full-
PIC S9999 Offset for dependent full name (long object names only)
name-offset
Parent-full-
PIC S9999 Offset for parent full name (long object names only)
name-offset
Long-name-text Full object name (long object names only) for parent and
dependent Db2 long name objects. Includes: total length,
PIC X(550) object type, location name length, location name, creator
name length, creator name, table name length, table
name.
0
No delimiter required
1
Delimiter required for Table
2
Delimiter required for Creator
3
CHAR 1 Delimiter required for Table and Creator
4
Delimiter required for Location
5
Delimiter required for Table and Location
6
Delimiter required for Creator and Location
7
Delimiter required for Table, Creator and Location
Depend-delim- Dependent delimiter indicator. See Parent delimiter indicator for
CHAR 1
ind explanation of possible values.
Audit-info Sync GRP 68 Timestamp and User ID for creation and modification of the relationship
Load-tmstmp Timestamp indicating when the relationship was created or loaded into the
CHAR 26 relationship file. The timestamp is written in the following format: YYYY-
[Link]
Load-userid CHAR 8 Userid that created or loaded the relationship.
Mod_tmstmp Timestamp indicating when the relationship was last modified. The
CHAR 26 timestamp is written in the following format: YYYY-MM-DD-
[Link]
Mod_userid CHAR 8 Userid that last modified the relationship.
Rel-data-DB2
GRP 14 Database information for the relationship
Sync
DBMS-info-
GRP 7 Database information for the parent
parent Sync
DBMS-VRM CHAR 3 DBMS version
DBMS-SubsysID CHAR 4 DBMS subsystem ID
DBMS-info-child
GRP 7 Database information for the dependent
Sync
DBMS-VRM CHAR 3 DBMS version
DBMS-SubsysID CHAR 4 DBMS subsystem ID
Filler CHAR 4 Filler
Parent-full-name-
PIC S9999 Offset for parent full name (long names only)
offset
Depend-full-
PIC S9999 Offset for dependent full name (long names only)
name-offset
Column-source
GRP 112 Parent and child column/field information
Sync
Overview 41
S
CHAR 1 Single
X
XREF
Layout-DSN CHAR 44 Layout file name
Layout-Member CHAR 10 Layout file member name
XREF-DSN CHAR 44 XREF file name
XREF-Member CHAR 8 XREF file member name
IO-exit-name CHAR 8 IO exit name
Rec-01-name CHAR 31 Rec-01 level name
You can load and refresh RI relationships defined on different subsystems into a single relationship
file by resubmitting the RI load job for each subsystem. Refer to Batch RI Load on page 182 for more
information. In addition, you can load select RI relationships using the online Load RI option (see 5
- Load RI on page 89) or the L (Load RI) line command (see L on page 93) in the Relationship
Facilitator.
Section Refreshing Relationship File from an Outside Source in the File-AID Advanced Configuration
Guide also includes instructions and a sample program on how to load application relationships from
other relationship sources, such as code generators.
File-AID/RDX is designed to exploit the advantages of having all users accessing a single, common
relationship file. Sharing a common relationship file has many benefits. You do not have to
individually set up and document your RI and AR relationships. One individual in your organization
can manage this task. You are not limited, however, to the relationships created by the initial load
job. If a relationship that you need is not defined in the file, File-AID/RDX lets you create or load
one.
In addition, the common relationship file ensures a consistent model for everyone to use and one
that is easy to keep up-to-date. With a common file, all users have access to the most current version
of the relationship file. Changes to the relationship file are implemented through the Relationship
options on the File-AID/RDX Primary Option Menu. You can make changes to RI relationships using
the Load RI option or L (load RI) line command from Option 1, and to AR definitions using the Edit
AR or Add AR options or the E (Edit AR) or A (Add AR) line commands from Option 1. The product
installer or a DBA can run the File-AID/RDX Relationship Facilitator Option L- Batch RI Load
Overview 43
periodically to refresh the file with referential integrity information from the Db2 catalog (see also L-
Batch RI Load on page 90).
Data Visualizer
The Data Visualizer component of the Topaz Workbench provides another way to view the
relationship definitions in a relationship file. Refer to the Topaz Workbench documentation for more
information on the Data Visualizer.
For example, you have a set of relationship definitions for a given group of tables in subsystem A. You
want to extract data from a similar group of tables that reside in subsystem B. To perform this extract:
Refer to Cloning Extract Requests on page 202 for details on accessing relationship information from
one subsystem and using it on another.
See File-AID/RDX Extract/Load/Delete Request File on page 368 for more information about how File-
AID/RDX uses this file and how it is structured.
Data Visualizer
The Data Visualizer component of the Topaz Workbench provides another way to view the
relationship definitions in an extract request file. Refer to the Topaz Workbench documentation for
more information on the Data Visualizer.
Extract File
This file is the output from the extract process and the input for the Load and Delete process.
See Extract for more information about how File-AID/RDX uses this file. See File-AID/RDX Extract File
on page 377 for more information about the structure of this file.
When during an extract the allocated space for an extract file is exceeded (X37 abend), File-AID/RDX
initiates a reallocation routine (X37 abend recovery) that creates an intermediary file and copies the
extracted data into it. Then the routine deletes and redefines the original extract file with increased
Overview 45
primary and secondary quantities of the originally allocated space units (BLK, TRK or CYL). File-
AID/RDX uses a multiplier to increase the quantities. The data is then copied from the intermediary
file into the newly allocated extract file, the intermediary file is deleted and File-AID/RDX continues
to add extracted data.
If the extract requires additional space, this routine repeats until the extract file can hold all of the
extracted data or the reallocation attempts a second multi-volume allocation. The dynamic
reallocation routine can request a multi-volume allocation only once during an extract. Multi-
volume allocation is requested when there is no space left on single volume.
When creating the intermediary file, the routine changes the last character
of the file name to a letter between J and R, for example, [Link]
to [Link]. If these files already exist, File-AID/RDX will not create
the intermediary file and the dynamic reallocation will fail.
See Specify Extract “TO” File Information on page 338, Load or DCF: Disguise Existing Extract on
page 664 for more information about how File-AID/RDX uses this file.
Discard File
If you request that discarded rows be saved, File-AID/RDX writes rows discarded to the discard file
during SQL Insert and delete processing.
File-AID/RDX uses this file during delete processing and during load processing when you specify the
SQL Insert processing option. See Load and Delete for more information about how File-AID/RDX
uses this file.
The structure of this file is similar to that of the extract file. See File-AID/RDX Extract File on page
377.
The profile information is saved permanently and can be modified in Option 0—Profile. The physical
file name for the profile is displayed in the RDX Profile Screen (see Figure 13 on page 49) and includes
the prefix and midlevel qualifier for the profile. The midlevel qualifier (product parameter variable
RDXPMDQL) is specified during configuration of File-AID/RDX.
This file can be created with Option 4- Control in the Data Privacy Menu (see page 610).
See Data Privacy for more information about how File-AID/RDX uses this file.
This file can be created with Option 5- Criteria in the Data Privacy Menu (see page 611).
See Data Privacy for more information about how File-AID/RDX uses this file.
The naming convention used for the Audit Trail files is:
[Link]
The prefix is specified when the Extract File is disguised. Dnnn identifies the number assigned to the
object in the Extract File. Bnnn is only used when an Audit Trail is produced for an MVS object that
uses an XREF; Bnnn is the layout number within the XREF.
Use Option A - Print Audit in the Data Privacy Menu (see page 611) to print an audit trail file.
This file can be created with Option 2- JCL/Overrides in the RDX Utilities Menu (see page 691).
See JCL/Overrides Utility on page 698 for more information about how File-AID/RDX creates and
updates this file.
This file can be created with Option 2- JCL/Overrides in the RDX Utilities Menu (see page 691).
File organization Partitioned (DSORG=PO) for per request or Sequential (DSORG=PS) for
global override file
Record format Variable-blocked (RECFM=VB)
Logical record length 1004 (LRECL=1004)
48 File-AID/RDX Reference
See JCL/Overrides Utility on page 698 for more information about how File-AID/RDX creates and
updates this file.
This file can be created with Option 2- JCL/Overrides in the RDX Utilities Menu (see page 691).
File organization Partitioned (DSORG=PO) for per request or Sequential (DSORG=PS) for
global override file
Record format Variable-blocked (RECFM=VB)
Logical record length 1004 (LRECL=1004)
See JCL/Overrides Utility on page 698 for more information about how File-AID/RDX creates and
updates this file.
When you end File-AID for DB2, you return to File-AID/RDX option from which you invoked File-AID
for DB2.
File-AID for DB2 - 17.2 ------ Primary Option Menu --------------- Enter option
OPTION ===>
More: +
0 DEFAULTS and USER PARMS USERID - TSOID01
1 BROWSE TIME - 08:03
2 EDIT TERMINAL - 3278
3 UTILITIES PF KEYS - 24
3.1 - Object Administration CCSID - 00037
3.2 - Create, Model, Drop, Alter DB2 Objects DB2 SSID ===> DSN
3.3 - Copy Rows Between Tables
3.4 - Object List Processing
3.5 - SQL Command Manager
3.6 - Display, Grant, Revoke or Modify DB2 Privileges
3.7 - Extract and Load Tables
3.8 - Column Impact Analysis
3.9 - Batch Execute SQL with Auto-COMMIT Processing
4 SQL ANALYSIS - SQL Development and Analysis
5 PRINT - Print table Data or Audit Trail
6 RELATIONSHIPS - Maintain relationship definitions
7 DATA DISGUISE - Define Disguise Criteria and Disguise Extract files
Copyright (c) 1989 - 2016 Compuware Corporation. All Rights Reserved.
Online Technical Support available at: [Link]
Type LEGAL on the command line for Copyright/Trade Secret Notice.
Unpublished - rights reserved under the Copyright Laws of the United States.
49
Option G, Global Defaults, displays the current File-AID/RDX release level. Here, you also set the
maximum number of entries allowed in your user reference lists for the extract, load and delete
functions. See Option G—Global User Defaults on page 82.
Option 0—Profile
The RDX Profile Screen shown in Figure 13 is displayed when you select Option 0 from the File-
AID/RDX Primary Option Menu. On this screen you select the profile for which you would like to
view or update its settings. Options 1 through 6 set the defaults for the currently selected profile.
Active profile
Profile Type
Specify which profile file to open. If the specified profile doesn’t exit, File-AID/RDX attempts to
create the profile file.
SITE
USER
50 File-AID/RDX Reference
Enter USER to select your own profile file (your [Link], see also Profile Dataset).
The TYPE field then displays your userid.
prefix
Identifies a profile file with the specified high level qualifier (up to 26 positions) (see also
Profile Dataset). Entering a prefix that includes the string &USERID will substitute the
current userid when the profile file is allocated. The prefix must not include the midlevel
qualifier.
Example: prefix FDM.&USERID allocates [Link].
Name
Specify the profile name (member name in the profile file). Enter an asterisk (*) or leave blank to
display a list.
Description
Enter text that provides a concise description of the profile’s content or purpose.
Profile Dataset
Displays the full name of the physical profile dataset (PDSE) including the prefix and midlevel
qualifier (mlq) for the profile. The midlevel qualifier (product parameter variable RDXPMDQL) is
specified during configuration of File-AID/RDX.
Enter the option number (1 - 6) to select the desired option or enter ALL to step through all options
in sequence. Alternatively, you may also select one or more options with the S or / line command.
1 - Batch Defaults
Displays the Session and Batch Defaults screen where you can set batch job parameters and job
statements for the current profile.
2 - Extract Defaults
Displays the Extract Defaults screen where you can set all the extract related defaults for the
current profile.
3 - Load Defaults
Displays the Load Defaults screen where you can set all the load related defaults for the current
profile.
4 - Disguise Defaults
Displays the Disguise Defaults screen where you can set all the data disguise related defaults for
the current profile.
Profiles and Global Defaults 51
5 - Permanent Files
Displays the Permanent File Defaults screen where you specify all the default names and
parameters for permanent extract and load related files for the current profile.
6 - Temporary Files
Displays the Temporary File Defaults screen where you specify all the default allocation
parameters for temporary extract and load related files for the current profile.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
ALL
Selects all profile options for you to step through in sequence.
CANCEL
Cancels all profile edits since the last save and returns to the File-AID/RDX Primary Option
Menu.
The CANCEL command is also a valid command in any and all of the Profile subpanels.
CANCEL returns to the next higher level panel and discards any changes made in the panel
where CANCEL is entered.
If you specify ALL in the RDX Profile screen or select multiple subpanels, CANCEL returns
to the RDX Profile screen instead of going to the next panel selected, and all changes while
in the CANCELed Profile screen will be discarded. Updates made in screens you exited with
END will be retained, unless you also enter CANCEL on this RDX Profile screen.
END
Saves the current profile and returns to the File-AID/RDX Primary Option Menu.
Select Profile
The Select Profile Screen shown in Figure 14 is displayed when you entered an asterisk (*) or blanked
out the profile field of the File-AID/RDX Primary Option Menu (Figure 1) or the RDX Profile Screen
(Figure 13). Use this screen to select the current profile as well as copy, rename or delete site or user
profiles.
Type
Specify in which profile file to look for the profile member(s) to display. If the specified profile
doesn’t exit, File-AID/RDX attempts to create the profile file.
USER identifies your own profile file (your userid). When you enter USER your userid displays to
indicate your USER profile type.
prefix identifies a profile file with the specified high level qualifier (up to 26 positions). Entering
a prefix that includes the string &USERID will substitute the current userid when the profile file is
allocated. The prefix must not include the midlevel qualifier.
Example: prefix FDM.&USERID allocates [Link]
Dataset
Displays the full name of the physical profile dataset including the prefix and midlevel qualifier for
the profile. The midlevel qualifier (product parameter variable RDXPMDQL) is specified during
configuration of File-AID/RDX.
line command
Enter line command in the first column of the list area. See Line Commands for valid line
commands.
Profile
Lists the profile name (member name in the SITE or USER profile file).
New Name
Space to specify the new profile name when renaming (R line command) or copying (C line
command) the profile.
Description
Text can be used to provide a more detailed description of the profile’s content or purpose.
Description can be entered when copying or renaming a profile.
Profiles and Global Defaults 53
Line Commands
C
Copy the profile. If you leave NEW NAME column blank, the Copy Profile window (Figure 15)
displays where you can specify the new profile name (member name) and profile type, USER,
SITE, or prefix.
In order to copy a profile from the SITE to the USER or prefix profile, set the Profile Type to USER
or prefix in the Copy Profile window.
R
Rename the profile. Type the new profile name in the NEW NAME column. If you don’t enter a
name in the NEW NAME column, the Rename Profile window (Figure 16) allows you to enter a
new name and also to modify the old profile description in the Description field.
S
Select the profile (member name in the profile file) to be the current profile. File-AID/RDX
automatically saves the current profile when selecting another profile.
D
Delete the profile (member name) from the profile file.
Navigation
Some of the panels have a large scrollable area. Be sure to navigate to the bottom of the scrollable
area as to not miss any fields. Use the UP and DOWN keys to scroll up or down in the panels.
Use the END (PF3) command to save your entries in the current panel and return to the RDX Profile
Menu. If flow through mode is active, END proceeds to the next selected profile option panel.
Use the PREV (PF10) and/or NEXT (PF11) commands to navigate to the next or previous panel when
in flow through mode.
Enter CANCEL to return to the next higher level panel and discard any changes made in the panel
where CANCEL is entered.
If you specify ALL in the RDX Profile screen or select multiple subpanels, CANCEL returns
to the RDX Profile screen instead of going to the next panel selected, and all changes while
in the CANCELed Profile screen will be discarded. Updates made in screens you exited with
END will be retained, unless you also enter CANCEL on this RDX Profile screen.
Region size
Specify the region size for extract or load batch jobs to be run with this profile.
Extract Defaults
The Extract Defaults screen shown in Figure 18 on page 57 is displayed when you select Option 2
from the RDX Profile Screen. Use this screen to specify the default values for an extract using the
current profile.
This screen has a large scrollable area. Be sure to navigate to the bottom of the scrollable area as to
not miss any fields. Use the UP and DOWN keys to scroll up or down in this screen.
Profiles and Global Defaults 57
Specify the Navigational Criteria Options associated with the current profile. See Extract Scope on
page 247 for detailed information.
Direct
Specify to extract the dependents (children) of the driving object and their dependents.
Extract the dependents of the driving object and their dependents (default).
Do NOT extract the dependents of the driving object and their dependents.
(All Children only) Extract the dependents of the driving object and all of their dependents
only. This option ignores all other Navigational Criteria Options (DPSI) settings, resets them
to DPSI=CNNN, and cannot be modified during the extract specification.
Using the C method to extract data and only its dependent data can lead to extracted data
that is not loadable because of referential integrity issues due to the omitted related parent
data. This can be useful for extracting specific data that is then used for a purge procedure.
(Plus) Extract all of the direct relationships of the driving object, i.e. all of its parents and
first level dependents only. Direct "Plus" means resolve all objects’ parents until there are no
more parents to return. This option ignores all other Navigational Criteria Options (DPSI)
settings, resets them to DPSI=PYNN, and cannot be modified during the extract specification.
The C and P settings for Direct can only be set in the profile. The profile
settings are used to build the relationship tree with its related objects when
starting an extract specification.
Parents
Specify to extract parents of all extracted data to maintain the integrity of the extracted data.
Siblings
Specify to extract other dependents of the extracted parents from the same relationships.
Indirect
Specify to extract other dependents of the extracted parents from other relationships.
Specify the Detail Display Options. See Extract Scope on page 247 for detailed information.
Profiles and Global Defaults 59
None does not display either of the detail extract scope panels.
Object displays the Extract Scope - Object View panel, listing all objects related to the driving
object from which to extract data.
Relationship displays the Extract Scope - Relationship Criteria panel, listing all the
relationships associated with the driving object.
Specify the extract quantity options. See Extract Scope on page 247 for detailed information.
Maximum Cycles
Specify the number of extract cycles after which the extract process should stop. Enter a number
between 1 and 99, or an asterisk (*) to specify no cycle limit.
Quiesce resolves all orphan records after maximum count has been reached. (May result in
more records than the maximum count.)
Stop does not resolve possible orphan records (may extract dependent records without their
parents).
Whether the value entered here will be used in the extract screens depends on the setting of the
UNCOMMITTED_READ_DEFAULT parameter of the Db2 Environment PARMLIB member (see also
UNCOMMITTED_READ_DEFAULT in the File-AID Advanced Configuration Guide).
60 File-AID/RDX Reference
Language
Specify whether the record layout will be in COBOL (1), PL/I (2), or FA COBOL (3) format. FA
COBOL (3) creates a File-AID COBOL layout with special type VAR for Db2 column type VCHAR
or VC (see also Table 13 on page 306), for example when the FIRSTNME column is defined to Db2
as VARCHAR(12), with FA COBOL it will be generated as 10 FIRSTNME PIC X(12) VAR. Use option
3, FA COBOL when you need to define disguise criteria for Db2 tables with column type
VARCHAR.
DB2 Format
Specify whether Db2 data extracted from tables with Unicode encoding is written to the extract
file in Unicode or EBCDIC format.
Profiles and Global Defaults 61
Unicode option will write the data using Unicode encoding without utilizing IBM z/OS
Conversion Services.
Compatibility format will maintain the EBCDIC encoding utilizing IBM z/OS Conversion
Services used in previous releases of File-AID/RDX (default).
Default SQLID
Specify the Db2 SQLID to be used during an extract using this profile.
Db2 utilities do NOT support enclosing lowercase creator IDs with quotes.
DB2 Subsystem
Specify the Db2 subsystem ID for the Db2 objects to be extracted using this profile.
Location
Specify the location of the object you want to drive the extract if it resides in a remote Db2
subsystem. The location you enter must be defined in the Db2 system catalog table,
[Link].
You may leave this field blank if the table you want to drive the extract is in the Db2 subsystem
in the DB2 Subsystem field.
Creator
Specify the authorization ID of the owner of the table, view, synonym, or alias that you want to
drive the extract process using this profile.
62 File-AID/RDX Reference
Table Name
Specify the name of the table, view, alias, or synonym that you want to drive the extract process
using this profile. For more information about how File-AID/RDX supports view, aliases, and
synonyms in Extract, see Use of Db2 Views on page 223 and Use of Aliases and Synonyms on page
223.
Panel Customization
The profile also stores information on what panels will be part of the online extract specification
process, allowing you to customize the flow through the extract panels.
Request File
For each of the Extract Menu options you can specify whether the menu option will be displayed,
locked or its selection automatically included in the extract panel flow.
Place the cursor on value in each field and press TOGGLE (PF4) to change the value.
SHOW
Include on extract menu.
LOCK
Lock menu choice.
FLOW
Include on extract menu and pre-select the option for flow mode navigation. When your first
extract panel is either Reference List or Request File and Display Extract Menu is set to No, you
must set at least one Extract Menu option to FLOW.
Load Defaults
The Load Defaults screen shown in Figure 19 on page 64 is displayed when you select Option 3 from
the RDX Profile Screen. Use this screen to specify the default values for a load using the current
profile.
This screen has a large scrollable area. Be sure to navigate to the bottom of the scrollable area as to
not miss any fields. Use the UP and DOWN keys to scroll up or down in this screen.
64 File-AID/RDX Reference
Default SQLID
Specify the Db2 SQLID to be used during load and delete processing using this profile. If blank,
SQLID defaults to USER.
SSID
Specify the Db2 subsystem ID of the target Db2 objects to be loaded using this profile.
Location
Specify the location of the target objects you want to load if they reside in a remote Db2
subsystem. The location you enter must be defined in the Db2 system catalog table,
[Link].
You may leave this field blank if the Db2 objects you want to load reside in the Db2 subsystem
you specified in the SSID field.
Creator
Specify the authorization ID of the owner of the target Db2 objects that you want to load using
this profile.
If an index were named XDEPT1, adding a prefix of T would make the new index name
T_XDEPT1, adding a suffix of T would make it XDEPT1_T, adding both prefix and suffix would
make it T_XDEPT1_T.
SQL
Perform the load using SQL INSERT statements. This option allows you to update rows if they
already exist.
DB2
Perform the load using the IBM Db2 Batch Load Utility.
66 File-AID/RDX Reference
When File-AID/RDX creates Db2 objects it uses the DDL as extracted. You can specify the following
default values to override the extracted values.
Database
Specify the default Db2 database in which the new tables will reside. When loading an extract file
created with a Release earlier than 4.0, the database must already exist in the target environment.
Leave blank if the target database name should be the same as the source.
Tablespace
Specify the default tablespace in which the new tables will reside. Leave blank if the target
tablespace name(s) should be the same as the source. When loading an extract file created with a
Release earlier than 4.0, the tablespace must already exist in the database specified in the
Database field above. See also Create/Edit Db2 Tablespace on page 465.
Implicit Tablespace
Specify whether Db2 should create an implicit tablespace for each table to be created. If set to
Yes, it overrides the name specified in the Tablespace field above. Implicit tablespace request does
not apply to tables that are extracted from multi-table or partitioned tablespaces.
STOGROUP
Specify the default target storage group for database, index, and tablespace creation.
Primary Quantity(K)
Specify the default number of storage units to be allocated for the file in which your tablespace or
index is to reside.
Secondary Quantity(K)
Specify how much more space should be allocated for the file if it exceeds the primary quantity.
Freepage
Specify how often the system should leave a free page when the tablespace or index is updated.
Pctfree
Specify how much of each page to leave free when the tablespace or index is updated.
Profiles and Global Defaults 67
Buffer Pool
Specify the default Db2 buffer pool name associated with the target database, tablespace or index.
Space recalculation
Specify Yes if you want File-AID/RDX to calculate the space allocation for the new target Db2
objects based on the extracted data. The calculated space will not exceed the space allocation of
the source.
When set to No the Db2 allocation parameters for the new object will be the same as for the
source object.
Replace Matches
When you are adding data to an object that is not empty and the INSERT operation fails because
the row or record already exists, specify whether or not it should be replaced. Only applies to SQL
INSERT load option.
Log Option
Specify which log option to use during the execution of the Db2 LOAD utility for the Db2
objects.
Image Copy Db2 logging of data will not occur during the load process. Db2 sets a COPY
PENDING restriction against the tablespace being loaded. An IMAGECOPY step is generated
to remove the COPY PENDING status.
Repair Db2 logging of data will not occur during the load process. Db2 sets a COPY
PENDING restriction against the tablespace being loaded. A REPAIR step is generated to set
NOCOPYPEND for the tablespace(s). To execute this utility, the privilege set of the process
must include one of the following:
Inline Image Copy When “Delete All” is also set to ‘YES’ this option will invoke inline image
copy. Db2 logging of data will not occur during the load process. The tablespace into which
the data is being loaded will not be placed into a copy pending state.
If there are multiple tables in a tablespace then inline image copy is not used; instead an
IMAGECOPY step is generated to remove the COPY PENDING status.
Space recalculation
Specify YES if you want File-AID/RDX to calculate the space allocation for the new target file
based on the extracted data. The calculated space will not exceed the space allocation of the
source.
When set to NO the MVS file allocation parameters for the new object will be the same as for the
source file.
Storage Class
Specify the default storage class for the target files.
Management Class
Specify the default management class for the target files.
Delete/Define
Specify whether or not File-AID/RDX should delete the target file and then redefine it before it
loads data from the extract file.
Yes
File-AID/RDX generates a step in the JCL to delete the object and then create it again before
loading data.
No
Replace Matches
When you are adding data to an object that is not empty and the INSERT operation fails because
the row or record already exists, specify whether or not it should be replaced. Only applies if the
target object is indexed.
Yes
70 File-AID/RDX Reference
File-AID/RDX generates LCT and SORT datasets and associated JCL steps for objects with
zero rows extracted.
No
Panel Customization
The profile also stores information on what panels will be part of the online load specification
process, allowing you to customize the flow through the load panels.
For each of the Load Menu options you can specify whether the menu option will be displayed,
locked or its selection automatically included in the load panel flow.
Place the cursor on value in each field and press TOGGLE to change the value.
SHOW
Include on load menu.
LOCK
Lock menu choice.
FLOW
Include on load menu and pre-select the option for flow mode navigation. When Display Load
Menu is set to No, you must set at least one Load Menu option to FLOW.
Profiles and Global Defaults 71
Disguise Defaults
The Disguise Defaults screen shown in Figure 20 on page 71 is displayed when you select Option 4
from the RDX Profile Screen. Use this screen to specify the default values for the data disguise option
using the current profile.
This screen has a large scrollable area. Be sure to navigate to the bottom of the scrollable area as to
not miss any fields. Use the UP and DOWN keys to scroll up or down in this screen.
Use DCF. Disguise the extracted data using a disguise control file (DCF). This option requires
installation of Compuware’s File-AID/Data Solutions.
Use DPR. Disguise the extracted data using a Dynamic Privacy Rules Project (DPR). This
option requires installation of Compuware’s File-AID/Data Solutions and the File-AID Data
Privacy component of the Topaz Workbench.
3
72 File-AID/RDX Reference
When disguising an extract with File-AID Data Privacy defined Dynamic Privacy Rules
(DPR), specify a region size large enough to run Java (REGION=0M is suggested, 200M
is the minimum) in your jobcard. See also Job Statement Information on page 56.
Unit
Specify the default unit for the disguise audit trail files.
Storage Class
Specify the default storage class for the disguise audit trail files.
Management Class
Specify the default management class for the disguise audit trail files.
Business Rules
Specify the name of the file to be used as the default business rules file for data disguise. The
business rules files is used when File-AID/Data Solutions operates on date fields; it can also be
used by field exits. Refer to File-AID/Data Solutions Parameters on page 669 for more
information.
Profiles and Global Defaults 73
Specify the full repository name (up to 128 characters). Leave blank or enter an asterisk (*) by
itself for a list of all repositories. Then select the desired repository from the list (see Privacy
Repository List on page 74).
If the Repository Name field is blank, File-AID/RDX will use the name specified in Option G—
Global User Defaults (see DPR: Repository Name on page 83). The Repository Name must be set
properly, and will be used in combination with Dynamic Privacy Rules Project Name (see also
DPR: Project Name) throughout the rest of the product.
Specify the full project name (up to 128 characters) or a pattern ending with an asterisk (*) for a
list of matching projects. Asterisk (*) by itself lists all projects. When entering a pattern, it will
present a list of all matching projects when used during the disguise specification. Then, you can
select the desired project from the list (see Privacy Project List on page 74).
Panel Customization
The profile also stores information on what panels will be part of the online data disguise
specification process, allowing you to customize the flow through the disguise panels.
REPOSITORY NAME
Displays the name of the available File-AID Data Privacy Repository.
When a repository is unavailable (disabled), its entry is marked with an asterisk (*) in the line
command column. If you select an unavailable repository, the following short message is
displayed:
DISABLED REPOSITORY
Repository Name
Displays the name of the selected File-AID Data Privacy Repository.
PROJECT NAME
Displays the name of the Privacy Project. You created the Privacy Project with the File-AID Data
Privacy plugin of the Topaz Workbench.
Description
Displays the description of a Privacy Project if a description was entered when the Privacy Project
was created with the File-AID Data Privacy plugin of the Topaz Workbench.
This screen has a large scrollable area. Be sure to navigate to the bottom of the scrollable area as to
not miss any fields. Use the UP and DOWN keys to scroll up or down in this screen.
76 File-AID/RDX Reference
In any of the fields asking for a file name you may enter a an asterisk (*) or pattern and File-AID/RDX
presents a selection list for you to select the desired file.
Relationship file
Specify the name of the default File-AID/RDX relationship file to be used for this profile. Refer to
Relationship File on page 37 for more information about the relationship file.
Extract file
Specify the name of the default File-AID/RDX extract file to be used for this profile. This file is
the output from the extract process and the input for the Load process. Refer to Extract File on
page 44 for more information.
Extract Summary
Specify the name of the default File-AID/RDX extract summary file to be used for this profile.
This summary is created from the extract process and used for the Load, Delete, or Disguise from
Tape process. Refer to Extract Summary File on page 45 and Specify Extract “TO” File Information
on page 338 for more information.
Profiles and Global Defaults 77
Extract Request
Specify the name of the default File-AID/RDX Extract Request file to be used with this profile.
File-AID/RDX will copy the extract request into the named file. The request file can then be used
as a model for a future extract request.
Record Layouts
Specify the name of the default File-AID/RDX record layouts (copybook) file to be used for this
profile. Refer to Record layout file on page 98 for more information.
XREF
Specify the name of the default File-AID/RDX XREF file to be used for this profile. Refer to XREF
file on page 234 for more information.
Discard File
Specify the default name of the file to which discarded rows will be saved. The discard file must
be sequential. Refer to File for Discarded Rows on page 503 for more information.
Override file
Specify the default name of the file to which the template object override file will be saved. The
override file can be sequential or PDS. Refer to Object Override File on page 699 for more
information.
SC Override file
Specify the default name of the file to which the SC (Selection Criteria) override file will be saved.
The override file can be sequential or PDS. Refer to SC Override File on page 699 for more
information.
Unit
Specify the default unit for the permanent files. File-AID/RDX will verify that the unit specified is
a valid generic unit (for example, SYSDA) on the LPAR where you are currently logged on.
Storage Class
Specify the default storage class for the permanent files.
Management Class
Specify the default management class for the permanent files.
Space Units
Specify whether space for the new file will be allocated in blocks (BLK), tracks (TRK), or cylinders
(CYL).
Primary QTY
Specify the initial number of space units that will be allocated for the new file.
Secondary QTY
Specify the number of space units that will be allocated for each secondary extent.
Compress
Specify one of the compress options for the extracted data in the extract file:
C Compress; The extracted data will be compressed to reduce the file size and
preserve disk space. The entire data record is compressed. This technique
provides the greatest amount of data compression. File-AID/RDX recognizes these
compressed extract files as valid input files for all functions: Load, Delete, and
Disguise.
Profiles and Global Defaults 79
File-AID/RDX recognizes these compressed extract files as valid input files for all
functions: Load, Delete, and Disguise..
N File-AID/RDX won’t compress the extracted data.
If you intend to use a compressed extract file outside of File-AID/RDX, for example to
load the extract file via File-AID/EX or manipulate it with File-AID/Data Solutions, you
must decompress it beforehand. Use the decompress utility provided with the File-
AID/RDX Utilities to decompress a compressed extract file.
• Conditional AR file,
• Execute Saved Request files,
• Layout file, XREF file,
• Output Key file,
• Discard file,
• Summary file,
• Extract Request file,
• Load Request file,
• Delete Request file,
• Disguise Criteria file,
• various reports if they are saved as files.
Control files also include datasets created when generating JCL and are deleted after successful
execution:
• FBCNTL,
• VBCNTL,
• EXTPARMS.
Unit
Specify the default unit for the control files. Control files are required to be on DASD. Typically
this will be the same unit as used for permanent files. File-AID/RDX will verify that the unit
specified is a valid generic unit (for example, SYSDA) on the LPAR where you are currently logged
on.
Storage Class
Specify the default storage class for the control files.
Management Class
Specify the default management class for the control files.
80 File-AID/RDX Reference
The format of a temporary file name with prefix and suffix is:
[Link]
where the 3rd level dataset name qualifier XXXXXXXX is a constant indicating the type of the temporary
file, for example, SPLIT001 or CKSRTOUT.
[Link]
where the 3rd level dataset name qualifier XXXXXXX is a constant indicating the type of the temporary
file, for example, SPLT001 or CKSROUT.
Only when an 8 character TSO user ID is used, any 8 character long 3rd level dataset name
qualifier for dynamically generated or dynamically allocated datasets will change for these
cases (DDNAMEs are unaffected):
1. Data disguise with a File-AID XREF dataset: The 3rd qualifier changes from
S001B001 to S001001.
2. Extract chase key processing: The SORTOUT dataset 3rd qualifier changes from
CKSRTOUT to CKSROUT. For chase key files to be sorted, the 3rd qualifier changes
from R000001P to R00001P.
3. Loading XML columns to a Db2 table: The work dataset 3rd qualifier changes from
XMLFR001 to XMFR001.
1. Only if 8 character TSO user ID has been implemented at your site with z/OS 2.3 or later.
Profiles and Global Defaults 81
UNIT
Specify the default unit for the temporary files. File-AID/RDX will verify that the unit specified is
a valid generic unit (for example, SYSDA) on the LPAR where you are currently logged on.
Storage Class
Specify the default storage class for the temporary files.
Management Class
Specify the default management class for the temporary files.
File Prefix
Specify the default file prefix for all temporary files for this profile. This is the prefix used for files
that must be allocated for batch functions. File-AID/RDX will prefix temporary files with
[Link]. To prefix a file without a userid, place one double quote as the first character of the
pattern. For example, “RDX will prefix a temporary file with RDX. only. If the resulting file name
exceeds 44 characters, the specified prefix will be truncated to fit the maximum name length.
Entering the string &USERID will substitute the current userid at the time a temporary file is
allocated. For example, “RDX.&USERID will generate temporary files beginning with RDX,
followed by the current userid, followed by the rest of the generated dataset name.
File Suffix
Specify a file suffix for all temporary files for this profile, if one is desired. This is the suffix used
for files that must be allocated for batch functions. File-AID/RDX will append this suffix to the
names of generated file names for batch jobs.
The combined length of the file prefix and suffix cannot exceed 19
characters.
Sort Work, Temp Work and Chase Key File Allocation Areas
You can specify different default file allocation values for each of the Sort Work, Temp Work and
Chase Key files.
Space Units
Specify whether space for the new file will be allocated in blocks (BLK), tracks (TRK), or cylinders
(CYL).
Primary QTY
Specify the initial number of space units that will be allocated for the new file.
Secondary QTY
Specify the number of space units that will be allocated for each secondary extent.
If your extract exceeds the size of these temporary file allocations (B37 abend) change
the allocation parameters here and repeat the extract (see Extract).
File-AID/RDX will dynamically reallocate temporary work files, key tree and chase key
files only when running extracts using 64 bit memory (above the bar) processing
support. See also parameter EXTENDED_ADDRESSING_AREA_IN_GIGABYTES in the File-
AID Advanced Configuration Guide.
The values you specify here are applied only when your current profile’s corresponding values are
blank.
FA/RDX Version
Displays the current version of File-AID/RDX you are using.
Profiles and Global Defaults 83
YES
Deletes the File-AID/RDX control card PDSEs and parameter files at the end of an extract,
load, delete or disguise job.
NO
Does not delete the File-AID/RDX control card PDSEs and parameter files at the end of an
extract, load, delete or disguise job (Steps CLEANCTL and CLEANEXT are commented out).
If your current profile does not include the Repository Name, File-AID/RDX will use the name
you specify here. The Repository Name must be set properly, and will be used in combination
with Dynamic Privacy Rules Project Name (see also DPR: Project Name on page 73) throughout
the rest of the product.
Specify the full repository name (up to 128 characters). Leave blank or enter an asterisk (*) by
itself for a list of all available repositories. Then select the desired repository from the list (see
Privacy Repository List on page 74).
Job Statements
Specify the default job card information for batch jobs.
If your current profile does not include job card information, File-AID/RDX will use the default
job card information you specify here. If your current profile includes job card information, the
profile’s job card will be used for all extract, load, delete and disguise JCL (see also Job Statement
Information on page 56).
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
CANCEL (CAN)
Cancels your updates since the last save and returns to the File-AID/RDX Primary Option Menu.
END
Saves the current updates and returns to the File-AID/RDX Primary Option Menu.
85
Relationship Facilitator
Overview
This chapter describes Option 1, Relationship Facilitator. The Relationship Facilitator enables you to
view and manipulate the relationship file to:
Use Option 5, LOAD RI from the DB2 Relationship Facilitator menu (Option 1, RELATIONSHIPS) for
an online load or update of the RI information in the Relationship File. For more information, see
DB2 RI Update Online Options on page 112.
To load or refresh RI information from the Db2 catalog with a batch job, use Option L, Batch RI Load,
from the DB2 Relationship Facilitator menu (Option 1, RELATIONSHIPS) For more information, see
Batch RI Load on page 182.
To define an application relationship File-AID/RDX needs to know the parent and dependent object
names along with the names of the related column(s) or field(s). File-AID/RDX can assist you with the
application relationship definition through its SUGGEST feature: File-AID/RDX will suggest
relationships when column or field name, type, and length in the parent and dependent objects are
identical.
When defining an application relationship for an MVS object, you must always identify the specific
record layout or XREF information that defines the related field within the file.
A relationship can also be established from a Db2 or MVS parent to an Output Key file which
contains a record layout, an IMS segment or both. The layout file or IMS segment is considered the
dependent object. You define relationships for each field that is to be included in the extract Output
Key file. The layout will determine the location and format of each field within the Output Key file.
When the extract request is executed the Output Key file will be populated based upon the key values
for the KEY relationship in the related extract.
The Output Key File can then be used by File-AID/RDX as an input (external) keys file against a
driving object in another extract (see also Input Key File Specification on page 295) or as input into
another process of your choosing. When the relationship is to an IMS segment, use the Output Key
File with File-AID for IMS to extract IMS data.
In addition, you can define relationships in File-AID for DB2 and store them in the same relationship
file you use with File-AID/RDX. You can view and modify these relationships using File-AID/RDX
Option 1. File-AID for DB2, however, does not support application relationships involving KEY (IMS)
or MVS objects in its Related Edit/Browse function.
A very simple example of this concept is a parent column that contains a code that if it has a value of
"S" then a column named ID_COL has a social security number which is related to a table keyed by
SSN, but if the code is "D" then the ID_COL has a driver's license number which is related to a
different table.
For the sample scenario in Figure 26 on page 87, you would create four conditional application
relationships with the respective conditional criteria defined on the parent object ACCOUNT.
Relationship Facilitator 87
• file type must be SEQ, including GDG and GDS, KSDS, ESDS, or IAM 1
• MVS object must be defined with a COBOL or PL/I record layout; COBOL and unaligned PL/I
record layouts are compiled as interpreted by File-AID/RDX.
• only one record layout per object in a relationship file (layout usage S); if more than one is
required, use XREF (layout usage X)
• only one XREF file per object in a relationship file
• the LRCL must be less than or equal to 32,756 in order for the data records to be extracted
• File-AID/RDX does not support undefined record format (RECFM=U).
GDG Considerations
File-AID/RDX supports relative GDG numbers in addition to the G0000V00 (i.e. .G0001V00) hard
coded number for physical sequential files. File-AID/RDX allows you to define application
relationships (AR) to or from a GDG or a GDS. Relationships are allowed between generations of the
same GDG. If, for example, your current quarterly report is to extract from the current and the two
previous months, you define these relationships:
1. [Link](0) to [Link](0)
2. [Link](0) to [Link](-1)
3. [Link](0) to [Link](-2)
When specifying the GDG base in a relationship, for example [Link], File-
AID/RDX extracts from all existing generations.
1. For File-AID/RDX to continue support of IAM (Innovation Access Method) file types, apply the appropriate IAM version
fix(es): IAM Version 9.1 fixes P910005 and P910167, IAM Version 9.2 fix P920095, and IAM Version 9.3 fix P930003.
88 File-AID/RDX Reference
When you specify a view in either Relationships suboption, File-AID/RDX will display all
relationships defined for the view. If no relationships are defined for the view, File-AID/RDX will not
display any relationships. To see the relationships for the view’s base table you must enter the base
table name.
Use this screen to specify the name of the table or view for which you want to maintain relationships
and the File-AID/RDX relationship file that contains the information about those relationships. Then
enter one of the menu options to specify the action you want to perform. When pressing Enter
without selecting an option, File-AID/RDX selects option 4, List RDX, and lists all matching entries
found in the relationship file. File-AID/RDX issues a message when the relationship file does not
contain any entries for the specified Db2 object.
Menu Options
The following File-AID/RDX-specific menu options are valid on this screen:
1 - Browse All
Browse Relationship File. Select Option 1 to search the relationship file for previously stored
relationships that match the specified object.
Relationship Facilitator 89
Option 1, Browse All, enables you to view a list of all objects defined to your relationship file that
are “related” to the object (MVS file or Db2 table or view) you specify. You can then select a single
relationship about which you want to view detailed information from the list. See Relationship
Detail on page 101 for more detail.
When browsing existing relationships you can also modify, delete, and add new application
relationships.
2 - Edit AR
Edit Application Relationships. Select Option 2 to search the relationship file for previously
stored application relationships.
Option 2, Edit AR, enables you to view a list of all objects defined to your relationship file that
are “related” to the object (MVS file or Db2 table or view) you specify. From the list, you can then
select a single relationship about which you want to view detailed information. See Application
Relationship Detail on page 121 for more detail.
3 - Add AR
Add Application Relationship. Select Option 3 to add an application relationship. Displays the
Add Relationships — Specify Object Types so you can specify the parent and dependent object
types for the new relationship. See Add Relationships — Specify Object Types on page 123.
4 - List RDX
(Default) List all Db2 objects from the Relationship File. Select Option 4 to search the
relationship file for matching Db2 objects.
Option 4, List RDX, enables you to view a list of all Db2 objects defined to your relationship file
that “match” the object specification. See DB2 Object List on page 91.
5 - Load RI
Select Option 5 to maintain the relationship file for Db2 RI information. Option 5 enables you to
load or refresh Db2-defined RI information in your relationship file using information from the
Db2 catalog. In addition, you can delete RI relationship data from the relationship file. See DB2
RI Update Online Options on page 112.
6 - List DB2
Search the Db2 Catalog and Relationship File. Select Option 6 to find objects in the Db2 catalog
that match your specified pattern.
Option 6 enables you to view a list of all objects in the Db2 catalog that match the specified
pattern. It also checks the relationship file and informs you whether it includes an entry for the
object. See DB2 Object List on page 91.
A - Allocate
Displays the Allocate Relationship File panel where you can allocate a new relationship file. The
File-AID/RDX relationship file is the repository that stores the RI and AR relationship definitions
so you can extract related data. See Allocate Relationship File on page 180.
90 File-AID/RDX Reference
L- Batch RI Load
Displays the Batch RI Load screen where you can submit batch jobs to update a relationship file
with the current RI information for one or more Db2 subsystems. See Batch RI Load on page 182.
P - Print
Print Relationships. Displays the Formatted Relationship Report Screen screen where you can
submit a batch job to print a formatted report that contains information from the File-AID/RDX
relationship file that you specify. You can also save this report to an existing or new file. See Print
Relationship File on page 186.
SSID
Specify the Db2 subsystem ID of the Db2 subsystem on which the table resides for which you
want to view relationship information.
Location
Specify the Db2 remote location ID of the Db2 subsystem on which the table resides for which
you want to view relationship information. Leave blank if your site does not use DDF.
Creator
Specify the authorization ID of the owner of the table for which you want to view relationship
information. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Relationship Facilitator 91
Table Name
Specify the name of the Db2 object (table or view) for which you want to see relationship
information. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Which list File-AID/RDX will display depends on the option you select:
1
Table List in Relationship File
2
Table List in Relationship File
3
Table List - [Link]
4
DB2 Object List
5
Table List - [Link]
6
DB2 Object List
If you specify a pattern and press the Enter key without selecting an option,
the DB2 Object List screen shown in Figure 28 on page 92 is displayed. See
DB2 Object List on page 91 for more information. In the other table lists,
select the desired [Link] combination with the S line command.
File Name
Specify the name of the File-AID/RDX relationship file that contains the relationship information
you want to display or maintain. Refer to Relationship File on page 37 for more information
about the relationship file.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
MVS
Switch to the MVS Relationship Facilitator panel to specify an MVS driving object for your
Relationship task.
This screen displays a list of objects retrieved from either the Db2 catalog (Option 6) or the
relationship file (Option 4). It also displays whether an object is already involved in relationships
defined in the relationship file (AR or RI) or not (CATLG). If there are more objects that match the
pattern you specified on the previous screen than will fit on the screen, you can scroll the list using
standard scrolling commands. Enter one of the available line commands for an object.
CMD
Enter a line command in this column next to the object for which you want to maintain
relationships. The available line commands are shown in the top part of this screen.
Object Name
Displays the names of either Db2 or MVS objects that match the value specified in the Creator
and Table name fields on the preceding screen.
Relation Type
Displays the Relationship Type of the displayed objects.
AR One or more Application Relationships exist for this object in the relationship file.
RI One or more Db2 RI relationships exist for this object in the relationship file.
AR/RI Both AR and RI exist for this object in the relationship file.
catalg There are no relationships defined for this object in the relationship file.
SSID
Displays the ID of the Db2 subsystem from which the relationship had been defined or loaded.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
Relationship Facilitator 93
A
Add Application Relationship. Enter the A line command to add an application relationship.
Displays the Add Relationships — Specify Object Types so you can specify the parent and
dependent object types for the new relationship. See Add Relationships — Specify Object Types
on page 123.
B
Browse Relationship File. Enter the B line command to search the relationship file for previously
stored relationships.
B enables you to view a list of all objects defined to your relationship file that are “related” to the
object (MVS file or Db2 table or view) you specify. You can then select a single relationship about
which you want to view detailed information from the list. See Relationship Detail on page 101
for more detail.
The message "Selection not viewable" appears if no relationships exist in the relationship file for
the object (Relation Type CATLG).
E
Edit Application Relationships. Enter the E line command to search the relationship file for
previously stored application relationships for the selected object.
E displays a list of all application relationships defined to your relationship file that are “related”
to the selected object (MVS file or Db2 table or view). You can then maintain (modify, add,
delete) application relationships or display more detail information about any of the application
relationships from the list.
The message "Selection not viewable" appears if no relationships exist in the relationship file for
the object (Relation Type CATLG).
The message "Can’t edit RI relationship" appears if only RI relationships exist in the relationship
file for the object (Relation Type RI).
L
Load RI. Enter the L line command to maintain the relationship file for Db2 RI information for
the selected object. L enables you to load or refresh Db2-defined RI information in your
relationship file using information from the Db2 catalog. In addition, you can delete RI
relationship data from the relationship file.
This screen displays a list of objects involved in relationships defined in the relationship file. If there
are more relationships that match the pattern you specified on the previous screen than will fit on
the Table List in Relationship File window, you can scroll the list using standard scrolling commands.
Use this window to select the object for which File-AID/RDX will search the relationship file. The
resulting list of relationships associated with the selected object is displayed on the Relationship
Detail screen.
CMD
Enter an S line command in this column next to the object for which you want to see a list of
relationships. The S line command is the only valid line command for this screen.
Object Name
Displays the names of Db2 objects that match the value specified in the DB2 Relationship
Facilitator screen.
Relation Type
Displays the Relationship Type of the displayed objects.
AR One or more Application Relationships exist for this object in the relationship file.
RI One or more Db2 RI relationships exist for this object in the relationship file.
AR/RI Both AR and RI exist for this object in the relationship file.
SSID
Displays the ID of the Db2 subsystem from which the relationship had been defined or loaded.
Line Commands
The following File-AID/RDX-specific line command is valid on this screen:
Relationship Facilitator 95
S (Select)
Use the S line command to select an object for which you want to display relationship
information. Relationship information about the object you select is displayed on the
Relationship Detail screen as shown in Figure 34 on page 102.
This screen displays a list of Db2 objects defined in the Db2 catalog that match the pattern. If there
are more objects that match the pattern you specified on the previous screen than will fit on the
Table List - [Link] window, you can scroll the list using standard scrolling commands.
Use this window to select the object for which File-AID/RDX will add an application relationship or
load the RI information to the relationship file. The resulting list of relationships associated with the
selected object is displayed on the Relationship Detail screen.
CMD
Enter an S line command in this column next to the object for which you want to see a list of
relationships or add a [Link] S line command is the only valid line command for this
screen.
Object Name
Displays the names of Db2 objects that match the value specified in the DB2 Relationship
Facilitator screen.
96 File-AID/RDX Reference
Relation Type
Displays the Relationship Type of the displayed objects.
AR One or more Application Relationships exist for this object in the relationship file.
RI One or more Db2 RI relationships exist for this object in the relationship file.
AR/RI Both AR and RI exist for this object in the relationship file.
CATLG There are no relationships defined for this object in the relationship file. This status
only applies when selecting option 3, Add AR.
SSID
Displays the ID of the Db2 subsystem from which the relationship had been defined or loaded.
Line Commands
The following File-AID/RDX-specific line command is valid on this screen:
S (Select)
Use the S line command to select an object for which you want to display relationship
information or add a relationship. When loading RI for the selected object the DB2 RI Update
Online Options Screen as shown in Figure 40 on page 113 is displayed. When adding an AR for
the selected object, the Object Type Selection Screen for Adding Application Relationship screen
as shown in Figure 47 on page 124 is displayed.
Use this screen to specify the name of the MVS file for which you want to maintain relationships and
the File-AID/RDX relationship file that contains the information about those relationships. Then
enter one of the menu options to specify the action you want to perform. When pressing Enter
without selecting an option, File-AID/RDX selects option 4, List RDX, and lists all matching entries
found in the relationship file. File-AID/RDX issues a message when the relationship file does not
contain any entries for the specified MVS object.
Menu Options
The following File-AID/RDX-specific menu options are valid on this screen:
1 - Browse All
Browse Relationship File. Select Option 1 to search the relationship file for previously stored
relationships that match the specified object.
Option 1, Browse All, enables you to view a list of all objects defined to your relationship file that
are “related” to the object (MVS file or Db2 table or view) you specify. You can then select a single
relationship about which you want to view detailed information from the list. See Relationship
Detail on page 101 for more detail.
When browsing existing relationships you can also modify, delete, and add new application
relationships.
2 - Edit AR
Edit Application Relationships. Select Option 2 to search the relationship file for previously
stored application relationships.
Option 2, Edit AR, enables you to view a list of all objects defined to your relationship file that
are “related” to the object (MVS file or Db2 table or view) you specify. From the list, you can then
select a single relationship about which you want to view detailed information. See Application
Relationship Detail on page 121 for more detail.
3 - Add AR
Add Application Relationship. Select Option 3 to add an application relationship. Displays the
Add Relationships — Specify Object Types so you can specify the parent and dependent object
types for the new relationship. See Add Relationships — Specify Object Types on page 123.
4 - List RDX
(Default) List all MVS objects from Relationship File. Select Option 4 to search the relationship
file for matching objects.
Option 4, List RDX, enables you to view a list of all objects defined to your relationship file that
“match” the object specification. See MVS Object List on page 99.
A - Allocate
Displays the Allocate Relationship File panel where you can allocate a new relationship file. The
File-AID/RDX relationship file is the repository that stores the RI and AR relationship definition
so you can extract related data.
98 File-AID/RDX Reference
P - Print
Print Relationships. Enables you to print a formatted report that contains information from the
File-AID/RDX relationship file that you specify. You can also save this report to an existing or
new file.
File Name
Specify the MVS file name of the object for which you want to view relationship information. To
view a list of files, specify a pattern. Valid pattern character is * (see Pattern Characters on page
27).
If you leave this field blank and you specify a pattern in the Record layout file or XREF file name
fields together with menu options 1 or 2, File-AID/RDX searches the relationship file for any
objects with a matching layout or XREF definition.
Member name
Specify the member of the record layout file that contains the layout information for the MVS
object. Leave blank or use a pattern to select a member from a list.
Member name
Specify the member of the XREF file that contains the layout information for the MVS object.
Leave blank or use a pattern to select a member from a list.
Relationship Facilitator 99
You only need to fill in this field when you want File-AID/RDX to use an I/O exit routine when
accessing the above MVS file. Not needed to search the relationship file.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
DB2
Switch to the DB2 Relationship Facilitator panel to specify a Db2 driving object for your
Relationship task.
This screen displays a list of objects retrieved from the relationship file (Option 4, List RDX). If there
are more objects that match the pattern you specified on the previous screen than will fit on the
screen, you can scroll the list using standard scrolling commands. Enter one of the available line
commands for an object.
CMD
Enter a line command in this column next to the object for which you want to maintain
relationships. The available line commands are shown in the top part of this screen.
100 File-AID/RDX Reference
Object Name
Displays the names of MVS objects that match the pattern specified in the File Name field on the
preceding screen.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
A
Add Application Relationship. Enter the A line command to add an application relationship.
Displays the Add Relationships — Specify Object Types so you can specify the parent and
dependent object types for the new relationship. See Add Relationships — Specify Object Types
on page 123.
B
Browse Relationship File. Enter the B line command to search the relationship file for previously
stored relationships.
B enables you to view a list of all objects defined to your relationship file that are “related” to the
object (MVS file or Db2 table or view) you specify. You can then select a single relationship about
which you want to view detailed information from the list. See Relationship Detail on page 101
for more detail.
The message "Selection not viewable" appears if no relationships exist in the relationship file for
the object (Relation Type CATLG).
E
Edit Application Relationships. Enter the E line command to search the relationship file for
previously stored application relationships for the selected object.
E displays a list of all application relationships defined to your relationship file that are “related”
to the selected object (MVS file or Db2 table or view). You can then maintain (modify, add,
delete) application relationships or display more detail information about any of the application
relationships from the list.
The message "Selection not viewable" appears if no relationships exist in the relationship file for
the object (Relation Type CATLG).
The message "Can’t edit RI relationship" appears if only RI relationships exist in the relationship
file for the object (Relation Type RI).
This screen displays a list of objects involved in relationships defined in the relationship file. If there
are more relationships that match the pattern you specified on the previous screen than will fit on
the Object List in Relationship File window, you can scroll the list using standard scrolling
commands. Use this window to select the object for which File-AID/RDX will search the relationship
file. The resulting list of relationships associated with the selected object is displayed on the
Relationship Detail screen.
CMD
Enter an S line command in this column next to the object for which you want to see a list of
relationships. The S line command is the only valid line command for this screen.
Object Name
Displays the names of MVS objects that match the value specified in the MVS File name field on
the Process MVS Objects screen.
Line Commands
The following File-AID/RDX-specific line command is valid on this screen:
S (Select)
Use the S line command to select an object for which you want to display relationship
information. Relationship information about the object you select is displayed on the
Relationship Detail screen as shown in Figure 34 on page 102.
Relationship Detail
The Relationship Detail screen shown in Figure 34 is displayed when you selected Options 1, Browse
All, or 2, Edit AR, on the DB2 or MVS Relationship Facilitator screen for a single object, or entered the
B or E line command in the DB2 or MVS Object List, or after selecting a single object from a table or
object list window.
102 File-AID/RDX Reference
When your profile has navigation criteria Direct set to C or P (see also Direct on page 58), a message
displays alerting you that the relationship tree has been built using those settings. The resulting
relationship listing may be different than that resulting from navigation criteria Direct Y or N.
Use this screen to view a list of all relationships associated with the specified object and to select a
relationship about which you want to display detailed information with the I line command.
Other line commands and the ADD primary command allow you to add, change or delete
relationships.
The Relationship Detail screen displays a scrollable list of relationships involving the object specified
with a previous Browse or Edit option or line command.
A relationship will appear more than once on this screen if there is more than one relationship
between a given pair of objects.
CMD
Enter line commands in this column. See Line Commands on page 107 for information about
commands that are valid for this screen.
Parent/
Displays the name of the object defined as the parent in a relationship in the upper row (the row
with the CMD input field).
/Dependent
Displays the name of the object defined as the dependent in a relationship in the lower row,
under its parent.
For long object names, you scroll Parent and Dependent entries separately:
Place the cursor in a Parent entry to scroll all Parent entries to the left or right.
Place the cursor in a Dependent entry to scroll all Dependent entries to the left or right.
Relationship Facilitator 103
Obj Type
Indicates the object type of the parent and dependent.
Rel Type
Indicates the kind of relationship that exists between the corresponding parent and dependent
objects.
Status/Description
Indicates the condition of each relationship in the upper row (Status) and the RI Relationship
Name if it is a Db2 RI in the lower row (RelName) or the AR description for each relationship. If
there is an error for the dependent object, it will override the Description in the lower row. The
status row is blank if the relationship file is consistent with the Db2 catalog for the particular
relationship. Refer to Status/Description on page 122 for a list of possible messages.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
A (Add)
Adds an application relationship for this parent object. Displays the Add Relationships — Specify
Object Types screen so you can specify the parent and dependent object types for the new
relationship. See Add Relationships — Specify Object Types on page 123.
D (Delete)
Deletes an AR or RI relationship from the relationship file.
I (Relationship Information)
Invokes the Relationship Information screen, which displays detailed information about the
selected RI or application relationship. See Relationship Information Screen on page 107 for more
information on the contents of the screen.
S (Select)
Selects an AR relationship for modification and displays the Column/Field Relationships screen.
Not valid for RI relationships. See Building Column/Field Relationships on page 167 for more
information.
104 File-AID/RDX Reference
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
ADD
Enter the ADD command in the COMMAND field to add an application relationship. Displays the
Add Relationships — Specify Object Types so you can specify the parent and dependent object
types for the new relationship. See Add Relationships — Specify Object Types on page 123.
GRAPHIC (G)
Enter the GRAPHIC command in the COMMAND field to invoke the Graphical Relationship
Display screen and show RI and application relationships for the table specified on the Browse
Relationship File screen. See Graphical Relationship Display on page 104 for more information
on the Graphical Relationship Display screen. There are no operands associated with this
command.
SQLID
Enter the SQLID primary command to change the current Db2 SQLID. Enter the SQLID command
without an operand to change the current SQLID to match the current userid. Use the new-sqlid
operand to specify any SQLID.
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
CREATOR
Enter the CREATOR primary command in the graphical relationship display and all Db2 objects
will include their Creator ID. This command acts as a toggle command, thus, when entering the
command again, Db2 objects will include their Creator ID only when there is more than one
object with the same name.
– Object name
• DB2 objects include the table or view name. The Creator name is displayed only if
necessary to have a unique name or when you enter the CREATOR primary command
(see CREATORprimary command).
• MVS objects include the fully qualified file name (quoted).
• KEY objects include the fully qualified KEY record layout file or IMS database name
(quoted).
• Relationships are arranged such that each object that has no parents is at the top of a group. Each
group consists of an object that has no parents, its dependents, their dependents, etc. File-
AID/RDX displays one group of relationships for each object that has no parents. For example, in
Figure 35, MVS-'[Link]. ZIPCODE' and DB2-PART_TABLE have no parents.
They are at the top of their groups, respectively. There is one group displayed for MVS-'TSOID01.
[Link]' and one group displayed for DB2-PART_TABLE.
• The object you specified on the Browse Specifications screens is highlighted. In Figure 35, MVS-
'[Link]' is the object specified and is therefore highlighted.
• Relationships are displayed as lines that connect the boxes. Lines start at the bottom of parent
objects and end at the left side of dependent objects. In Figure 35, MVS-
'[Link]' is a parent of DB2-CUSTOMER_TABLE. DB2-
CUSTOMER_TABLE itself is a parent of MVS-'[Link]' and four other
objects.
• Objects that are displayed more than once are denoted by an asterisk (*). In Figure 35 on page
104, DB2-ORDER_LINE_TABLE is displayed with an asterisk next to it because it is displayed
twice (once as a dependent of DB2-ORDER_TABLE and again as a dependent of DB2-
PART_TABLE).
You can scroll UP and DOWN, LEFT and RIGHT to see information that does not fit on a single
screen.
106 File-AID/RDX Reference
Use the TAB key to move the cursor from object name to object name. When the cursor is next to an
object name, you can press ENTER to display a list of options available as shown in Figure 36. In
addition, you can enter the I line command to display the Relationship Information screen. See Line
Commands on page 107 for more information about the I line command.
Option List
To select an option from the Option List, type an S in the CMD column next to an option and press
Enter.
In Figure 35 on page 104, for example, if the cursor was positioned on the occurrence of DB2-
ORDER_LINE_TABLE under DB2-PART_TABLE, selecting Go to expanded view of dependents
would position the first occurrence of ORDER_LINE_TABLE at the top of the display. The first
occurrence of ORDER_LINE_TABLE under ORDER_TABLE would display any dependents if
ORDER_LINE_TABLE had any.
Go to dependent of objectname
Scrolls the display such that the occurrence of the selected object that is a dependent of
objectname is at the top of the display. Use this option to determine where the object is a
dependent in other relationships.
Relationship Facilitator 107
For example, if the cursor was positioned on the second occurrence of ORDER_LINE_TABLE when
you pressed ENTER, the following entry would be displayed:
Go to dependent of ORDER_TABLE
Line Commands
The following File-AID/RDX-specific line command is valid on this screen.
I (Relationship Information)
Displays the Relationship Information screen. See Relationship Information Screen for more
information about the Relationship Information screen.
Depending on the object types File-AID/RDX displays slightly different information. When you select
a Db2 RI relationship, the Relationship Information window is displayed as shown in Figure 37.
When you select an application relationship between an MVS and Db2 object, the Relationship
Information window is displayed as shown in Figure 38 on page 108.
108 File-AID/RDX Reference
When you select an MVS to MVS AR relationship, the Relationship Information screen is displayed as
shown in Figure 39.
The Relationship Information screen consists of the fields described below. Fields that vary according
to relationship or object type are described under separate headings.
Parent Name
Displays the fully qualified name of the parent object according to the parent’s object type.
Relationship Facilitator 109
Type
Indicates the object type of the parent and dependent object.
DB2
Db2 table.
MVS
MVS file.
KEY
Output Key file or IMS database (dependent only).
Layout File
Displays only if parent or dependent object is an MVS file or a dependent Output Key file or IMS
segment with a layout. Identifies the record layout file for the MVS object, Output Key file or IMS
segment used for this relationship.
XREF File
Only displays if layout usage is X. Identifies the XREF file name for the MVS object in this
relationship.
01 Level Name
Only displays for MVS object. Identifies the 01 Level name for the MVS object in this
relationship.
Mbr
Displays only if parent or dependent object is an MVS file. Each Mbr field identifies the member
of the record layout file or the XREF file that contains the layout information for the parent or
dependent MVS object in this relationship.
Dependent Name
Displays the fully qualified name of the dependent object according to the dependent’s object
type.
heading indicates that it is a conditional application relationship created with the COND command.
The column displays a value only for already defined relationships in the Parent portion.
Description
A description of the selected relationship. The contents of this field vary according to the relationship type
as follows:
RI
The RELNAME from the Db2 catalog table, [Link] (see Figure 37 on page 107).
AR
The description entered by the user when adding an application relationship (see Figure 38 on
page 108).
Status
Indicates the condition of each relationship. For Db2 RI relationships, this column is blank if the
information in the File-AID/RDX relationship file is consistent with the Db2 catalog for the particular
relationship. If the relationship file is not consistent with the Db2 catalog, File-AID/RDX displays one of
the following messages:
Message Explanation
Not in Dataset Indicates that this relationship exists in the Db2 catalog, but does not exist
in the relationship file specified on the RI Relationships screen. May indicate
that the relationship did not exist the last time the relationship file was
refreshed.
Not in DB2 Cat Indicates that this relationship exists in the relationship file specified on the
RI Relationships screen, but does not exist in the Db2 catalog.
Out of Sync 1 Indicates that the relationship exists in both the relationship file and the
Db2 catalog, but the timestamps on each table do not match each other.
May also indicate that the columns that comprise the foreign key are
inconsistent.
ASSOCIATED REL At least one of the objects involved in this relationship is a descendant of
the driving object, or the driving object is a descendant of at least one of
the objects in this relationship.
In addition, File-AID/RDX displays the following messages as a result of line command processing:
Message Explanation
Deleted Displayed after you enter the D line command. Indicates that this
relationship has been deleted from the relationship file. It does not
however, indicate that the relationship has been deleted from the Db2
catalog.
Loaded Displayed after you enter the S line command. Indicates that this
relationship has been loaded into the relationship file.
Refreshed Displayed after you enter the S line command for a relationship that had
the message Out of Sync 1 displayed. Indicates that the Db2 catalog and
the relationship file are now consistent with respect to this relationship.
For RI relationships one of the following messages may be displayed:
Modified Displayed when you enter the S line command and complete the Field
Relationships screen. Indicates that this relationship has been modified.
Loaded Displayed after you enter the S line command. Indicates that this
relationship has been loaded into the relationship file.
Refreshed Displayed after you enter the S line command for a relationship that had
the message Out of Sync 1 displayed. Indicates that the Db2 catalog and
the relationship file are now consistent with respect to this relationship.
For AR application relationships one of the following messages may be displayed.
Relationship Facilitator 111
Modified Displayed when you enter the S line command and complete the Field
Relationships screen. Indicates that this relationship has been modified.
Added Displayed when you enter the A line command and complete the
Column/Field Relationships screen. Indicates that this relationship has
been added to the relationship file.
Deleted Displayed when you enter the D line command. Indicates that this
relationship has been deleted from the relationship file.
In addition, File-AID/RDX could display the following error messages:
Object not Found File-AID/RDX cannot find the parent object in the MVS or Db2 catalog. This
may indicate that the object not found has been dropped. Use the D line
command to delete the invalid relationships.
Column Errors An invalid field relationship exists within the relationship. Invalid field
relationships may be caused by eliminating or changing a column from a
table defined in the Db2 catalog. Use the S line command to display the
Column/Field Relationships screen where the invalid column/field
relationships are indicated by the ERR> flag.
DBD not Found File-AID/RDX cannot find the dependent IMS database. This may indicate
that the database not found has been deleted or renamed. Use the D line
command to delete the invalid relationship.
Segment Errors An invalid root segment relationship exists within the KEY (IMS)
relationship. Invalid relationships may be caused b eliminating or changing
a root segment in the IMS database.
Created
Displays the date and time that the relationship was created. For Db2 RI relationships it
represents when it was loaded into the Db2 catalog. File-AID/RDX displays date and time in the
format specified at the time of Db2 installation.
User
Displays the user ID of the person who created the AR relationship or who loaded the RI
relationship into the relationship file using either the initial load batch job or with the Load RI
option or line command.
Last Modified
Display date, time, and user ID indicating when the relationship was last modified and who
modified it. File-AID/RDX displays date and time in the format specified at the time of Db2
installation.
Type(Length)
The line directly below the parent field’s or column’s name displays the field’s or column’s data
type. The length of the data is displayed in parentheses immediately following the data type for
112 File-AID/RDX Reference
CHAR, VCHAR, GRPH, VGRPH, and DEC data types only. If an extended column relationship has
been defined, File-AID/RDX indicates this by displaying the start position and length of the
string from the parent column in parentheses instead of the column’s length. For example, for
character data types:
CHAR(2,3)
indicates a string in a column with a data type of CHAR has an extended column relationship
defined beginning in position 2 for a length of 3.
If the Db2 column data type is distinct (UDT), File-AID/RDX displays only the
underlying built-in data type.
Type(Length)
The line directly below the dependent field’s or column’s name displays the field’s or column’s
data type. The length of the data is displayed in parentheses immediately following the data type
for CHAR, VCHAR, GRPH, VGRPH, and DEC data types only. If an extended column relationship
has been defined, File-AID/RDX indicates this by displaying the start position and length of the
string from the parent column in parentheses instead of the column’s length. For example, for
character data types:
CHAR(2,3)
indicates a string in a column with a data type of CHAR has an extended column relationship
defined beginning in position 2 for a length of 3.
If the Db2 column data type is distinct (UDT), File-AID/RDX displays only the
underlying built-in data type.
Root Segment
Displays the name of the Root Segment from the IMS database that correspond to the columns or
fields from the parent object (see Figure 50 on page 130).
This screen provides different options, or filters, on how you want to select RI relationships to be
loaded into the relationship file. The RI Load Filter and Relationship file information is prefilled with
your selections of the previous screen.
RI Load Filter
The RI Load Filter information is prefilled with your selections on the previous screen and cannot be
changed on this screen.
SSID
Specifies the Db2 subsystem ID of the Db2 subsystem on which the table resides for which you
want to view relationship information.
Location
Specifies the Db2 remote location ID of the Db2 subsystem on which the table resides for which
you want to view relationship information.
Creator
Specifies the authorization ID of the owner of the table for which you want to view relationship
information.
Table Name
Specifies the name of the Db2 object (table or view) for which you want to see relationship
information.
RI Load Scope
The RI Load Scope allows you to enter one of the RI Load Scope options.
114 File-AID/RDX Reference
1
Load the entire related thread for the above specified creator and table, including associated
relationships. The RI Relationship Detail Screen (Figure 41 on page 115) will then list the
qualifying RI relationships, including those already loaded into the relationship file.
2
Load only relationship to or from this creator and table. This option represents the narrowest
filter. The RI Relationship Detail Screen (Figure 42 on page 115) will then list the qualifying RI
relationships that need to be added to or updated in the relationship file. See also No Updates to
Process.
3
Load all relationships for this creator. The RI Relationship Detail Screen (Figure 43 on page 116)
will then list all qualifying RI relationships for the specified creator ID that need to be added to
or updated in the relationship file. See also No Updates to Process.
4
Load all relationships for this subsystem. The RI Relationship Detail Screen (Figure 44 on page
116) will then list all qualifying RI relationships for the specified Db2 subsystem that need to be
added to or updated in the relationship file. See also No Updates to Process.
No Updates to Process
The message ‘No Updates to Process’ indicates that for the selected RI load option the relationship
file already contains the up-to-date relationships based on the timestamps in the Relationship file
matching to the Db2 catalog.
File Name
Specify the name of the File-AID/RDX relationship file that contains the relationship information
you want to display or maintain. Refer to Relationship File on page 37 for more information
about the relationship file.
This screen lists all Db2 RI relationships associated with the driving table, the Db2 table specified in
the Base Object: field, the table for which you had specified the Load RI option or L line command.
Use this screen to load and refresh relationships in the File-AID/RDX relationship file (S line
command or ALL primary command), delete relationships from the relationship file (D line
command), and select relationships about which you want to view more detailed information (I line
command).
This screen displays information from the Db2 catalog and File-AID/RDX’s relationship file about all
RI relationships involving the specified table.
Relationships in which the driving table is either the parent or the dependent are listed first. Those
relationships that involve the dependents of the driving table are listed below and are marked
ASSOCIATED REL.
In this version of the RI Relationship Detail screen you can only load or update RI relationships in
your relationship file. The D (Delete) and I (Information) line commands are not available.
CMD
Enter line commands in this column. See Line Commands on page 107 for information about
commands that are valid for this screen.
Parent/Dependent
Displays the name of the Db2 table defined as the parent in an RI relationship in the upper row
(the row with the CMD input field). The foreign keys in the dependent table refer to this table.
Table names are displayed in the format [Link].
Displays the name of the Db2 table defined as the dependent in an RI relationship in the lower
row. This table contains the foreign keys. Table names are displayed in the format
[Link].
Relationship Facilitator 117
Obj Type
Indicates the object type of the parent and dependent. For RI relationships, the object type
should always be DB2.
Rel Type
Indicates the kind of relationship that exists between the corresponding parent and dependent
objects.
Status
Indicates the condition of each relationship in the upper row (Status) for each relationship. If
there is an error for the dependent object, it will override the Description in the lower row. The
status row is blank if the relationship file is consistent with the Db2 catalog for the particular
relationship. If the relationship file is not consistent with the Db2 catalog, File-AID/RDX displays
one of the following messages:
Message Explanation
Not in Dataset Indicates that this relationship exists in the Db2 catalog, but does not
exists in the relationship file specified on the RI Relationship screen. May
indicate that the relationship did not exist the last time the relationship
file was refreshed.
Not in DB2 Cat Indicates that this relationship exists in the relationship but does not exist
in the Db2 catalog. Indicates that the parent or dependent tables, or a
foreign key has been dropped.
Out of Sync1 Indicates the relationship exists in both the relationship file and the Db2
catalog, but the timestamps on each table do not match each other. May
also indicate that the columns that comprise the foreign key are
inconsistent.
In addition, File-AID/RDX displays the following messages as a result of line command
processing:
Deleted Displayed after you enter the D line command. Indicates that this
relationship has been deleted from the relationship file. It does not,
however, indicate that the relationship has been deleted from the Db2
catalog.
Loaded Displayed after you enter the S line command. Indicates that this
relationship has been loaded into the relationship file.
Refreshed Displayed after you enter the S line command for a relationship that had
the message Out of Sync 1 displayed. Indicates that the Db2 catalog and
the relationship file are now consistent with respect to this relationship.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
D (Delete)
(Load Option 1 only, see Figure 41) Deletes an RI relationship only from the relationship file and
displays the message Deleted in the Status column. Use this command to delete a relationship
from the relationship file when it no longer exists in the Db2 catalog.
118 File-AID/RDX Reference
I (Relationship Information)
(Load Option 1 only, see Figure 41) If you enter the I line command on a relationship for which a
message is displayed in the Status column, the RI Information window is displayed (see Figure 45
on page 119). If you enter the I line command on a relationship for which the Status column is
blank (RI already in relationship file), the Relationship Information window is displayed (see
Figure 37 on page 107).
S (Select)
Selects a relationship to be loaded or refreshed. File-AID/RDX retrieves information about the RI
relationship from the Db2 catalog. If the relationship does not yet exist in the relationship file,
File-AID/RDX loads the relationship and displays the message Loaded in the Status column. If the
relationship does exist but is inconsistent with the Db2 catalog, File-AID/RDX uses the
information from the Db2 catalog to refresh the relationship file and displays the message
Refreshed in the Status column. File-AID/RDX also displays the messages Loaded and Refreshed
in the Status column.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
ALL
Enter the ALL command to select and load all RI relationships into the relationship file. There are
no operands associated with this command.
GRAPHIC (G)
Enter the GRAPHIC command to invoke the Graphical Relationship Display screen and show RI
relationships for the selected table. See Graphical Relationship Display on page 104 for more
information on the Graphical Relationship Display screen. There are no operands associated with
this command.
SQLID
Enter the SQLID primary command to change the current Db2 SQLID. Enter the SQLID command
without an operand to change the current SQLID to match the current userid. Use the new-sqlid
operand to specify any SQLID.
RI Information Screen
The RI Information screen is displayed when you enter the I line command on the RI Relationship
Detail screen on a relationship and press Enter. This window contains detailed information about the
relationship on which you invoked the I line command on the RI Relationship Detail screen.
Relationship Facilitator 119
Parent Name
Displays the name of the table defined as the parent table in an RI relationship. This table’s
primary index contains values that match the foreign keys defined in the corresponding
dependent table. Tables are displayed in the format [Link].
Type
Indicates the object type of the parent and dependent object.
Dependent Name
Displays the name of the table defined as the dependent table in an RI relationship. This table
contains the foreign key, the values of which match the parent table’s primary index. Tables are
displayed in the format [Link].
Description
A description of the selected relationship.
RI The RELNAME from the Db2 catalog table, [Link] (see Figure 37 on
page 107).
120 File-AID/RDX Reference
Status
Displays the message displayed in the Status column on the RI Relationship Detail screen.
Message Explanation
Not in Dataset Relationship in Db2 catalog is not loaded in the relationship
file.
NOT IN DB2 CAT Relationship cannot found in the Db2 catalog.
OUT OF SYNC 1 Timestamp is inconsistent between Db2 catalog and
relationship file.
Created
Displays the date and time that the relationship was created. For Db2 RI relationships it
represents when it was loaded into the Db2 catalog. File-AID/RDX displays date and time in the
format specified at the time of Db2 installation.
User
Displays the user ID of the person who loaded the RI relationship into the relationship file using
either the initial load batch job or the Load RI option or line command.
Last Modified
Display date, time, and user ID indicating when the relationship was last modified and who
modified it. File-AID/RDX displays date and time in the format specified at the time of Db2
installation.
Parent Columns
Displays the names of the columns from the parent table that are referenced by the foreign key.
Dependent Columns
Displays the names of the columns from the dependent table that comprise the foreign key.
Type(Length)
The line directly below the parent column’s name displays the column’s data type. The length of
the data is displayed in parentheses immediately following the data type for CHAR, VCHAR,
GRPH, VGRPH, and DEC data types only. Note that the length value only displays after the RI has
been loaded into the relationship file.
If the Db2 column data type is distinct (UDT), File-AID/RDX displays only the
underlying built-in data type.
Relationship Facilitator 121
This screen displays a list of application relationships (AR) for the object and relationship file
specified with the Edit AR option or E line command. It is similar to the Relationship Detail on page
101, except that it only displays application relationships for the selected object.
Use this screen to select application relationships from the relationship file that you want to modify
(S line command) or delete (D line command). You can also use this screen to display detailed
information about a relationship (I line command) or to begin the process of adding new application
relationships (A line command or ADD primary command).
CMD
Enter a valid line command next to the appropriate relationship. See Line Commands on page
107 for information about valid line commands.
Parent/
Displays the name of the object defined as the parent in a relationship in the upper row (the row
with the CMD input field).
/Dependent
Displays the name of the object defined as the dependent in a relationship in the lower row,
under its parent.
Obj Type
Indicates the object type of the parent and dependent.
Rel Type
Indicates the kind of relationship that exists between the corresponding parent and dependent
objects. (Always AR or AR-C as only application relationships are displayed.)
Status/Description
Indicates the condition of each relationship in the upper row (Status) and the Application
Relationship Description for each relationship in the lower row. If there is an error for the
dependent object, it will override the Description in the lower row. The status row is blank if the
relationship file is consistent with the Db2 catalog for the particular relationship. Refer to Status
on page 120 for a list of possible messages.
Message Explanation
Modified Displayed when you enter the S line command and complete the
Relationships screen. Indicates that this relationship has been modified.
Added Displayed when you enter the A line command or ADD primary
command and complete the Relationships screen. Indicates that this
relationship has been added to the relationship file.
Deleted Displayed when you enter the D line command. Indicates that this
relationship has been deleted from the relationship file.
Message Explanation
Object not Cannot find one of the objects (dependent or parent) in the MVS or Db2
found catalog. This may indicate that the object not found has been dropped.
Use the D line command to delete the invalid relationship.
Column Errors An invalid column relationship exists within the application relationship.
Invalid column relationships may be caused by eliminating or changing a
column from a table defined in the Db2 catalog.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
A (Add)
Adds an application relationship for this parent object. Displays the Add Relationships screen.
See Add Relationships — Specify Object Types on page 123.
Relationship Facilitator 123
D (Delete)
Deletes an application relationship from the relationship file.
I (Relationship Information)
Invokes the Relationship Information screen. See Relationship Information Screen on page 107
for more information.
S (Select)
Selects an application relationship for modification and displays the Column/Field Relationships
screen. See Building Column/Field Relationships on page 167 for more information.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
ADD
Enter the ADD command in the COMMAND field to add an application relationship. Displays the
Add Relationships screen. See Add Relationships — Specify Object Types on page 123.
GRAPHIC (G)
Enter the GRAPHIC command in the COMMAND field to invoke the Graphical Relationship
Display screen and show application relationships for the selected table. See Graphical
Relationship Display on page 104 for more information on the Graphical Relationship Display
screen. There are no operands associated with this command.
Relationship Information
The Relationship Information screen is displayed when you enter the I line command on the
Relationship Detail screen or the Application Relationship Detail screen. Use the Relationship
Information screen to view detailed information about the relationship on which you entered the I
line command. See Relationship Information Screen on page 107 for more information about the
contents of this window.
Figure 47. Object Type Selection Screen for Adding Application Relationship
Use this screen to specify the object type of the parent and the dependent object for the new
relationship.
DB2 Table Place an S line command in front of this option if the parent object is a Db2 table.
MVS File Place an S line command in front of this option if the parent object is an MVS file.
DB2 Table Place an S line command in front of this option if the dependent object is a Db2
table.
MVS File Place an S line command in front of this option if the dependent object is an
MVS file.
IMS and Output Place an S line command in front of this option if the dependent object is an IMS
Key Files Segment or an Output Key file. Use this option when you want your extract to
create a key file that can be used by File-AID for IMS as an external key file (keys
dataset) to extract related IMS data or by File-AID/RDX as an Input Key file for
another extract.
Press Enter and continue with one of the six possible parent-dependent combinations:
1. DB2 ==> DB2, see Add Application Relationships — DB2 to DB2 on page 124
2. DB2 ==> MVS, see Add Relationships — DB2 to MVS on page 126
3. DB2 ==> KEY, see Add Relationships — DB2 to IMS and Output Key Files on page 130
4. MVS ==> DB2, see Add Relationships — MVS to DB2 on page 133
5. MVS ==> MVS, see Add Relationships — MVS to MVS on page 136
6. MVS ==> KEY, see Add Relationships — MVS to IMS and Output Key Files on page 140
Use this screen to specify the parent and dependent table for the new relationship.
Location
Specify the Db2 remote location ID of the Db2 subsystem on which the table resides for which
you want to add an application relationship.
Creator
Specify the authorization ID of the owner of the table for which you want to add an application
relationship. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Table Name
Specify the name of the Db2 object (table or view) for which you want to add an application
relationship. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Location
Identifies the Db2 remote location ID of the Db2 subsystem on which the table resides which is
to be the dependent table of the new application relationship. Protected field; same as the parent
location by default.
126 File-AID/RDX Reference
Creator
Specify the authorization ID of the owner of the table that is to be the dependent for the new
application relationship. To view a list of tables, specify a pattern. Valid pattern characters are %,
_, and * (see Pattern Characters on page 27).
Table Name
Specify the name of the Db2 object (table or view) that shall be the dependent (child) table for
the new application relationship. To view a list of tables, specify a pattern. Valid pattern
characters are %, _, and * (see Pattern Characters on page 27).
Suggest
Specify whether you want File-AID/RDX to select relationships when column name, type, and
length in the parent and dependent tables are identical.
Y Yes, File-AID/RDX will select columns with identical names, type and length for this
relationship definition and present them in the following Column Relationships Screen
(see Figure 54 on page 144). A message will inform you how many relationships have
been suggested. You can then accept them or delete individual relationship definitions
and/or add your own definitions.
N No, File-AID/RDX will not suggest any application relationships when entering the
following Column Relationships Screen (see Figure 54 on page 144).
When parent and dependent objects are the same object, File-AID/RDX will bypass the
automatic suggest functions as all columns/fields would be suggested. You can still
issue the SUGGEST primary command in the Field/Column Relationships screen.
Remember, File-AID/RDX only allows up to 20 field/column relationship definitions.
SSID
Specify the Db2 subsystem ID of the Db2 subsystem on which the table resides for which you
want to add a relationship. To view a list of subsystems, specify a pattern.
Description
Enter a description up to 128 characters in length of the application relationship to be created.
This information is displayed in the Relationship Information window.
After specifying all required parent and dependent information, press Enter. You then continue
with the Column Relationship screen to define the related columns, see Relationships on page
144.
Use this screen to specify the Db2 parent table and the dependent MVS file for the new relationship.
SSID
Specify the Db2 subsystem ID of the Db2 subsystem on which the table resides for which you
want to add relationship information.
Location
Specify the Db2 remote location ID of the Db2 subsystem on which the table resides for which
you want to add an application relationship.
Creator
Specify the authorization ID of the owner of the table for which you want to add an application
relationship. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Table Name
Specify the name of the Db2 object (table or view) for which you want to add an application
relationship. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
128 File-AID/RDX Reference
If the file is already involved in another relationship definition, you must use
the same layout, if usage=S, or use the same XREF file to add a new
relationship.
File name
Specify the MVS file name of the dependent in the new relationship. To view a list of files, specify
a pattern. Valid pattern character is * (see Pattern Characters on page 27).
Member name
Specify the member of the record layout file that contains the layout information for the MVS
file. Leave blank or use a pattern to select a member from a list.
Member name
Specify the member of the XREF file that contains the layout information for the dependent MVS
file. Leave blank or use a pattern to select a member from a list.
You only need to fill in this field when you want File-AID/RDX to use an IO exit routine when
accessing the above MVS file. Not needed to search the relationship file.
Relationship Facilitator 129
Suggest Relationships when column and field name/type/length are identical Area
Suggest
Specify whether you want File-AID/RDX to select relationships when column and field name,
type, and length in the parent and dependent tables are identical.
Y Yes, File-AID/RDX will select columns and fields with identical names, type and length
for this relationship definition and present them in the following Column/Field
Relationships Screen (see Figure 54 on page 144). A message will inform you how
many relationships have been suggested. You can then accept them or delete
individual relationship definitions and/or add your own definitions.
N No. File-AID/RDX will not suggest any application relationships when entering the
following Column/Field Relationships Screen (see Figure 54 on page 144).
When parent and dependent objects are the same object, File-AID/RDX will bypass the
automatic suggest functions as all columns/fields would be suggested. You can still issue the
SUGGEST primary command in the Field/Column Relationships screen. Remember, File-
AID/RDX only allows up to 20 field/column relationship definitions.
Description
Enter a description up to 128 characters in length of the application relationship to be created.
This information is displayed in the Relationship Information screen.
After specifying all required parent and dependent information, press Enter. You then continue
with the Column/Field Relationship screen to define the related Db2 columns and MVS fields, see
Relationships on page 144.
130 File-AID/RDX Reference
If you intend to use the Output Key File as an Input Key File for a File-AID/RDX extract
(see Input Key File Specification on page 295), the Input Key File can only have data in
three formats: CHARACTER, BINARY, and DECIMAL. For DECIMAL, the length can only
be specified in bytes and the number of decimal places is implied to be 0.
Use this screen to specify the Db2 parent table and the dependent Output Key File method with its
record layout information and/or IMS database for the new relationship.
You have the choice to define the dependent record layout information and/or IMS database in three
ways:
1. with the Record Layout File name with a member name, if it is a PDS. The Record Layout
File must exist.
or
2. with the DBD Library name and a member name. The DBD Library must exist.
or
3. with the DBD Library name and a DBD member name and also the Segment (Record)
Layout File name with a member name, if it is a PDS. The Segment Layout File must exist.
SSID
Specify the Db2 subsystem ID of the Db2 subsystem on which the table resides for which you
want to add relationship information.
Location
Specify the Db2 remote location ID of the Db2 subsystem on which the table resides for which
you want to add an application relationship.
Creator
Specify the authorization ID of the owner of the table for which you want to add an application
relationship. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Table Name
Specify the name of the Db2 object (table or view) that is to be the parent table in the new
application relationship. To view a list of tables, specify a pattern. Valid pattern characters are %,
_, and * (see Pattern Characters on page 27).
Method
Specify which method to use for your IMS/Output Key File relationship definition:
1 MVS Record Layout. Select method 1 when you have a File-AID record layout describing
either the IMS segment or MVS record layout of the dependent object for which you
want to create an Output Key File during an extract.
2 IMS DBD. Select method 2 when you have an IMS DBD library for which you want to
establish a relationship with the parent Db2 table and for which you want to create the
Output Key File during an extract.
3 Both. Select method 3 when you have a File-AID record layout describing either the IMS
segment and an IMS DBD library for which you want to create an Output Key File during
an extract.
Member Name
Specify the member of the record layout or IMS segment layout file for which you want to
establish a relationship. If you leave this field blank or enter a pattern other than an asterisk (*),
132 File-AID/RDX Reference
File-AID/RDX displays a Member List window containing a list of members that match the
specified pattern.
DBD Library
Specify the IMS DBD library for which you want to establish a relationship with the parent Db2
table.
Member
Specify the member of the DBD library for which you want to establish a relationship. If you
leave this field blank or enter a pattern other than an asterisk (*), File-AID/RDX displays a
Member List window containing a list of members that match the specified pattern.
Suggest relationships when column and field name/type/length are identical Area
Suggest
Specify whether you want File-AID/RDX to select relationships when column, field or segment
name, type, and length in the parent and dependent objects are identical.
Y Yes, File-AID/RDX will select columns and fields with identical names, type and length
for this relationship definition and present them in the following Column/Field
Relationships Screen (see Figure 54 on page 144). A message will inform you how
many relationships have been suggested. You can then accept them or delete
individual relationship definitions and/or add your own definitions.
N No. File-AID/RDX will not suggest any application relationships when entering the
following Column/Field Relationships Screen (see Figure 54 on page 144).
When parent and dependent objects are the same object, File-AID/RDX will bypass the
automatic suggest functions as all columns/fields would be suggested. You can still issue
the SUGGEST primary command in the Column/Field or Column/Segment Relationships
screen. Remember, File-AID/RDX only allows up to 20 Column/Field relationship
definitions.
Description
Enter a description up to 128 characters in length of the application relationship to be created.
This information is displayed in the Relationship Information screen.
After specifying all required parent and dependent information, press Enter. You then continue
with the Column/Field or Column/Segment Relationship screen to define the related Db2
columns and Output Key File layout or IMS root segment, see Relationships on page 144.
Relationship Facilitator 133
Use this screen to specify the parent MVS file and the dependent Db2 table for the new relationship.
If the file is already involved in another relationship definition, you must use
the same layout, if usage=S, or use the same XREF file to add a new
relationship.
File name
Specify the MVS file name of the parent in the new relationship. To view a list of files, specify a
pattern. Valid pattern character is * (see Pattern Characters on page 27).
If your current relationship file has an existing relationship for this MVS file
to a Db2 table, the new relationship must be to a Db2 table on the same
Db2 subsystem.
Member name
Specify the member of the record layout file that contains the layout information for the MVS
file. Leave blank or use a pattern to select a member from a list.
Member name
Specify the member of the XREF file that contains the layout information for the parent MVS file.
Leave blank or use a pattern to select a member from a list.
SSID
Specify the Db2 subsystem ID of the Db2 subsystem on which the table resides for which you
want to add relationship information.
Location
Specify the Db2 remote location ID of the Db2 subsystem on which the table resides for which
you want to add an application relationship.
Creator
Specify the authorization ID of the owner of the table for which you want to add an application
relationship. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Relationship Facilitator 135
Table Name
Specify the name of the Db2 object (table or view) for which you want to add an application
relationship. To view a list of tables, specify a pattern. Valid pattern characters are %, _, and * (see
Pattern Characters on page 27).
Suggest Relationships when field and column name/type/length are identical Area
Suggest
Specify whether you want File-AID/RDX to select relationships when column/field name, type,
and length in the parent and dependent objects are identical.
Y Yes, File-AID/RDX will select columns and fields with identical names, type and length
for this relationship definition and present them in the following Column/Field
Relationships Screen (see Figure 54 on page 144). A message will inform you how
many relationships have been suggested. You can then accept them or delete
individual relationship definitions and/or add your own definitions.
N No. File-AID/RDX will not suggest any application relationships when entering the
following Column/Field Relationships Screen (see Figure 54 on page 144).
When parent and dependent objects are the same object, File-AID/RDX will bypass the
automatic suggest functions as all columns/fields would be suggested. You can still issue
the SUGGEST primary command in the Field/Column Relationships screen. Remember,
File-AID/RDX only allows up to 20 field/column relationship definitions.
Description
Enter a description up to 128 characters in length of the application relationship to be created.
This information is displayed in the Relationship Information screen.
After specifying all required parent and dependent information, press Enter. You then continue
with the Field/Column Relationship screen to define the related MVS fields and Db2 columns, see
Relationships on page 144.
136 File-AID/RDX Reference
Use this screen to specify the parent MVS file and the dependent MVS file for the new relationship.
If the file is already involved in another relationship definition, you must use
the same layout, if usage=S, or use the same XREF file to add a new
relationship.
File name
Specify the MVS file name of the parent in the new relationship. To view a list of files, specify a
pattern. Valid pattern character is * (see Pattern Characters on page 27).
Member name
Specify the member of the record layout file that contains the layout information for the MVS
file. Leave blank or use a pattern to select a member from a list.
Member name
Specify the member of the XREF file that contains the layout information for the parent MVS file.
Leave blank or use a pattern to select a member from a list.
You only need to fill in this field when you want File-AID/RDX to use an I/O exit routine when
accessing the above MVS file. Not needed to search the relationship file.
If the file is already involved in another relationship definition, you must use
the same layout, if usage=S, or use the same XREF file to add a new
relationship.
File name
Specify the MVS file name of the dependent in the new relationship. To view a list of files, specify
a pattern. Valid pattern character is * (see Pattern Characters on page 27).
Member name
Specify the member of the record layout file that contains the layout information for the MVS
file. Leave blank or use a pattern to select a member from a list.
Member name
Specify the member of the XREF file that contains the layout information for the dependent MVS
file. Leave blank or use a pattern to select a member from a list.
You only need to fill in this field when you want File-AID/RDX to use an I/O exit routine when
accessing the above MVS file. Not needed to search the relationship file.
Suggest
Specify whether you want File-AID/RDX to select relationships when field name, type, and length
in the parent and dependent objects are identical.
Y Yes, File-AID/RDX will select columns and fields with identical names, type and length
for this relationship definition and present them in the following Column/Field
Relationships Screen (see Figure 54 on page 144). A message will inform you how
many relationships have been suggested. You can then accept them or delete
individual relationship definitions and/or add your own definitions.
N No. File-AID/RDX will not suggest any application relationships when entering the
following Column/Field Relationships Screen (see Figure 54 on page 144).
When parent and dependent objects are the same object, File-AID/RDX will bypass the
automatic suggest functions as all columns/fields would be suggested. You can still issue the
SUGGEST primary command in the Field/Column Relationships screen. Remember, File-
AID/RDX only allows up to 20 field/column relationship definitions.
Relationship Facilitator 139
Description
Enter a description up to 128 characters in length of the application relationship to be created.
This information is displayed in the Relationship Information screen.
After specifying all required parent and dependent information, press Enter. You then continue
with the Field Relationship screen to define the related MVS fields, see Relationships on page 144.
140 File-AID/RDX Reference
If you intend to use the Output Key File as an Input Key File for a File-AID/RDX extract (see
Input Key File Specification on page 295), the Input Key File can only have data in three
formats: CHARACTER, BINARY, and DECIMAL. For DECIMAL, the length can only be
specified in bytes and the number of decimal places is implied to be 0.
Use this screen to specify the parent MVS file and the dependent Output Key File method with its
record layout information and/or IMS database for the new relationship.
You have the choice to define the dependent record layout information and/or IMS database in three
ways:
1. with the Record Layout File name with a member name, if it is a PDS. The Record Layout
File must exist.
or
2. with the DBD Library name and a member name. The DBD Library must exist.
or
3. with the DBD Library name and a DBD member name and also the Segment (Record)
Layout File name with a member name, if it is a PDS. The Segment Layout File must exist.
Relationship Facilitator 141
If the file is already involved in another relationship definition, you must use
the same layout, if usage=S, or use the same XREF file to add a new
relationship.
File name
Specify the MVS file name of the parent in the new relationship. To view a list of files, specify a
pattern. Valid pattern character is * (see Pattern Characters on page 27).
Member name
Specify the member of the record layout file that contains the layout information for the MVS
file. Leave blank or use a pattern to select a member from a list.
Member name
Specify the member of the XREF file that contains the layout information for the parent MVS file.
Leave blank or use a pattern to select a member from a list.
You only need to fill in this field when you want File-AID/RDX to use an I/O exit routine when
accessing the above MVS file. Not needed to search the relationship file.
142 File-AID/RDX Reference
Method
Specify which method to use for your Output Key file:
1 MVS Record Layout. Select method 1 when you have a File-AID record layout describing
either the IMS segment or MVS record layout of the dependent object for which you
want to create an Output Key File during an extract.
2 IMS DBD. Select method 2 when you have an IMS DBD library for which you want to
establish a relationship with the parent Db2 table and for which you want to create the
Output Key File during an extract.
3 Both. Select method 3 when you have a File-AID record layout describing either the IMS
segment and an IMS DBD library for which you want to create an Output Key File during
an extract.
Member Name
Specify the member of the record layout or IMS segment layout file for which you want to
establish a relationship. If you leave this field blank or enter a pattern other than an asterisk (*),
File-AID/RDX displays a Member List window containing a list of members that match the
specified pattern.
DBD Library
Specify the IMS DBD library for which you want to establish a relationship with the parent Db2
table.
Member
Specify the member of the DBD library for which you want to establish a relationship. If you
leave this field blank or enter a pattern other than an asterisk (*), File-AID/RDX displays a
Member List window containing a list of members that match the specified pattern.
Relationship Facilitator 143
Suggest
Specify whether you want File-AID/RDX to select relationships when field and root segment
name, type, and length in the parent and dependent objects are identical.
Y Yes, File-AID/RDX will select columns and fields with identical names, type and length
for this relationship definition and present them in the following Column/Field
Relationships Screen (see Figure 54 on page 144). A message will inform you how
many relationships have been suggested. You can then accept them or delete
individual relationship definitions and/or add your own definitions.
N No. File-AID/RDX will not suggest any application relationships when entering the
following Column/Field Relationships Screen (see Figure 54 on page 144).
When parent and dependent objects are the same object, File-AID/RDX will bypass the
automatic suggest functions as all fields would be suggested. You can still issue the SUGGEST
primary command in the Field Relationships screen. Remember, File-AID/RDX only allows up
to 20 Field relationship definitions.
Description
Enter a description up to 128 characters in length of the application relationship to be created.
This information is displayed in the Relationship Information screen.
After specifying all required parent and dependent information, press Enter. You then continue
with the Field or Field/Segment Relationship screen to define the related MVS fields and IMS root
segment, see Relationships on page 144.
144 File-AID/RDX Reference
Relationships
The Relationships screen shown in Figure 54 is displayed after you
• used the S (Select) line command on the Application Relationship Detail screen.
Figure 54 shows the Relationships screen as it appears when adding a DB2 to DB2 application
relationship, before any column relationships have been defined or suggested.
The Relationships screen shown in Figure 55 on page 145 is displayed when maintaining an MVS to
MVS application relationship, with field relationships already defined.
Relationship Facilitator 145
Figure 55 shows the Relationships screen as it appears when modifying an MVS to MVS application
relationship. Notice that the titles now include the MVS naming convention where Parent Fields and
Dependent Fields are used in place of Db2 columns. Also, the Parent Portion of the screen includes
another scrollable area — Relationships — that lists the defined relationships.
The Relationships screen shown in Figure 56 is displayed when maintaining an MVS to DB2
application relationship, with Unicode data types and field/column relationships already defined.
Use the relationship screen to create or update the column or field level relationship detail for the
related objects in the relationship file. See Building Column/Field Relationships on page 167 for more
information about how to use the Relationships screen.
The body of the Relationships screen consists of two portions: a parent portion and a dependent
portion. The parent portion includes two scrollable areas, Defined Relationships and Parent
Columns/Fields. When the parent and dependent portions contain more information than can be
146 File-AID/RDX Reference
displayed at one time, use the scroll commands to scroll through the data. Each area can also be
scrolled individually with scroll mode CSR: move the cursor into the area you want to scroll and use
the UP or DOWN scroll commands.
Object Names
The top portion of this screen displays the object names for the relationship:
Parent
Displays the full name of the parent object preceded by the object type. For example, Db2 tables
are identified in the form
[Link].
Dependent
Displays the full name of the dependent object preceded by the object type. For example,
[Link].
[Link](member).
Parent Portion
The Parent portion of this screen represents the parent information for the relationship.
If relationships have already been defined, the Parent portion is divided into two scrollable areas by a
dashed line, for example
The part above the dashed line contains the names of the columns/fields participating in the
application relationship with the Mapped Fields values filled in. The part below the dashed line
contains the names of all of the columns/fields for the parent.
CMD
Enter line commands in this column. See Line Commands on page 107 for information about
valid commands. This column displays the ERR> flag when you select an existing relationship
from the Application Relationship Detail screen in the following situations:
– When File-AID/RDX cannot find a column or field that is defined as part of an application
relationship. You should delete such a relationship before you exit from this screen.
Relationship Facilitator 147
– When there is a conflict between column information stored in the relationship file and
column information stored in the Db2 catalog table, [Link].
Type(Length)
Displays the parent column’s or parent field’s data type. The length of the data is displayed in
parentheses immediately following the data type for CHAR, CH, VCHAR, VC, GRPH, VGRPH,
DEC, FIXPIC, National data types only.
Unicode Db2 character data types are identified as CH(x), VC(x) or LV(x) with a suffix of U16 or
U-8. Unicode character data from an MVS file is identified as N(x) U-16. See Figure 56 for a
sample screen.
See Table 8 for more information about data types displayed in this column.
Table 9 identifies the allowable column/field type mapping when building a column relationship.
TO
SMALLINT
DECFLOAT
HEXADEC
TMSTMP
TIMESTZ
INTEGER
National
DOUBLE
LVGRPH
BINARY
VGRPH
BIGINT
FLTPIC
FIXPIC
GRPH
DATE
FROM
TIME
REAL
DEC
CHAR or CH X X X X X X X X X X X X X X X X X
VCHAR or
X X X X X X X X X X X X X X X
VC
Relationship Facilitator 149
LVCHARor LV
VCHAR or VC
CHAR or CH
TO
SMALLINT
DECFLOAT
HEXADEC
TMSTMP
TIMESTZ
INTEGER
National
DOUBLE
LVGRPH
BINARY
VGRPH
BIGINT
FLTPIC
FIXPIC
GRPH
DATE
FROM
TIME
REAL
DEC
LVCHAR or
X X X X X X X X X X X X X X X
LV
GRPH X
VGRPH X
LVGRPH X
SMALLINT X X X X X X X X X
INTEGER X X X X X X X X X
BIGINT X X X X X X X
DEC X X X X X X X X X
REAL X X X X X X
DOUBLE X X X X X X
DECFLOAT X X X X
DATE X X X X
TIME X X X X
TMSTMP X X X X X
TMESTZ X X X X X
BINARY X
HEXADEC X X X X
FLTPIC X
FIXPIC X X X X X X X X X
N (National) X X X X X X X X X X X X
Mapped Fields
Displays a value only for already defined relationships in the Parent portion. It lists
* AR Conditional *
The Mapped Fields heading is replaced with the * AR Conditional * heading after you have
defined a conditional application relationship with the COND command. The column displays a
value only for already defined relationships in the Parent portion. It lists the same information as
the Mapped Fields column:
Dependent Portion:
The Dependent portion of the Relationships screen contains the following information:
NMBR
Displays File-AID/RDX-generated sequence numbers that indicate the dependent
column/field/segment numbers to be used as input in the above parent CMD field to establish a
new relationship. This number also correlates to the dependent column/field/segment number in
the Mapped Fields values for defined relationships.
Type(Length)
Displays the dependent column’s or field’s data type. The length of the data is displayed in
parenthesis immediately following the data type for CHAR, CH, VCHAR, VC, GRPH, VGRPH,
DEC, FIXPIC, National data types only.
Unicode Db2 character data types are identified as CH(x), VC(x) or LV(x) with a suffix of U16 or
U-8. Unicode character data from an MVS file is identified as N(x) U-16. See Figure 56 for a
sample screen.
See Table 8 on page 147 for more information about data types displayed in this column. Table 9
identifies the allowable column/field type mapping when building a column relationship.
1. If a Db2 column is a distinct type (UDT) File-AID/RDX displays the built-in column
type only.
2. Column types CLOB, BLOB, DBCLOB, ROWID, VARBINARY, or XML cannot be part of
an application relationship.
3. BINARY columns in the parent and dependent objects must have the same length.
Line Commands
The following File-AID/RDX-specific line commands are valid on the Relationships screen:
number
Establishes an application relationship (AR) between a parent column/field and a dependent
column/field/root segment.
The panel names the number line command according to the object type of the dependent:
For example, in Figure 65 on page 167 a Field-Number line command (1) has been entered to
relate the dependent field, SH-CUST-NUM to the parent column, CUSTOMER_NUMBER. When
you press Enter, the new relationship is established and the Column/Field Relationships screen is
redisplayed with the new relationship above the dashed line as shown in Figure 67 on page 168.
D (Delete)
Enter D in the CMD column to remove an existing column/field relationship from the
application relationship.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on the Relationships screen:
CANCEL (CAN)
Quits the Relationship Definition without saving any changes.
COND
Displays the Relationship Condition Definition panel where you can define a conditional test for
the current application relationship (AR). You must have already established a relationship
(mapped columns/fields) before you can issue the COND command.
SUGGEST (SUG)
Enter this command and File-AID/RDX will suggest a relationship when the parent and
dependent column or field name, type and length are identical. Same as if you had entered the
column or field number(s) manually for all identical column or field matches. You only need to
enter the SUGGEST command when you didn’t enable it in the previous “Add Relationships
Screen” or when you want File-AID/RDX to suggest matching pairs again.
Use the D line command to delete any suggested relationships you don’t want included. Use the
CANCEL primary command to abort the relationship definition.
From this panel you can define the conditions (selection criteria) under which the defined AR will be
processed during extract execution. You always specify the test condition on the parent object of the
relationship. The process to define the Relationship Condition is similar to defining extract selection
criteria for MVS objects (see also MVS File Selection Criteria).
The Formatted Selection Criteria Screen includes the parent object’s column or field name, data
format, a relational operator, and data value field. The data format is displayed in MVS format
terminology for both MVS and Db2 objects.
Multiple criteria sets can be defined within the definition of a condition. As with other criteria,
conditions within the same set are treated as AND conditions and between sets are OR conditions.
152 File-AID/RDX Reference
The Relationship Condition will be saved as part of the application relationship in the Relationship
file and its associated Conditional AR Criteria file. The relationship type AR-C identifies that the
relationship includes selection criteria.
Option
Enter one of the following valid options:
1 Selection criteria options allow you to specify a particular starting point in the file and set
limits on the number of records processed. See Selection Criteria Options on page 153.
2 Create and edit formatted selection criteria, which allows you to select records based on
data within a field specified by a record layout. See Formatted Selection Criteria Screen on
page 157.
Status
Specifies the status of the temporary selection criteria:
OPTIONS
Reports whether the default options have been modified. Valid values are DEFAULT or NOT
DEFAULT.
FORMATTED
Specifies the number of sets of criteria that are specified. A set of selection criteria is defined
as a single expression that can lead to the selection of a record. A set may test for one
Relationship Facilitator 153
condition or several conditions. The conditions can be ANDed together and several
conditions separated by commas create nested OR conditions within a set.
Primary Commands
The following primary commands are valid on the Selection Criteria Menu:
CANCEL
Returns to the Relationships Screen — Field Relationships already defined and clears all selection
fields.
END
Saves the current selection criteria and exits the Selection Criteria Menu. The “Relationships
Screen” will display the * AR Conditional * status to identify that this application relationship
now includes conditional criteria.
VIEW
Displays the View Criteria screen, which summarizes the options and formatted selection criteria
sets into a scrollable display. See View Criteria.
View Criteria
The View Criteria screen, shown in Figure 58, summarizes the current selection criteria. It displays
selection criteria option settings and formatted selection criteria sets on a scrollable display. Use the
VIEW primary command on any selection criteria screen to display this screen. Use the END
command (PF3) to return to the previous screen.
processing is executed and when it stops. File-AID/RDX determines whether an individual parameter
is valid based on the access method of the processed file. For instance, File-AID/RDX allows you to
specify the processing direction when selecting records from a sequential or VSAM file.
Enter option 1 on the Selection Criteria Menu to display the Selection Criteria Options screen.
Selection criteria options can be combined with formatted selection criteria. If any formatted
selection criteria exist, they are applied after a record passes the selection criteria options selection
process.
To specify a hexadecimal record key, enter the value enclosed in single quotation marks ( ’ ) and
precede the quoted value with the letter X. For example, X’03E2’.
This field allows you to specify a random starting point for record selection in a VSAM or BDAM
file. Records before the specified starting RBA or RRN are not selected, regardless of matching
formatted selection criteria.
For VSAM KSDS and VSAM ESDS files, enter a specific relative byte address. RBAs must be on a
record boundary. To specify a hexadecimal RBA, enter the value enclosed in single quotation
marks (’) and precede the quoted value with the letter X.
For VSAM RRDS or BDAM files, a relative record number (RRN) can be specified.
Relationship Facilitator 155
Records to select
Specify the number of records for File-AID/RDX to retrieve from the file at a time. Possible values
are any number from 1 (one) through 999999. Selection criteria is applied after the record has
been retrieved. The default is 1 (one).
Records to skip
Specify the number of records for File-AID/RDX to skip after fulfilling the Records to select
parameter when processing the file. Possible values are any number from 0 (zero) through
999999. Use the 0 (zero) value for File-AID/RDX to process all remaining records. All skipped
records are not selected, regardless of the selection criteria specified.
This parameter can prevent excessive I/O processing when searching large files. If the file is
processed randomly (a KEY or RBA have been entered), this count begins with the first record
retrieved randomly.
This field specifies whether File-AID/RDX starts reading a Sequential or VSAM file at the
beginning or the end. File-AID/RDX ignores the B value in this field when used with files of other
access methods.
Selected/Not Selected Records in the file
NS Record 1
NS 2
NS 3
NS 4
S Select 2 5 <=== Starting Record Number
S 6
NS Skip 3 7
NS 8
NS 9
S Select 2 10
S 11
NS Skip 3 12
NS 13
NS 14
S Select 2 15
S 16
NS Skip 3 17
NS 18
NS 19
S Select 2 20
S 21
NS Skip 3 22
NS 23
NS 24
S Select 2 25
S 26 <=== 10th Record Searched
NS 27
NS 28
NS 29
NS Not Searched 30
NS Because Limit 31
NS Has Been Reached 32
NS 33
NS 34
NS 35
When the values shown in Figure 61 are entered in the selection criteria options fields, all records in
the file pass this portion of the selection process and are processed by any specified formatted
selection criteria.
Figure 61. Selection Criteria Options Example. Default - Examines All Records
Initial records to skip ===> 0 then skip this many records
Subsequent Selection Interval then repeat the following
Records to select ===> 1 - select this many records
Records to skip ===> 0 - then skip this many records
until
Number of records to search ===> ALL you have read this many records
Relationship Facilitator 157
Select option 2 on the Selection Criteria Menu to display the Formatted Selection Criteria screen. If
you did not specify a record layout or XREF file prior to selecting option 2, File-AID/RDX displays the
Record Layout Specification screen, shown in Figure 62, for entry of the required information.
RO
Specify a relational operator. Possible values are:
EQ, = Equal to
NE, ¬ =, != Not equal to
GT, > Greater than
GE, > = Greater than or equal to
LT, < Less than
LE, < = Less than or equal to
CO Contains; scans the specified field for the presence of a data value. CO works on an
equal condition.
NC Not contains; scans the specified field for the absence of a data value. NC works on
a not equal condition.
BT Between; within a range of two values (endpoints inclusive). The value is greater than
or equal to the first endpoint and less than or equal to the last endpoint.
NB Not between; outside a range of two values (endpoints exclusive). The value is less
than the first endpoint or greater than the last endpoint.
VA Valid numeric or packed data based on the field format.
NV Not valid numeric or packed data based on the field format.
158 File-AID/RDX Reference
data value
For fields with relational operators other than BT and NB, you specify the field value to use in the
comparison. For relational operators BT and NB, specify your Data Value as two values separated
by a colon (:). The values may be hex strings, character strings, or numeric tests.
To compare an alphanumeric field to blanks (hexadecimal 40s), leave the data value column
blank.
Guidelines
To specify a formatted selection criterion, enter the relational operator and data value beside a field
on which you want to base the record selection. Leave the relational operator blank for fields not
involved in the selection criteria. Use the INPUT, INSERT, or REPEAT primary command to specify
multiple sets of formatted selection criteria. Add the keyword AND to those primary commands to
add an ANDed subset to the current criteria set.
In theory, you can create any number of sets of selection criteria. However, the actual number is
limited by available storage. Storage is primarily affected by the number of relational operators used
and the size of the fields being referenced. The number of ANDed subsets is limited to 255 for any
one set.
Multiple fields for a single criterion test are logically ANDed together, multiple AND subsets are
ANDed together, and multiple sets of criteria tests are logically ORed together.
Each ANDed Subset is processed as a part of the preceding Set as a group of conditions. An OR Set
represents a new group of conditions. Consider the following Sets:
SET 1
OR SET 2.1 (Subset 1 of Set 2)
AND SET 2.2 (Subset 2 of Set 2)
OR SET 3
This criteria will be processed as (SET 1) OR (SET 2.1 AND SET 2.2) OR SET 3.
Multiple data entries can be specified for one field by separating each entry with a comma. The
comma is interpreted as an OR expression. You can specify multiple data values for one field on one
selection screen. For example: RECORD-CODE EQ A,B,C is interpreted as the RECORD-CODE field
must be equal to A or B or C.
The syntax of the search data is important since File-AID/RDX interprets a comma as an OR
expression. In order to search for a comma as data, enclose the comma in double quotes (",").
For relational operators BT and NB, enter two values separated by a colon (for example, BT -
100:+100). In most cases, you will have sufficient space to enter the two values.
Relationship Facilitator 159
You can select records with an invalid field value by entering the NV relational operator. Records with
a valid field value can be selected by entering the VA relational operator. The VA and NV operators
can be used for packed decimal, and zoned decimal fields.
Relational operators CO and NC can be used to scan a field within each record for the presence or
absence of a particular value. The value for which you want to search is entered in the data value
column. Trailing blanks in the data value are ignored and not included in the search string. The CAPS
primary command controls whether File-AID/RDX does a case-sensitive search. When you enter CAPS
OFF, only text exactly matching the upper and lowercase characters is found (for example, SMITH
and Smith are different values). When you enter CAPS ON, File-AID/RDX treats upper, lower, and
mixed-case characters the same and matches any case combination of the specified characters.
DBCS data is accepted as selection criteria data values for alphanumeric fields. For the relational
operators CO (contains) and NC (not contains), File-AID/RDX removes any leading or trailing shift
characters unless the value is enclosed in double quotes.
The formatted conditions specified in Figure 60 translate into the following expression:
If ((A or B or C) and D) or E
Primary Commands
The following is a list of the primary commands that are valid on the Formatted Selection Criteria
screen.
ARRAY (AR)
Controls display of array declaration information for PL/I data.
160 File-AID/RDX Reference
ON
Displays an array definition line for each subscripted item in a record layout.
OFF
ALL
Displays all occurrences separately with the subscript(s) and any criteria entered on a specific
occurrence will only be applied to that occurrence. This additional parameter is only valid
during Formatted Selection Criteria creation.
ANY
Displays a single entry for the occurrences and any criteria entered for the ANY occurrence
will be applied to all occurrences. The record will meet the Selection Criteria if any of the
occurrences meet the specified criteria. This additional parameter is only valid during
Formatted Selection Criteria creation. ANY is applied for initial display of Selection Criteria.
When applying 2 or more criteria in the same subset, all have to be true in
the same occurrence to be selected.
When entered individually in different subsets, they don’t have to be true
in the same occurrence to be selected.
EVERY
Displays a single entry for the occurrences and any criteria entered for the EVERY occurrence
will be applied to all occurrences. The record will meet the Selection Criteria if all of the
occurrences meet the specified criteria. This additional parameter is only valid during
Formatted Selection Criteria creation.
Guidelines
• Use the PROFILE command to display the current ARRAY ON or OFF value. Only ON or
OFF are saved in the profile.
• The array line contains the name of the array followed by the word ARRAY and the
subscript bounds in standard PL/I format. If any of the subscripts are defined by a REFER
clause, additional lines that follow the ARRAY line describe each REFER variable.
• ANY, EVERY and ALL are available only in Formatted Selection Criteria.
• ANY, EVERY or ALL is applied per set or subset if any. Each set or subset may have a
different array setting.
• You cannot switch ANY, EVERY or ALL to another if the criteria is specified on any
occurrence field in a single set or single subset.
• In ANY or EVERY mode, the SHOW OFFSET command shows the offsets of the first
occurrence.
BACK
Positions the display to the previous criteria. Synonym for LEFT.
CANCEL (CAN)
Returns to main panel without saving current updates.
Relationship Facilitator 161
DELETE (DEL, D)
Delete a selection set or subset.
DISPLAY (DIS)
Specifies a display format.
MAXREFER
(for PL/I layouts only) Specify the maximum number of occurences to display. Omission of
the DISPLAY MAXREFER command causes PL/I Refers to default to 1 occurrence.
DOWN
Scrolls down.
END (E)
Terminates display of the Formatted Selection Criteria screen and returns to the Selection Criteria
Menu.
FORWARD (FWD)
Positions the display to the next criteria. Synonym for RIGHT.
AND
Inserts an ANDed subset of selection criteria (the set counter displays “AND Set 1.2 of 1”)
after (default) or before the current criteria.
LEFT (L)
Positions the display to the previous criteria. Synonym for BACK.
LOCATE (LOC)
Scrolls directly to the specified record layout line.
OCCURS (OCC)
Controls the display of array declaration items.
ON
Displays an array definition line for each subscripted item in a record layout.
OFF
ALL
Displays all occurrences separately with the subscript(s) and any criteria entered on a specific
occurrence will only be applied to that occurrence. This additional parameter is only valid
during Formatted Selection Criteria creation.
ANY
Displays a single entry for the occurrences and any criteria entered for the ANY occurrence
will be applied to all occurrences. The record will meet the Selection Criteria if any of the
occurrences meet the specified criteria. This additional parameter is only valid during
Formatted Selection Criteria creation. ANY is applied for initial display of Selection Criteria.
When applying 2 or more criteria in the same subset, all have to be true in
the same occurrence to be selected.
When entered individually in different subsets, they don’t have to be true
in the same occurrence to be selected.
EVERY
Displays a single entry for the occurrences and any criteria entered for the EVERY occurrence
will be applied to all occurrences. The record will meet the Selection Criteria if all of the
occurrences meet the specified criteria. This additional parameter is only valid during
Formatted Selection Criteria creation.
Guidelines
• Use the PROFILE command to display the current OCCURS ON or OFF value. Only ON or
OFF are saved in the profile.
• The OCCURS line contains the name of the array followed by the word OCCURS and the
subscript bounds in standard COBOL format. If any of the subscripts are defined by a
REFER clause, additional lines that follow the ARRAY line describe each REFER variable.
• ANY, EVERY and ALL are available only in Formatted Selection Criteria.
• ANY, EVERY or ALL is applied per set or subset if any. Each set or subset may have a
different array setting.
• You cannot switch ANY, EVERY or ALL to another if the criteria is specified on any
occurrence field in a single set or single subset.
• In ANY or EVERY mode, the SHOW OFFSET command shows the offsets of the first
occurrence.
PROFILE (PROF)
Displays profile information lines.
REPEAT (R)
Causes a formatted selection criteria set, including any subsets, to be repeated (SET 3 of 3
increments to SET 4 of 4; AND SET 3.2 of 3 increases to AND SET 4.2 of 4).
AND
Repeats an ANDed subset of selection criteria. (the set counter displays “AND Set 1.2 of 1”)
after the current criteria.
Relationship Facilitator 163
RETURN
Returns to the Primary Option Menu.
RIGHT
Positions the display to the next criteria. Synonym for FORWARD.
UP
Scrolls up.
USE
Specifies another record layout for the current formatted selection criteria.
VIEW (V)
Displays the View Criteria screen which is a keyword summary of the current settings for options,
formatted, and unformatted selection criteria. See Figure 58 on page 153.
A positive selection operator, such as EQ (equal to), indicates to select the record for processing if the
condition is true.
A negative selection operator, such as NE (not equal to), indicates to select the record for processing if
the condition is false.
Therefore, when using a negative selection operator, File-AID/RDX can select records that don’t have
data in those fields.
A typical case of this is seen with fields that are specified in a record layout with OCCURS
DEPENDING ON. Some records may have several occurrences of the field, while other records may
have only one or none.
For example, consider a record layout called CUSTOMER, having a field called BALANCE defined with
up to 12 occurrences, one per month, depending on another field, called DURATION-OF-ACCOUNT.
The 12th occurrence will not exist for customers who have had accounts with the company for less
than a year.
Example:
Assume you have the following 3 records in your file:
Alice Alvarez has been a customer for 5 months and had monthly balances of 1000, 2000, 3000, 500,
and 0.
Bruce Bandler has been a customer for 3 months and had monthly balances of 1000, 2000, and 3000.
Carlos Cramer has been a customer for 5 months and had monthly balances of 1000, 2000, 3000, 0,
and 0.
Alice Alvarez,05,1000,2000,3000,500,0
Bruce Bandler,03,1000,2000,3000
Carlos Cramer,05,1000,2000,3000,0,0
You specify: Select all records with BALANCE(4) NOT EQUAL TO 500
This is interpreted to mean: Select all records NOT having BALANCE(4) = 500
Records with nonexistent data in occurrence 4 will be included in the selection, and you get these
records:
Bruce Bandler,03,1000,2000,3000
Carlos Cramer,05,1000,2000,3000,0,0
Since Bruce Bandler does not have a balance for month 4, he does not have a balance that equals 500,
and his record is selected as being not equal to 500.
If you want to ensure that only one record is selected, include the the DURATION-OF-ACCOUNT
variable in the selection criteria:
Specify: Select all records with DURATION-OF-ACCOUNT >= 5 AND BALANCE(4) NOT EQUAL TO
500
This would ensure that records with nonexistent data for the fourth occurrence would not be
considered for selection. You would get only one record:
Carlos Cramer,05,1000,2000,3000,0,0
When Selecting data from arrays, the BETWEEN operator behaves the same way as it does for
individual data items. Use the BETWEEN (BT) operator when you want to select only records
containing data items that are simultaneously Greater Than or Equal to a specified lower bound and
Less Than or Equal to a specified upper bound.
However, when selecting data in arrays, do not try to select a set BETWEEN specified bounds by
specifying a combination of GT and LT.
When you specify GT and LT together for an array, you are really selecting two subsets: All records
having data items Less Than (LT) your upper bound AND all records having data items Greater Than
(GT) your lower bound. Generally this will include many more records than the set between the two
bounds.
Examples
Assume you have the following data records, containing an array with 5 occurrences of a 2-byte
numeric field:
Record 1: 05,05,05,05,05
Record 2: 02,04,06,08,10
Record 3: 11,12,13,14,15
If you specify ANY with values BETWEEN 04 and 06, Records 1 and 2 will be selected.
If you specify ANY with values Greater Than 03 AND Less Than 07, all 3 records will be selected. The
first 2 records have data items with values Less Than 07, and all 3 records have data items with values
Greater Than 03.
Relationship Facilitator 165
Field Mask
The Field Mask Criteria screen, shown in Figure 64, is displayed when you enter the Field Mask (FM)
relational operator in the relational operator (RO) column on any of the File-AID/RDX Selection
Criteria screens.
To ensure accurate Field Mask processing, the Field Mask (FM) relational
operator must be entered prior to entering any other relational operators.
Field Descriptions
Field Name
Name of the selected field as defined by the record layout.
Data Type
Data type of selected field as defined by the record layout.
Field Length
Length of data in selected field as defined by the record layout. This field cannot be overtyped,
when you are on the Field Mask Criteria screen.
166 File-AID/RDX Reference
Mask Length
Length of the mask. This field may be overtyped to shorten or lengthen the length of the data to
be masked. This is particularly useful when you want to mask all the elements of a group item.
Field Mask
A Field Mask enables processing of selected positions or part of a field. It always operates on
character representation of the field. Specify Y or N to include or exclude field positions to be
processed for masking.
Each mask position corresponds to a digit in the decimal value of the original field, when
masking numeric fields. The selected digits are passed as a single unsigned numeric display field
for the specified product function.
When masking character fields, each mask position corresponds to the identical position in the
original field. The selected positions are passed as a single contiguous character field.
The original format will be replaced by MASK on the Formatted Criteria and Selection criteria
screens, when Field Mask is in effect.
Field masking is not currently supported for bit, floating point, DBCS, or
numeric fields that specify a leading and/or separate sign.
Primary Commands
The following primary commands are valid:
END
Saves the entered field mask parameters.
CANCEL
Discards the entries.
Relationship Facilitator 167
The parent and dependent portions of the Relationships screen comprise two lists. These lists contain
names, data types, and lengths of columns or fields from the parent and dependent objects specified
in the preceding screen. Use these lists to build the relationships at the column/field level.
1. Decide which parent and dependent columns or fields you want to be related. It is likely that
these will be columns or fields that your application recognizes as containing data values that are
used as an index into the corresponding object in the relationship.
2. Enter the number from the dependent NMBR column that corresponds to the dependent
column/field you chose in step 1 in the parent CMD column next to the name of the parent
column/field you chose in step 1. See Figure 65.
Refer to Table 9 on page 148 to see which data types can be paired to establish an application
relation. For other pairings File-AID/RDX displays an error message and will not establish the
relationship.
3. Press Enter.
If one or both parent and dependent fields in an MVS file contain subscripts, File-AID/RDX will
need to know which occurrence of subscript to use for the relationship. In that case, File-
AID/RDX continues with Specify MVS Field Subscripts on page 177.
When partial column mapping is allowed between the parent and dependent columns/fields, the
Extended Column Relationship Definition pop-up window is displayed as shown in Figure 66 on
168 File-AID/RDX Reference
page 168. See Extended Column Relationship Definition on page 169 for more information about
extended column relationships.
If partial column mapping is not applicable for the selected parent to dependent pairing the
relationship is established immediately. File-AID/RDX positions the name of the parent
column/field of the relationship you just created to the end of the list of established column
relationships as shown in Figure 67. Note that the new column relationship is located above the
dashed “End of Related Columns” line. In addition, the Mapped Fields value is filled with the
dependent column/field number that appeared in the NMBR column next to the dependent
column/field as well as any applicable extended column information in parentheses, followed by
the dependent column/field name.
Figure 67. Relationships Screen — New Db2 Column to MVS Field Relationship Established.
4. Repeat steps 1-3 for all columns/fields that you want to include in the application relationship for
the pair of objects.
Relationship Facilitator 169
When you exit from this screen, File-AID/RDX writes a new or modified application relationship to
the relationship file. File-AID/RDX redisplays the Application Relationship Detail screen, where the
completed action is indicated in the Status column with the “Added” or “Modified” message.
If the columns you want to map are the same length, the fields in this window are prefilled and the
following message is displayed:
The left side of the body of this window contains fields that pertain to the
parent column/field:
Number
Displays the number of the parent column/field.
Name
Displays the name of the parent column/field.
170 File-AID/RDX Reference
Type(Length)
Displays the type of data contained in the parent column/field. The length, in parentheses,
follows the data type. If an MVS field includes an occurrence of subscripts, the ARRAY SIZE and
MAX LENGTH values are also displayed, see Figure 80 on page 179 for an example.
Start Position
Specify the starting position of the string in the parent column/field that will comprise the
column/field relationship.
Length
Specify the length of the string contained in the parent column/field on which the column/field
relationship will be based.
For DECIMAL data types the Length value represents its internal byte length and cannot be
changed.
The right side of the body of this window contains fields that pertain to the dependent
column/field:
Number
Displays the number of the dependent column/field.
Name
Displays the name of the dependent column/field.
Type(Length)
Displays the type of data contained in the dependent column/field. The length, in parentheses,
follows the data type. If an MVS field includes an occurrence of subscripts, the ARRAY SIZE and
MAX LENGTH values are also displayed, see Figure 80 on page 179 for an example.
Start Position
Specify the starting position of the string in the dependent column/field that will comprise the
column/field relationship. If the right side does not display a Length field, the length of the
dependent column/field is determined by the length of the string in the corresponding parent
column/field.
Length
(displays only for DECIMAL to CHAR relationships) Specify the length of the converted decimal
string in the dependent character column/field. The maximum length of a DECIMAL to CHAR
conversion is “precision + sign + decimal delimiter”. For example, maximum CHAR length for
DEC(9,2) is 11 (9 + 1 + 1).
Relationship Facilitator 171
DECIMAL: For values less than 1, a leading zero is inserted before the decimal point (or
comma), for example 0.25.
FIXPIC: For values less than 1, the leading zero is dropped before the decimal point (or
comma), for example .25.
– For values less than 0, a minus sign is the left most character in the returned string
– Values greater than 0:
FIXPIC: For values greater than 0, if signed, a plus sign is returned; if not signed, a plus
sign is not returned
• The minus or plus sign must be the left most character of the string
• The placement of the decimal point in the string is interpreted, but the scale of the decimal value
is derived from the DECIMAL column/field definition. If, for example, the decimal definition is
DEC(9,2) and the string to be converted is 99.999, the last decimal position is truncated. Only
applies to FIXPIC if last digit is zero (0).
172 File-AID/RDX Reference
• If the string does not contain a decimal point and the scale is greater than zero, zeroes will be put
into the decimal positions of the decimal value. For example, character string 1234 would be
converted to 1234.000 for a DEC(7,3) column.
• The character string cannot contain values other than numeric values, sign or decimal delimiter
(point or comma)
Example 1
Assume you have entered a column-number line command (as illustrated in Figure 69) to create a
Db2 to Db2 column relationship between two columns with data types of CHAR and lengths of 6.
The Extended Column Relationship Definition pop-up window would be displayed as shown in
Figure 70 with default values for starting position and length prefilled.
Relationship Facilitator 173
When you select parent and dependent columns with the same data type
and length, the Extended Column Relationship Definition window is
prefilled and the following message is displayed:
Example 2
Assume you have entered a column-number line command (as illustrated in Figure 71) to create a
DB2 to KEY relationship (using root segment, not segment layout) between columns with data types
of CHAR and different lengths.
The Extended Column Relationship Definition pop-up window would be displayed as shown in
Figure 72 with default values for starting position and length prefilled.
Change the Dependent Root Segment’s Start Position to 5 and the Parent Column Length to 2. Figure
73 on page 174 indicates that the first two characters in the parent column and the last two
characters in the dependent root segment will make up the column/segment relationship.
When you press Enter the Column/Segment Relationship screen reflects the desired relationship (see
Figure 74).
Relationship Facilitator 175
Now the Mapped Fields value includes the extended column relationship information in parentheses
(1,2,5) where 1 is the parent starting position, 2 is the length, and 5 is the dependent starting
position.
Example 3
Assume you have entered a Field-Number line command (as illustrated in Figure 75) to create a DB2
to MVS relationship between a column with data type of DECIMAL and a field with data type CHAR.
The Extended Column Relationship Definition pop-up window would be displayed as shown in
Figure 76 with default values for starting position and length prefilled:
176 File-AID/RDX Reference
Figure 76. Extended Column Relationship Definition Window with DECIMAL to CHAR
The values entered in the window in Figure 77 on page 176 indicate that the complete parent decimal
column and the last eleven characters in the dependent column (starting position 10, length 11) will
make up the column/field relationship.
This window appears only if the selected parent field contains subscripts. Use it to specify the desired
value for up to three subscripts, where applicable.
Parent
Displays the name of the parent file.
Field Name
Displays the name of the parent field to be mapped.
Data Type
Displays the type of data contained in the field. The length, in parentheses, follows the data type.
Subscript 1
Specify the starting position of substring 1 in the parent field that will comprise the column/field
relationship.
Subscript 2
Specify the starting position of substring 2 in the parent field that will comprise the column/field
relationship.
Subscript 3
Specify the starting position of substring 3 in the parent field that will comprise the column/field
relationship.
178 File-AID/RDX Reference
After you press Enter, you continue either with the Dependent Field Subscripts window (Figure 79
on page 178), if the dependent field contains subscripts, or the Extended Field Relationship
Definition window (Figure 80 on page 179), if the parent and dependent field types qualify for
Extended Field Relationship Definition, or return directly to the Field/Column Relationship
screen (see Figure 81 on page 179) when the relationship definition is completed.
Use this window to specify the desired value for up to three subscripts, if applicable, for the
dependent field.
Dependent
Displays the name of the dependent file.
Field Name
Displays the name of the dependent field to be mapped.
Data Type
Displays the type of data contained in the field. The length, in parentheses, follows the data type.
Subscript 1
Specify the starting position of substring 1 in the parent or dependent field that will comprise the
column/field relationship.
Subscript 2
Specify the starting position of substring 2 in the parent or dependent field that will comprise the
column/field relationship.
Subscript 3
Specify the starting position of substring 3 in the parent or dependent field that will comprise the
column/field relationship.
Relationship Facilitator 179
After you press Enter, you continue either with the Extended Field Relationship Definition window
(Figure 80 on page 179), if the parent and dependent field types qualify for Extended Field
Relationship Definition, or return directly to the Field/Column Relationship screen (see Figure 81 on
page 179) when the relationship definition is completed.
Figure 80. Extended Field Relationship Definition with Field Subscripts Defined
See Extended Column Relationship Definition on page 169 for a description of the fields. Note that
the Type(Length) field now also includes the array size and maximum length of the related elements.
Upon completion, File-AID/RDX displays the defined relationship in the Field Relationships screen as
shown in Figure 81.
See Relationships on page 144 for a description of the fields. Note that the element notation for the
parent is enclosed in parentheses following the parent field name, while the element notation for the
dependent is enclosed in parentheses following the dependent name in the Mapped Fields area.
180 File-AID/RDX Reference
• Select Option A, ALLOCATE, from the DB2 Relationship Facilitator or MVS Relationship
Facilitator menu.
Use this screen to create a new Relationship file in addition to the one(s) created during the
installation of File-AID/RDX.
Use this screen to allocate the new Relationship file that File-AID/RDX uses as a repository to store
the RI and AR relationship definition so you can extract related data.
Press END (PF3) to allocate the SMS file, or use the CANCEL command to cancel the allocation. When
allocation is complete, File-AID/RDX displays a message: FILE ALLOCATED in the upper-right corner
of the screen.
After allocating a new Relationship file, you can use Option L, Batch RI Load, from the DB2
Relationship Facilitator to load Db2 RI information from a Db2 subsystem (see Batch RI Load on page
182).
Cluster
Specify the name of the VSAM cluster for the Relationship file to be allocated. If you don’t use
quotes around the name, File-AID/RDX will add your TSO ID as the prefix.
Data component
Displays the name of the data component as it will be allocated. It reflects the new cluster name
and low level qualifier after you press Enter.
Index component
Displays the name of the index component as it will be allocated. It reflects the new cluster name
and low level qualifier after you press Enter.
If a long cluster name results in data and index component names longer
than 44 characters, the cluster name portion in front of the component LLQ
is truncated.
Storage
Specify the SMS storage class to use for the allocation of the file. The storage class describes the
hardware requirements of the file.
Data
Specify the SMS data class to use for the allocation of the file. The data class describes the
attributes of the file such as RECORG, KEYLEN, KEYOFF, SPACE, etc.
Management
Specify the SMS management class to use for the allocation of the file. The management class
describes the migration, backup, and retention for the file.
Space Allocation
Specify the space allocation values for the data and index components. Leave fields blank for
defaults.
Volume serial
Specify the volume serial of the direct access device that contains the file.
Space units
Specify one of the following storage unit types depending on how the file size is expressed:
TRK - Tracks
CYL - Cylinders
K - Kilobytes
182 File-AID/RDX Reference
M - Megabytes
REC - Records
Primary quantity
Specify the primary allocation quantity as specified in the space units field.
Secondary quantity
Specify the secondary allocation quantity as specified in the space units field.
Batch RI Load
The Batch RI Load screen shown in Figure 83 on page 182 is displayed when you
Use this screen to initiate a batch job that updates your Relationship file with referential integrity
relationships (RI) for the specified Db2 subsystem.
On this screen you specify the Relationship file to be updated as well as the Db2 subsystem from
which to load RI. Optionally, you can specify a list of Creator IDs to limit the relationships to only
those that match the Creator IDs.
Enter GO to submit the job or enter JCL to review the JCL before submitting.
After you enter GO, File-AID/RDX displays the message: JOB SUBMITTED and returns to the DB2
Relationship Facilitator menu.
Relationship Facilitator 183
SSID
Specify the subsystem ID of the Db2 subsystem from where you want to load RI.
Sysout Class
Specify the desired sysout class according to your site requirements (* is the default).
CMD
Enter valid line command (D). Note that the character ' indicates that the line is in Insert mode,
ready for you to type in a Creator ID.
Complete CREATOR ID
Specify one Creator ID per line. Creator ID must be a complete ID. This field is scrollable
(left/right) and subject to the EXPAND command to facilitate long Creator IDs. When you press
Enter, a new line opens allowing you to enter an additional Creator ID.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
JCL
View the JCL for the Load RI utility (see also Figure 84 on page 184). File-AID/RDX shows the
Generated JCL panel where you review and modify the JCL. Enter the SUBMIT command to
submit the Load RI job.
GO (G)
Submits this Load RI request without displaying the JCL. Before issuing the GO command, make
sure you have specified the desired relationship file and Db2 subsystem. File-AID/RDX will also
issue a message upon completion of the job.
Line Command
The following File-AID/RDX-specific line command is valid on this screen:
184 File-AID/RDX Reference
D (Delete)
Deletes the selected Creator ID from the list of Creator IDs.
Background Information
The RI load batch jobs update the relationship file (a VSAM-KSDS) with current referential integrity
information by performing the following steps:
1. Delete all referential integrity relationships (RI) for the subsystem specified from the relationship
file.
2. Gather new RI information, including non-enforced RI, from the Db2 catalog.
3. Copy the new RI information to the relationship file.
The RI load batch job does not modify the Db2 catalog.
The RI load batch job should be executed initially by the person responsible for installing File-
AID/RDX. It can be executed periodically to refresh RI relationships in the relationship file. This is
advantageous after structure changes, such as new or changed foreign keys, new or changed primary
keys, and new tables.
To achieve the most efficient results, execute this job against a Db2 subsystem that contains single
occurrences of tables. Usually, production, system test, and acceptance Db2 subsystems have single
copies of tables. Conversely, test subsystems usually have many copies of tables and, therefore, would
not be good Db2 subsystems against which to run the RI load batch job.
The referential integrity relationships that are loaded into the relationship file can be used as model
definitions to generate a related table extract.
To ensure that a complete group of RI and AR related tables is extracted, specify the subsystem where
application relationships were or are to be generated for tables using File-AID/RDX Relationship
Facilitator option 3 - Add AR on page 89.
The parameter information in the PARM field in the EXEC statement must have the following format:
DD Statement Description
Customized and Target File-AID/RDX load libraries (CXVJLOAD and SXVJLOAD); Db2 load
STEPLIB
library.
SYSOUT Output class for error messages and reports.
RDXSQLCD Output class for detailed SQL error information from Db2.
RDXMLIB The library containing File-AID/RDX messages.
EXTPARMS File containing the load parameters (see EXTPARMS File on page 367).
RELDSN -- The File-AID/RDX relationship file to be updated.
CREATOR -- Creator ID to limit relationships to be updated. (Optional)
RDXPARMS TBNAME -- Table name to limit relationships to be updated; only valid if CREATOR is used.
(Optional)
GO -- executes update for the specified CREATOR; allows multiple update runs.
Return Codes
An execution return code (RC) appears in the output listing. For return codes 4, 8, and 16, an error
code and message indicating the specific problem also appear in the listing. In general, the return
codes can be summarized as follows:
Return
Description
Code
0 Job ran to completion.
4 Job ran to completion with warning messages issued.
8 Job may have ended prematurely. Dataset or Security related error.
16 Severe error, job aborted.
Error Messages
As referential integrity information is loaded in the relationship file, error messages appear in the
output listing. The following error messages can be ignored. They refer to the Db2 catalog tables,
which do not always conform with the rules of referential integrity.
The first time you run the refresh job, the following error message is generated because the file is
empty. It can be ignored.
Use this screen to specify the relationship file for which you want to generate a report.
The body of the Formatted Relationship Report screen consists of the following field:
File Name
Specify the name of the relationship file for which you want to generate a formatted report.
Use this screen to specify whether you want to route the report to a printer or a file. If you route the
report to a file, use this screen to specify a file and its characteristics.
If you want to route the report to a printer, specify appropriate values in the following two fields:
Printer Destination
Specify the destination printer.
SYSOUT Class
Specify the SYSOUT class.
If you want to route the report to a file, specify the appropriate values in the following fields:
VOLSER
If the file specified in TO Print file is non-cataloged or new, specify the volume serial number of
the file. For non-cataloged files, a volume serial number is required. For new files, a volume serial
number is optional.
Disposition
Specify the disposition of the TO Print file. You can write to existing files with a disposition of
OLD or MOD. Specify a disposition of NEW to create a new sequential file.
If you specify NEW in the Disposition field, you must specify the following allocation
parameters:
Generic Unit
Specify the device type on which the new file will reside. The names of these devices are
installation dependent.
Block Size
Specify the block size for the new file.
Space Units
Specify whether space for the new file will be allocated in blocks (BLK), tracks (TRK), or cylinders
(CYL).
188 File-AID/RDX Reference
Primary QTY
Specify the initial number of space units that will be allocated for the new file.
Secondary QTY
Specify the number of space units that will be allocated for each secondary extent.
Use this screen to edit and/or submit the print JCL generated by File-AID/RDX. If you want to save
this JCL, use the ISPF/PDF CREATE or REPLACE command before you exit the panel. Otherwise, File-
AID/RDX deletes this file.
The report groups related objects. In the first part, the groups are made up with the parent object
listed first, followed by all of its dependent (child) objects. In the second part, the groups are made
up with the dependent object listed first, followed by all of its parent objects. If an object is listed
more than once in a group as a parent or child, it reflects the number of relationships that exist
between those objects. The groups are listed in alphabetical order.
Type
Displays the type of relationship that exists between the parent and dependent object.
Parent
Name of the parent object. Db2 long object names are wrapped within the column.
Dependent
Name of the dependent object. Db2 long object names are wrapped within the column.
The parent and dependent object names are preceded by their object type:
D- Db2 object
M- MVS object
I- IMS and Output Key file (dependent only)
RELNAME or Description
Displays the RELNAME for RI relationships or the defined description for application
relationships (AR).
Columns
Displays the related parent and dependent columns with their column type and length.
191
Extract
Overview
Option 2, Extract, enables you to extract data from one or more related objects (Db2 tables or views
and/or MVS files), including Db2 referential integrity-related data and user-defined application-
related data that are loaded in the specified File-AID/RDX relationship file. Should your extract
request include relations to an Output Key file or external IMS related data, File-AID/RDX generates
an Output Key file. For IMS Output Key files, File-AID/RDX also allows a File-AID for IMS Extract to be
executed as a step following the File-AID/RDX extract using the IMS key file. Or you can use the
resulting key file separately with File-AID for IMS to extract the IMS related data.
File-AID/RDX enables you to control the scope and depth of your extract by specifying extract
criteria, including which relationships to exclude from the extract, how many rows to extract, and
what selection criteria should be applied to the Db2 tables and/or MVS files to be extracted. You may
define multiple selection criteria sets to be saved in the extract request file. Thus, you can create
complex criteria and store the related extracted records in a single extract file. Furthermore, you can
specify an Input Key file as additional selection criteria for the Db2 or MVS driving object during the
extract process.
The Extract function consists of an interactive definition phase and an execution phase.
The interactive phase takes place online. In preparation of the execution phase, it allows you to
specify information about the following:
• Driving object
• Relationship file
• Navigation, sampling, and selection criteria
• Extract file, Extract Request file
• Input Key and Output Key files
• Data Privacy options
• Unrelated objects
• Checkpoint/Resumption
Your current profile provides default values for all new extract requests. It also controls the starting
panel for the interactive phase and its flow. Refer to Profiles and Global Defaults for more detail on
how to select and set up your profiles.
Of course, you can also create new extract requests from previously saved ones or simply repeat old
requests without any changes.
In addition, File-AID/RDX builds JCL that you can edit and save before you submit it for execution.
You can also create a single request member that combines the extract and the load specifications. See
Continue With Load on page 351 and Load for more information about how to create a combined
batch job.
Normally, the execution phase takes place in batch mode. Your installation may also permit
interactive (online) execution of the extract, however, you should consider it for short extracts only.
During the execution phase, File-AID/RDX can copy the extracted data to any of the following
destinations:
The maximum data record length (LRECL) that can be extracted into the extract file is
32,748 (max. of 32,756 minus 4 bytes RDX data, minus 4 bytes VB data).
File-AID/RDX will issue a message when an object file has a longer LRECL, but allow
you to start the extract. However, when a record to be extracted exceeds 32,748, the
extract will fail.
Extract processing has been enhanced to utilize Db2 for z/OS Multi-row fetch feature providing
potential reduction in CPU time, Service Units and improved performance. When extracting from
tables with LOB or XML column types, multi-row fetch processing will not be used unless these
columns are excluded from the extract.
File-AID/RDX produces reports that summarize the extract results at the end of the execution phase.
After you specify a driving object, you determine the scope of the extract.
For example, assume a DBA wants to create a test environment consisting of a subset of data from the
production system. In this case, the DBA might select an object central to the system or the object
most often accessed by programs. In particular, assume that the Db2 tables in Figure 89 represent the
tables in an order entry system. Because the ORDER_TABLE is central to the order entry system, the
DBA would probably select the ORDER_TABLE as the driving object.
For another example, assume that an applications programmer has a problem with the data in a
specific Db2 table and wants to duplicate the conditions under which the problem occurs. The
programmer would select the problem table as the driving object to extract data from and then
extract data from objects related to it. In particular, assume that there is a problem with order
number data from the ORDER_TABLE. The programmer would select ORDER_TABLE as the driving
object because that is where the problem data resides. The result would be an extract including data
from the problem ORDER_TABLE and other related data.
Extract 193
Navigation Controls
Example:
• ORDER_TABLE is the parent of ORDER_LINE_TABLE, because all records in both tables contain an
order number column.
• PART_TABLE is the parent of ORDER_LINE_TABLE and SUPPLIER_TABLE, because all records in all
three tables contain a part number column.
The following demonstrates the progressive nature of the navigation controls applied globally:
Definition
Extract selected rows from the driving object and all of the dependents of the driving object and
their dependents.
194 File-AID/RDX Reference
1. The ORDER_TABLE - ORDER_LINE_TABLE relationship can only be navigated via the direct
descendant path. All rows that are part of the original selection from the driving object will
choose this path and extract the related records from ORDER_LINE_TABLE.
When your profile has navigation criteria Direct set to C or P (see also Direct on page
58), all other Extract Navigation Criteria parameters are disabled and cannot be
modified during the extract specification. With Direct set to C, in this example it
means, only the related records from ORDER_LINE_TABLE will be extracted and the
extract stops here.
Definition
Extract the parents of all extracted data to maintain the integrity of the extracted data.
2. The CUSTOMER_TABLE - ORDER_TABLE relationship will be navigated via the parent path. All
rows that are part of the original selection from the driving object will choose this path.
3. The PART_TABLE - ORDER_LINE_TABLE relationship will be navigated via the parent path. All
rows that are extracted from ORDER_LINE_TABLE (Step 1) will choose this path.
When your profile has navigation criteria Direct set to P (see also Direct on
page 58), in this example it means that the extract stops here after
extracting the parents from CUSTOMER_TABLE - ORDER_TABLE and
PART_TABLE - ORDER_LINE_TABLE.
Extract 195
Definition
Extract other dependents of the extracted parents from the same relationships.
4. The CUSTOMER_TABLE - ORDER_TABLE relationship will be navigated via the sibling path. All
rows that were part of the parent selection (step 2) will choose this path (get all orders for this
customer).
5. The PART_TABLE - ORDER_LINE_TABLE relationship will be navigated via the sibling path. All
rows that part of the parent selection (step 3) will choose this path (get all order line entries for
this part number).
6. The ORDER_TABLE - ORDER_LINE_TABLE relationship is now also navigated via the parent path.
All rows extracted from the PART_TABLE - ORDER_LINE_TABLE relationship will choose this path
(get all order parents for this ORDER_LINE entry).
196 File-AID/RDX Reference
Definition
Extract other dependents of the extracted parents from other relationships.
7. The CUSTOMER_TABLE - CONTACT_TABLE relationship will be navigated via the indirect path.
All rows that were part of the parent selection (step 2) will choose this path (get all contact
entries for this customer).
8. The PART_TABLE - SUPPLIER_TABLE relationship will be navigated via the indirect path. All rows
that were part of the parent selection (step 3) will choose this path (get all supplier entries for this
part number).
9. The ORDER_TABLE - ORDER_LINE_TABLE relationship will be navigated via the indirect path. All
rows that were part of the sibling selection (step 4) will choose this path (get all ORDER_LINE
entries for this order).
Extract 197
In addition, you can manually exclude objects and relationships from the list using the X (exclude)
line command and EXCLUDE primary command on the Extract Scope - Object View and “Extract
Scope - Relationship” screens (see Figure 130 on page 256 through Figure on page 276). When
excluding an object, all relationships involving that object are excluded.
Sampling Controls
Sampling controls regulate how many qualifying records are to be extracted. They can be set globally
for all objects and relationships or individually for each object or relationship.
The extract is stopped when the number of records extracted matches this limit. No limit (*) is
the default.
What happens after the maximum row count is reached will differ depending on the setting of
the quiesce action specified on the extract scope panel. If the quiesce action is set to STOP, no
further rows will be extracted from the object. If it is set to QUIESCE, rows that are extracted via
parent path navigation will continue to be extracted but direct, indirect and sibling rows will
not.
Quiesce means to stop all downward navigation and just get the parents for any rows already
extracted. The quiesce option will allow the extract to stop at a logical breaking point where the
integrity of the extracted data is maintained.
Cycle Count
There are three ways to set cycle count in the extract scope:
1. Global
The global cycle count limits the number of times an object can be visited during an
extract.
2. Relationship Level
198 File-AID/RDX Reference
The cycle count can be set for each individual relationship in the extract. Cycle count
limits the number of times a relationship can be visited during an extract. The direct
path will always be navigated only once and navigation on the parent path will not be
counted.
There is no way to know how many rows will be extracted in a cycle; any chase keys
ready to be extracted via the relationship being processed will be included in the same
cycle. It is intended to be used simply as a way to limit the amount of data selected.
3. Object Level
The cycle count can be set for each individual object in the extract.
When entered for an object, it limits the number of times an object can be visited during
an extract regardless of the number of relationships.
Once the maximum number of records for an object or relationship has been reached, no more
records from that object or relationship will be extracted. No limit (*) is the default.
Sampling criteria is being expanded to the relationship level. Cycle count, maxrows and
dependents-per-parents can now be specified for each relationship. The sampling criteria
specified on the object view and the relationship view will be used together at extract time.
Maxrows specified at the object level applies to all paths leading to the object; all rows selected
via direct, indirect, parent and sibling are included in the maxrows count.
Maxrows specified at the relationship level applies to all paths leading down from the object; all
records selected via direct, indirect and sibling are included in the maxrows count. Parent path
navigation of the relationship is not included because it will extract rows from a different object.
When maxrow is specified at both a relationship and an object level the relationship maxrow
value is processed first. If the count has not been exceeded the row is passed on to check against
maxrow specified at the object.
What happens after the maxrow count is reached will differ depending on the setting of the
quiesce action specified on the extract scope panel. If the quiesce action is set to stop, no further
rows will be extracted from the object. If it is set to quiesce, rows that are extracted via parent
path navigation will continue to be extracted but direct, indirect and sibling rows will not.
Nth Row
NTH allows rows that are eligible for selection to be skipped and not be extracted. It is a select 1
of x value; an NTH value of 3 will result in rows 1 and 4 to be extracted.
When NTH is specified at the object level it applies to all relationships leading from the object.
NTH causes every x number of rows to be selected.
Dependents-Per-Parent
Determines the maximum number of dependent records to be extracted for each parent record
extracted. An asterisk (*) indicates that File-AID/RDX will extract all dependent records. A value
of 2, for example, specifies to select no more than 2 dependent ORDER records for each extracted
parent CUSTOMER record. For KEY relationships, this field is not applicable.
Extract 199
Data Disguise does not support this function. If the extract request is to be disguised, make
sure that disguise criteria has been defined for the new Db2 objects as data disguise
criteria is defined for Db2 objects using the three part object name [Link]
and their relationships must be defined in the relationship file.
The following scenario illustrates the process of how to extract data from one subsystem using
relationship information from a second subsystem to populate tables in a third subsystem. In Table
10, there are three different subsystems (PROD, TEST, and ACCEPT). Each entry in the columns
represents the name of a table.
There is a relationship definition for the pair of tables CUSTOMER and ORDER in the production
subsystem, called PROD in the example, but none in the acceptance subsystem. You want to use this
relationship information as the model to extract data from the CUSTOMER and ORDER tables
residing in the acceptance subsystem (ACCEPT) to populate the CUSTOMER and ORDER tables in
the test subsystem (TEST).
2. select the [Link] relationship definition, if more than one relationship definition exists
for the Table Name value (CUSTOMER).
200 File-AID/RDX Reference
3. specify the [Link] to [Link] relationship definitions from the PROD subsystem as the
extract criteria for the tables in the ACCEPT subsystem and exclude the other relationships.
4. specify T as Creator ID and TEST as subsystem ID for the tables into which to load the extracted
data (the target tables).
The Load Object Specification screen is not the next screen in the actual
dialog. It is, however, representative of the next step for the purpose of this
example.
Extract 201
5. File-AID/RDX uses the relationship information for CUSTOMER to ORDER from the PROD
subsystem. It extracts data from the ACCEPT subsystem using the PROD relationship
information. It populates the CUSTOMER and ORDER tables in the TEST subsystem with the
extracted data. See Figure 98 on page 201 for a diagram illustrating the use of relationships across
subsystems.
Figure 98. Extracting Data From Subsystem ACCEPT Based on Relationships in Subsystem PROD
202 File-AID/RDX Reference
Use this functionality when you anticipate a long running extract that might not complete within
your site’s constraints or when executing complex related extracts.
Syntax:
F jobname,NOW
Once you have saved an extract request you can use it again to extract data from the same or another
Db2 subsystem. You just use the M line command in the Extract Reference List or the Request File
Member List Screen and specify the Db2 subsystem, if the request includes Db2 objects, as illustrated
in Figure 112 on page 227. You can further modify or “clone” the request by specifying new object
names. The same extract criteria will be applied on the specified Db2 subsystem or MVS environment,
using the same relationships, extract options, and selection criteria.
If there are no Disguise rules created for the new object names, the Disguise
rules for the original objects will be applied.
and/or LOB data will be masked. Note that an Input Key File and Selection Criteria cannot reference
an XML and/or LOB column.
Disguise Criteria cannot be created on XML and/or LOB columns when using DCF (see also Using
File-AID/RDX with File-AID/Data Solutions (Using DCF) on page 604).
XML and/or CLOB column data in extracts can only be disguised with Dynamic Privacy Rules
(Disguise Option 2, DPR). Dynamic Privacy Rules must be defined with the File-AID Data Privacy
component of the Topaz Workbench (see also Using File-AID/RDX with File-AID Data Privacy (Using
DPR) on page 603). Disguising DBCLOB columns is not supported.
You can load extracted data from XML and/or LOB columns to a target table using either SQL Insert
or Db2 Load options. When loading an extract disguised with DCF, be aware that the extracted XML
and/or LOB data is not disguised and will be loaded unmasked in its proper format.
GDG Considerations
Based on the relationships defined, the related objects can be either a single generation if a GDS is
specified or multiple generations if a GDG base is specified. Object names display in the same format
used to create the relationship. For relative GDSs, the extract file contains their relative as well as
their absolute file names.
When using relative generation, the dataset associated with the generation specified must exist or the
object will be excluded from the extract, as is standard behavior for all missing objects.
When a GDS is extracted, each generation is treated as a separate object and will have a different
object number. At load time, each generation can be loaded to a different dataset.
When a GDG base is extracted, all generations are processed together and will be assigned a single
object number. At load time all the generations are part of the same object.
File-AID/RDX does not support extracting from and loading to tape datasets.
• specify that File-AID/RDX create a COBOL Record Layout File during the extract (see also Create
layouts on page 344)
• do not select the compress option for the extract or decompress the file beforehand (see also
Compress on page 339)
• sort the extract file using sample JCL provided in the sample file
‘[Link](FAEXSORT)’
The single panel extract is intended to be used for extracts that don’t require customization of the
relationship information or extract methods. You just need to specify the driving object, the extract
file for the extract output, and the File-AID/RDX relationship file. Optionally, you may specify
selection criteria for the driving object. All other extract options will be applied as specified in your
current profile.
Then you simply enter the GO command and File-AID/RDX submits this extract job.
Extract requests submitted with the Single Panel Extract function will NOT
be saved permanently and, consequently, NOT be added to the Extract
Reference List (see also Extract Reference List on page 213).
The *Current Values* indicators to the right of certain extract option fields are display fields only
and are updated upon return from each of the extract options to reflect the current status and value
for the option.
SSID
Displays the current Db2 subsystem ID as specified in your profile. Type over this field to connect
to a new Db2 subsystem. If you leave the Location field blank, the table you specify to drive the
extract must exist in the Db2 subsystem displayed here.
Location
Specify the location ID of the table you want to drive the extract if it resides in a remote Db2
subsystem. The location you enter must be defined in the Db2 system catalog table,
[Link].
Leave this field blank if the table you want to drive the extract is in the Db2 subsystem in the
SSID field.
The Extract from Image Copy option is not available when extracting from
a remote location. (see also Extract from Image Copy on page 251).
206 File-AID/RDX Reference
Creator
Specify the authorization ID of the owner of the table, view, synonym, or alias that you want to
drive the extract process. You can enter a pattern in this field. Valid pattern characters are %, _,
and * (see Pattern Characters on page 27). If you specify a pattern, File-AID/RDX searches the Db2
catalog and displays matches in a Table List pop-up window.
Table Name
Specify the name of the table, view, alias, or synonym that you want to drive the extract process.
For more information about how File-AID/RDX supports view, aliases, and synonyms in Extract,
see Use of Db2 Views on page 208 and Use of Aliases and Synonyms on page 223. Also refer to
Relationship Listing Window for Db2 Objects on page 224 for more information on how File-
AID/RDX determines what relationship definition to use for the driving object.
You can enter a pattern in this field. Valid pattern characters are %, _, and * (see Pattern
Characters on page 27). If you specify a pattern, File-AID/RDX searches the Db2 catalog and
displays matches in a Table List pop-up window.
Current Values displays *Defined* if selection criteria has already been defined.
Enter No (default) if you don’t want to display the SELECT FROM Temporal Table screen.
The status *Defined* displays if a SELECT FROM Temporal Table statement has already been
defined, otherwise *None* displays.
If you want to extract data from temporal tables or views without a SELECT FROM Temporal
Table statement, make sure *None* displays. To change the status from *Defined* to *None*,
enter Yes in the SELECT FROM Temporal Table field, then set the Use System Time and Use
Business Time to No in the SELECT FROM Temporal Table screen (refer to Figure 129 on page
253).
1. When the *Defined* status displays and the extract request includes one or more
temporal tables or views, File-AID/RDX will include the SELECT FROM Temporal Table
statement even if the SELECT FROM Temporal Table field is set to N.
The SELECT FROM Temporal Table statement is only generated for each Temporal
Table or Temporal View in the extract request.
2. Whenever the selection is based on SYSTEM_TIME, it is possible that some rows come
from the base table and some from the history table.
3. The *Defined* status is saved for this extract.
4. The SELECT FROM Temporal Table field will be reset to its default (No, *None*) when
you exit the extract - DB2 Driving Object screen.
according to the disguise criteria defined in the Disguise Control file (DCF) or in the Dynamic
Privacy Rules Project (DPR). When you enter Y, File-AID/RDX will display the Data Privacy
Specification screen (refer to Figure 177 on page 341) so you can change the current setting.
Current Values displays *DCF*, *DPR*, or *None* for the selected disguise option.
If you leave this field blank, File-AID/RDX will perform a single table extract.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
EDIT (E)
Displays the JCL for this extract request. File-AID/RDX shows the Generated JCL panel where you
review and modify the extract JCL.
GO (G)
Submits this extract request. Before issuing the GO command, make sure you have completed all
the extract information. File-AID/RDX will also issue a message upon completion of the job.
MENU
Switches from this panel to the full Extract Menu. Only valid when profile setting Display Extract
Menu on page 62 is set to Y.
MVS (M)
Switches from this panel to the single panel Extract - MVS Driving Object prefilled with the
applicable information from your current profile. Refer to Extract - MVS Driving Object on page
210.
File-AID/RDX then extracts data from the view specified as the driving table/view and from all tables
and views related to the driving table/view.
Use this screen to specify the name of the MVS file for which you want to extract related data.
The *Current Values* indicators to the right of certain extract option fields are display fields only
and are updated upon return from each of the extract options to reflect the current status and value
for the option.
File
Specify the MVS file name of the object from which you want to extract related data. To view a
list of files, specify a pattern. Valid pattern character is * (see Pattern Characters on page 27). If
you specify a pattern, the “Catalog Utility File List” shown in Figure 121 on page 236 is
displayed.
If the specified file name is not found in the relationship file File-AID/RDX displays the
Relationship Listing Window - No Relationships on page 235 where you can decide whether to
continue with a single object extract or start a new extract request.
Member name
Specify the member of the record layout file that contains the layout information for the MVS
object. Leave blank or use a pattern to narrow the search.
XREF file
Only needed if layout usage is X. Specify the XREF file name for the MVS object from which you
want to extract related data. Valid pattern character is * (see Pattern Characters on page 27). If
you specify a pattern, select a file from the “Catalog Utility File List” as shown in Figure 121 on
page 236.
Member name
Specify the member of the XREF file that contains the layout information for the MVS object.
Leave blank or use a pattern to narrow the search, see also Figure 123 on page 238.
Current Values displays *Defined* if selection criteria has already been defined.
File name
Specify the name of the file to which data will be extracted. You must include the member name
(in parentheses) when the file is a PDS. See Extract File on page 44 and File-AID/RDX Extract File
on page 377 for more information. If you specify a pattern, select a sequential file from the
“Catalog Utility File List” (see Figure 121 on page 236) after you entered one of the primary
commands. Remember, File-AID/RDX will not prompt for a member.
Current Values displays *DCF*, *DPR*, or *None* for the selected disguise option.
File name
Specify the name of the file that contains the referential integrity and application relationship
information you want to use for the extract process. If you specify a pattern, select a file from the
“Catalog Utility File List” (see Figure 121 on page 236).
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
DB2 (D)
Switches from this panel to the single panel Extract - DB2 Driving Object prefilled with the
applicable information from the current profile. Refer to Extract - DB2 Driving Object on page
204.
EDIT (E)
Displays the JCL for this extract request. File-AID/RDX shows the Generated JCL panel where you
review and modify the extract JCL.
GO (G)
Submits this extract request. Before issuing the GO command, make sure you have completed all
the extract information. File-AID/RDX will also issue a message upon completion of the job.
MENU
Switches from this panel to the full Extract Menu. Only valid when profile setting Display Extract
Menu on page 62 is set to Y.
Extract 213
• Select Option 2, Extract, from the File-AID/RDX Primary Option Menu and your profile set it as
the first extract panel;
or
• Enter the REFERENCE command on an “Extract Menu” panel
Use this screen to select an extract request from the list or start a new extract request. File-AID/RDX
adds an extract request to the list whenever a request is saved from the Extract Menu. Extract requests
that originate from the “Single Panel Extract” function are not saved to a request file and thus not
included in the Extract Reference List.
If your reference list is empty, File-AID/RDX will display the Request File Member List screen,
listing the members of the request file specified in your profile, or if none is in your profile,
display either the DB2 Driving Object or MVS Driving Object screen so you can create a
new extract request.
The reference list is stored in your personal USER profile. If your USER profile file
(‘[Link]’) does not exist, File-AID/RDX will create your USER profile
when you are saving an extract or load request.
You can also create a new extract request with the NEW command, or open a saved extract request
file with the REQUEST command. Use the REQUEST command to open extract criteria files created
with File-AID/RDX prior to Release 3.0.
Refer to Option G—Global User Defaults on page 82 for how to set the maximum number of list
entries for the reference list.
You may specify multiple line commands at a time. All line commands are processed before any
primary commands. When processing multiple commands File-AID/RDX displays a message like
“Processing line command 2 of 4” whenever it starts processing the next line command after the first.
The lower part of the screen displays a listing of your recently referenced extract requests. Use one of
the line commands to either resubmit one of the extract requests or model a new request after it.
Request
Name of the extract request (member name in the saved extract request file or extract criteria
file). A blank entry means the request was saved to a sequential file.
214 File-AID/RDX Reference
RT
Request Type. Identifies the extract request type:
EL
L
Locked Entry. Identifies whether the request is locked in the reference list or whether it is
allowed to roll off.
blank
Locked in reference list; entry will not roll off the list.
YY/MM/DD
Date when the extract request was last saved or executed. The list entries are ordered with the
most recent date placed on top of the list.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
G (Go)
Submits this extract request without any changes.
I (Info)
Displays the Request Details screen, which provides more comprehensive information about the
extract request. See Figure 102 for an example.
L (Lock)
Protects this entry from rolling off the extract reference list.
M (Modify)
Selects this extract request, displays the Modify Extract Request panel for you to change or
“clone” an existing extract request. See also Modify Extract Request on page 227.
S (Select)
Selects this extract request and displays the Extract Menu prefilled with all the information from
this request. See also Extract Menu on page 239.
If your profile specifies not to display the Extract Menu, File-AID/RDX will
submit the request immediately.
V (View JCL)
Displays the JCL for this extract request. File-AID/RDX shows the ISPF/PDF EDIT Screen—File-
AID/RDX-generated JCL panel (page 354) where you review and modify the extract JCL.
216 File-AID/RDX Reference
U (Unlock)
Does not protect this entry from rolling off the extract reference list.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
DETAIL (D)
Expands the one-line display for each request into a two-line display. The additional line shows
the request description. See Figure 103 for an example. Detail is a toggle switch so enter Detail
again to return to the original format.
FIND (F)
Searches the list for the specified string and scrolls the list to display the first matching entry at
the top of the displayed entries. Use RFind to repeat the search.
Find looks for matches in the request detail information for each list entry. When a match is
found and is not visible in the displayed row, use the I (info) line command to display the detail
information.
NEW (N)
Starts a new extract request based on your current profile. File-AID/RDX displays either the DB2
or MVS Driving Object screen as set in your profile (see Figure 99 or Figure 100).
You can also include one of the optional parameters, DB2 or MVS, to display the respective
Driving Object screen.
REQUEST (REQ)
Opens a saved extract request file. You also use the REQuest command to open extract criteria
files created with File-AID/RDX prior to Release 3.0. Refer to Figure 99 for more information.
Extract 217
File-AID/RDX opens the request file specified in your current profile or prompts for the file name
when none is in your profile.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 104 for an example. Size is a toggle switch, so enter Size again to return to the
original format.
• Select Option 2, Extract, from the File-AID/RDX Primary Option Menu and your profile set it as
the first extract panel;
or
• Enter the REQuest command in an extract panel
File-AID/RDX will also display the Request File Member List Screen, when
your profile lists the Extract Reference List as the first extract panel, but the
list is empty and your profile includes an extract request file.
This screen displays the member list of the specified request file or an extract criteria file created with
File-AID/RDX prior to Release 3.0. Use one of the line commands to select a member for your extract
request.
Request File
The request file name comes from your current profile. If your profile does not include a request
file, File-AID/RDX will prompt for one. Enter a new file name to change to a different saved
request file or extract criteria file and File-AID/RDX will display its member list.
Clear the field and File-AID/RDX displays the Extract Reference List (page 213).
The lower part of the screen displays a listing of the file’s members.
Member
Member name in the request file or extract criteria file. The member names are displayed in
alphabetical order.
Extract 219
Description
Text that was entered in the Description field when the extract request was created. If you left the
field blank, File-AID/RDX sets the description to the driving object type and name.
Changed
Date when the member was last saved.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
D (Delete)
Delete this member from the request file. Displays the Delete Confirmation window (Figure 106).
Delete Confirmation
COMMAND ===>
Request File ....: ‘[Link]’
Member to be Deleted: TESTA
ENTER to confirm delete
END to return to Request File Member List
G (Go)
Submits this extract request without any changes.
M (Modify)
Selects this extract request, displays the Modify Extract Request panel for you to change or
“clone” an existing extract request. See also Modify Extract Request on page 227.
R (Rename)
Rename the request member. The Rename Confirmation window (Figure 107) allows you to enter
a new name for the request file member.
220 File-AID/RDX Reference
Rename Confirmation
COMMAND ===>
Request File ....: ‘[Link]’
Member to be Renamed: TESTA
New Member name ===>
ENTER to confirm rename
END to return to Request File Member List
S (Select)
Selects this extract request and displays the Extract Menu prefilled with all the information from
this request. See also Extract Menu on page 239.
V (View JCL)
Displays the JCL for this extract request. File-AID/RDX shows the ISPF/PDF EDIT Screen—File-
AID/RDX-generated JCL panel (page 354) where you review and modify the extract JCL.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
FIND (F)
Searches the member list for the specified string and scrolls the list to display the first matching
entry at the top of the displayed entries. Use RFind to repeat the search.
NEW (N)
Starts a new extract request based on your current profile. File-AID/RDX displays either the DB2
or MVS Driving Object screen as set in your profile (see Figure 99 or Figure 100).
You can also include one of the optional parameters, DB2 or MVS, to display the respective
Driving Object screen.
REFERENCE (REF)
Displays your Extract Reference List panel. Refer to Figure 101 on page 213 for more information.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 108 for an example. Size is a toggle switch so enter Size again to return to the
original format.
Extract 221
When selecting such a request with the S or M line command, File-AID/RDX will convert the request
to the new Release 4.0 format. For example, File-AID/RDX will set the navigation and sampling
controls to approximate the old extract method (OPTIMUM, STANDARD, MOST, or DETAILED).
However, the extract results may differ as an exact conversion may not be possible.
Other new extract features will default to the values specified in the current profile or current session.
In the Extract Menu review the resulting conversion before submitting the extract request. Pay
particular attention to Sampling Controls like
• Sibling paths
• Indirect Dependent paths
• Many to many relationships
Sampling Controls have been moved from the Selection Criteria to the Extract Scope Object View and
Relationship Sampling Criteria panels.
When submitting a pre-Release 4.0 request directly for batch execution, for
example with the G (Go) or C (Change and Go) line command (page 214
or page 219), the request will be converted and executed using a temporary
request file.
222 File-AID/RDX Reference
After entering the information for the new Db2 driving object, press ENTER to proceed to the Extract
Menu.
SSID
Displays the current Db2 subsystem ID. Type over this field to connect to a new Db2 subsystem.
If you leave the Location field blank, the table you specify to drive the extract must exist in the
Db2 subsystem displayed here.
Location
Specify the location of the table you want to drive the extract if it resides in a remote Db2
subsystem. The location you enter must be defined in the Db2 system catalog table,
[Link].
Leave this field blank if the table you want to drive the extract is in the Db2 subsystem in the
SSID field.
The Extract from Image Copy option is not available when extracting from
a remote location (see also Extract from Image Copy on page 251).
Extract 223
Creator
Specify the authorization ID of the owner of the table, view, synonym, or alias that you want to
drive the extract process. You can enter a pattern in this field. Valid pattern characters are %, _,
and * (see Pattern Characters on page 27). If you specify a pattern, File-AID/RDX searches the Db2
catalog and displays matches in a Table List pop-up window.
Table Name
Specify the name of the table, view, alias, or synonym that you want to drive the extract process.
For more information about how File-AID/RDX supports views, aliases, and synonyms in Extract,
see Use of Db2 Views on page 208 and Use of Aliases and Synonyms on page 223.
You can enter a pattern in this field. Valid pattern characters are %, _, and * (see Pattern
Characters on page 27). If you specify a pattern, File-AID/RDX searches the Db2 catalog and
displays matches in a Table List pop-up window.
Relationship Information:
When you leave this relationship file field blank, File-AID/RDX will create a single object extract.
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
MVS (M)
Switches to the MVS Driving Object panel prefilled with the applicable information from your
profile. Refer to MVS Driving Object on page 233.
In the case of Db2 objects, the Relationship Listing window provides a list of objects that have
relationships defined in the File-AID/RDX relationship file. You can use the relationship definitions
from any given set of objects to extract data from another set of objects that contain the same kind of
data. When you select a relationship with a creator other than the creator specified for the driving
table, the relationships defined for the driving table may differ from those of the selected table. If
File-AID/RDX’s relationship validation routine cannot detect the proper relations in the Relationship
file it will issue a warning (see Check Extract Warning on page 285).
For example, you could use relationship definitions for the production subsystem to extract data
from a similarly related set of tables that reside on the acceptance subsystem as long as no
relationships have been defined for the driving table on the acceptance subsystem. Use this screen to
select the table for which there exists a relationship definition that you want to use to extract data
from a set of tables.
If File-AID/RDX finds a single table that matches both the table name and
creator, it bypasses the Relationship Listing window.
If there are more valid relationships than will fit in this window, you can scroll the list of
relationships up and down using standard scrolling commands. See Scrolling on page 31 for more
information.
The screen heading lines contain screen title, row indicator, COMMAND field, and scroll amount
input field.
CMD
Enter the S line command in this field to select the relationship definition to use in the Extract
process. The S line command selects the relationship definition of the selected object for the
driving object.
Object
Displays a list of objects that have relationship definitions in the relationship file that match the
value you specified in the Table Name field on the Driving Object - DB2 screen.
The creator of the table you specified to drive the extract is part of this list when RI and/or
application relationships have been defined for it in the relationship file.
SSID
Displays the subsystem ID of each table on the list.
No Relationships Exist
If File-AID/RDX does not find any tables that match the specified driving table, it displays a message
in the Relationship Listing window that indicates no relationships are defined in the relationship file
for the driving table. Press Enter to continue with a single table extract. Or, enter the END command
and specify a different relationship file, or different driving object. Or use Option 1, Relationships,
to load referential integrity relationships from the Db2 catalog or to generate AR relationships,
respectively.
SSID
Entered: Displays the subsystem ID of the specified driving table.
Match: Displays the subsystem ID of the matching table in the relationship file.
Location
Entered: Displays the remote location ID of the specified driving table.
Match: Displays the remote location ID of the matching table in the relationship file.
Creator
Entered: Displays the creator ID of the specified driving table.
Match: Displays the creator ID of the matching table in the relationship file.
Table
Entered: Displays the table name of the specified driving table.
Match: Displays the table name of the matching table in the relationship file.
1: Single table extract. The resulting extract will NOT extract any related data.
2: Partially matching relationship. The resulting extract will extract any related data as defined
for the matching table in the relationship file. Any related objects that are missing will be
excluded from the extract.
Or, enter the END command and specify a different relationship file, or different driving object. Or
use Option 1, Relationships, to load referential integrity relationships from the Db2 catalog or to
generate AR relationships, respectively.
Extract 227
Use this screen to modify or “clone” an existing extract request by changing the Db2 subsystem and
object names from which you want to extract related data from and apply the relationships and
criteria as specified in the selected extract request.
The “cloning” functionality allows you to create an extract request on one Db2 subsystem or MVS
environment and then easily modify it to run on a different subsystem or MVS environment which
has the same objects but with different names.
When you modify a saved extract request, File-AID/RDX displays the list of all object names in the
request, including all related and unrelated Db2 and MVS objects along with any supporting files.
Now you can specify new names for the listed objects defined in the extract request and save the
request with a new file name.
File-AID/RDX does not verify the modified object names until the “cloned”
request is executed as the intention is to allow the new request to be sent to
a remote system and the remote objects may currently not be available for
validation.
Disguise Considerations
If there is no Disguise Criteria defined for the modified object name, File-AID/RDX applies the
Disguise Criteria defined for the original object name. Of course, if there is Disguise Criteria defined
for the modified object name, File-AID/RDX will use that and not the criteria defined for the original
object.
Enter the information for the new Db2 subsystem, if your extract request includes Db2 objects,
specify whether you also want to modify the object names in your extract request, then press ENTER
to continue.
SSID
Displays the Db2 subsystem ID. Blank if no Db2 objects are included.
Location
Displays the remote location ID of the Db2 subsystem.
SSID
Prefilled with the Db2 subsystem ID of the original extract request. Type over this field to specify
a different Db2 subsystem for the modified request.
Location
Specify the remote location name of the Db2 subsystem. If you specify a different SSID from the
original request, you must also specify its remote location name here.
The Extract from Image Copy option is not available when extracting from
a remote location. (see also Extract from Image Copy on page 251).
Enter Y (Yes) to modify object names in the request. File-AID/RDX displays the Modify
Extract Request - Object Names panel (Figure 113) listing all object names you can modify for
the “cloned” request.
Enter N (No - default) if you do not want to modify object names in the request.
File-AID/RDX displays the list of all object names in the request, including all related and unrelated
Db2 and MVS objects along with any supporting files. Now you can specify new names for the listed
objects defined in the extract request. File-AID/RDX does not verify the modified object names until
the “cloned” request is executed. When you have modified all the object names you wanted
modified, enter the END command to save the “cloned” extract request.
SSID
Displays the Db2 subsystem ID. Blank if no Db2 objects are included.
Location
Displays the remote location ID of the Db2 subsystem.
Object Name
Lists all object names in the extract request file that you can modify. You can manually overtype
the old name with the new name or you can use the CHANGE primary command to make global
changes.
Object Type
Identifies the kind of object the object name represents in the extract request file. The list
includes all objects to be extracted as well as all supporting files.
Supporting files are all MVS files referenced within the request; this includes the following files
• Layouts
• XREF
• Input (External) Key File
• Output Key File
• Extract File
• Extract Request File
• Disguise Control File (DCF)
230 File-AID/RDX Reference
• Profile dataset
• Relationship File
• XREF and Layout datasets for generated layouts
• DBDLIBs
• IMS Extract JCL dataset
Line Command
The following File-AID/RDX-specific line command is valid on this screen:
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
CHANGE (C)
Change allows global changes to be made to the object names in the extract request file. When
entered, specify the values to change in the CHANGE Command Window - Modify Extract
Request. File-AID/RDX will change all matching strings in the listed object names.
When you enter the CHANGE command, File-AID/RDX displays the CHANGE Command
Window - Modify Extract Requestas shown in Figure 114.
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
END to process and return
Enter the Change ‘From string’ and the Change ‘To string’ values you want to change globally for
all objects. Then press END to execute the CHANGE command. File-AID/RDX will change all
matching strings in the listed object names.
From string
Enter the current From (old) string you want to change to the To (new) string in the object
name list.
Extract 231
To string
Enter the To (new) string you want to replace the From (old) string with in the specified
object name list.
DETAIL (D)
Expands the one-line display for each object name into a two-line display. The top line displays
the new object name while the indented additional line shows the original object name. See
Figure 115 for an example. Detail is a toggle switch so enter Detail again to return to the original
format.
FIND (F)
Displays the FIND COMMAND window where you enter the alphanumeric string you want to
search for. File-AID/RDX searches the list of object names for the first occurence of the specified
string and scrolls the list to display the first matching entry at the top of the displayed entries.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 104 for an example. Size is a toggle switch, so enter Size again to return to the
original format.
When you have modified all the object names you wanted modified, enter the END command to save
the “cloned” extract request.
Press Enter to process the file information. The saved request will also appear in your Extract
Reference List (see Extract Reference List on page 213).
The body of the Save Cloned Extract Request window consists of the following fields:
File Name
Specify the name of the file where you want to save the extract request. It is prefilled with the
new object name for the extract request file you specified in the Modify Extract Request - Object
Names screen. You can save the request to existing files. Existing files must conform to the format
outlined for the extract request file in File-AID/RDX Extract/Load/Delete Request File on page
368.
If you specify a new file, you must specify the following allocation parameters in the Create New
File screen (Figure 175 on page 334).
Member
If the file is partitioned, specify the name of the member to contain the extract criteria.
Description
Enter a short description of the extract criteria. This description is displayed in the Extract Menu
and the Extract Reference List. Using this description is a helpful way to document your extract
criteria.
Extract 233
SAVE Confirmation
When saving an Extract, Load, or delete request File-AID/RDX checks to see if the member already
exists. If the member already exists, the Save Confirmation window (Figure 118) displays:
Press Enter to confirm overwriting the existing file or member name. Press End to cancel the Save
request and return to the Save Extract Request panel where you can enter another file or member
name.
Use this screen to specify the name of the MVS file for which you want to extract related data. All
fields are prefilled with information from your current profile.
After entering or viewing the driving object information, press ENTER to proceed to the Extract
Menu.
234 File-AID/RDX Reference
File name
Specify the MVS file name of the object from which you want to extract related data. To view a
list of files, specify a pattern. Valid pattern character is * (see Pattern Characters on page 27). If
you specify a pattern, select a file from the “Catalog Utility File List” as shown in Figure 121 on
page 236.
If the file name is found in the relationship file, File-AID/RDX uses the layout information as
stored in the relationship file, not as entered in the Optional File Information fields.
If the MVS file is not in the relationship file, File-AID/RDX will ask you whether to continue with
a single object extract or restart your extract request (see Figure 120 on page 235).
Member name
Specify the member of the record layout file that contains the layout information for the MVS
object. Leave blank or use a pattern to narrow the search.
XREF file
Only needed if layout usage is X. Specify the XREF file name for the MVS object from which you
want to extract related data. Valid pattern character is * (see Pattern Characters on page 27). If
you specify a pattern, select a file from the “Catalog Utility File List” as shown in Figure 121 on
page 236.
Extract 235
Member name
Specify the member of the XREF file that contains the layout information for the MVS object.
Leave blank or use a pattern to narrow the search, see also Figure 123 on page 238.
Relationship Information:
When you leave this relationship file field blank, File-AID/RDX will create a single object extract.
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
DB2 (D)
Switches to the DB2 Driving Object panel prefilled with the applicable information from your
profile. Refer to DB2 Driving Object on page 222.
If you press ENTER for a single object extract, File-AID/RDX will use the optional file information you
specified on the MVS Driving Object panel.
Figure 121. MVS Catalog Utility File List (for Pattern FR*.ORDERTAB)
Field Descriptions
Dataset Name
File names that match the entered file name pattern.
Type
Catalog entry type. Types that may be displayed include: CLUSTER, DATA, INDEX, ALT INDEX,
PATH, NON-VSAM, GDG BASE, USER CTLG, ALIAS, and PAGESPACE.
Volume
Volume on which the file is stored. Multi-volume files are identified by the + (plus sign)
following the Volume field.
To display a nonselective member list, leave all member selection options blank on the PDS
Processing Options screen and press Enter.
Extract 237
Field Descriptions
The following list describes all PDS processing options that File-AID/RDX can present.
If the FROM member field is blank and a TO member is specified, File-AID/RDX selects the
members less than or equal to the TO member padded with high values.
If a FROM member field is specified and the TO member is blank, File-AID/RDX selects members
greater than or equal to the FROM member padded with low values.
Entering the same characters in the FROM and TO fields selects all members beginning with
those characters.
The endpoint userids (FROM and TO) can be complete or partial and are included in the member
list when found. Pattern characters are not allowed. As with member name range, the FROM field
is padded with low values and the TO field is padded with high values.
Members without PDS statistics, because they were not created (STATS OFF) or the statistics were
deleted, are not selected.
238 File-AID/RDX Reference
Creation date
Specify a creation date range to select a subset of members based on their creation date(s). This is
a PDS statistic that is stored in its directory.
The endpoint (FROM and TO) dates can be complete or partial and are included in the member
list when found. Leading zeros are required when specifying the year, month, and day.
If the FROM date field is blank and a TO date is specified, File-AID selects all members created on
or before the specified TO date.
If a FROM member date is specified and the TO date is blank, File-AID selects all members created
on or after the specified FROM date.
Entering the same dates in the FROM and TO fields selects members created only on that date.
The two-character year is assumed between 1960 and 2059. Partial creation dates are treated
positionally (YY/MM/DD) and are padded with default values.
For example, if you enter blanks the default FROM value becomes 60/01/01 and the TO value
becomes 59/12/31. If you enter 85, the defaults are 85/01/01 and 85/12/31. If you enter 85/09,
the defaults are 85/09/01 and 85/09/30.
Members without PDS statistics, because they were not created (STATS OFF) or the statistics were
deleted, are not selected.
Modification date
Specify a modification date range to select a subset of members based on the last modified
date(s). This is a PDS statistic that is stored in its directory. The last modified date is updated with
the current date each time a member is updated and saved.
See the description of the Creation date field for more information on specifying a modification
range. The specifications are identical.
Members without PDS statistics, because they were not created (STATS OFF) or the statistics were
deleted, are not selected.
Extract Criteria
File-AID/RDX enables you to control the scope and depth of the extract process by allowing you to
define extract criteria. Extract criteria includes information about
• navigation controls
• sampling controls
• selection criteria
Navigation controls apply to the list of relationships defined for the driving object. They determine
how File-AID/RDX chases the relationships and whether or not to extract direct dependents, parent
records, sibling or indirect dependents. The navigation controls can be set globally or individually.
You also can exclude objects or relationships manually from the extract to further define the scope of
the extract.
Sampling controls can limit the number of records to be extracted from each relationship or object,
specify the number of records to skip, or specify the maximum number of records to extract from all
objects. The controls also include cycle count and what action to take when the maximum counts
have been reached.
Selection criteria can be specified for any object in the extract. It consists of conditions that
individual columns or fields must meet. File-AID/RDX extracts only records that contain values that
meet these conditions. For complex extracts, you can define multiple selection criteria sets.
You can save extract criteria in an extract request file so you can use it at a later time. See
Extract/Load/Delete Request File on page 44 and File-AID/RDX Extract/Load/Delete Request File on
page 368 for more information about the Extract Request File.
When using an extract criteria file created with an earlier release of File-AID/RDX than Release
4.0, File-AID/RDX will set the navigation and sampling controls to approximate the extract
method (OPTIMUM, STANDARD, MOST, or DETAILED). However, the extract results may
differ as there are also differences in sampling controls. The option to extract records outside
the selection criteria to satisfy AR/RI relationships is no longer supported. Selection criteria is
now always enforced in a downward direction.
Extract Menu
After you selected an extract request from either the Extract Reference List or the Request File
Member List Screen or whenever you enter the MENU command within the extract option File-
AID/RDX displays the Extract Menu as shown in Figure 124.
You profile’s selected extract flow (see Panel Customization on page 62)
might not show the Extract Menu initially. Just issue the MENU command
to display it from any of the extract option panels.
The Extract Menu provides a quick overview of your current extract request and its status fields are
immediately updated upon return from its suboptions. This allows you to selectively access any of the
options or to submit the extract request when all extract criteria are to your liking.
After completing all extract specifications, simply select Option 14 - Submit JCL and File-AID/RDX
submits this extract job.
240 File-AID/RDX Reference
SSID
Displays the current Db2 subsystem ID you are connected to. Only displays when File-AID/RDX is
installed with the Db2 option and the current extract request includes one or more Db2 objects.
Description
Displays a short description for the current extract request. If you are modifying a previous
request it is prefilled. When creating a new request, File-AID/RDX fills this description field with
the name and object type of the driving object. Using this description is a helpful way to
document your extract criteria. To change the description select Option 12- Save Extract Request.
The Current Values column are display fields only and are updated upon return from each of the
extract menu options to reflect the current status and value for the option. A status of Attention is
displayed when the option requires further attention, before the extract request can be submitted.
1 - Driving Object
Displays either the DB2 Driving Object on page 222 or MVS Driving Object on page 233 panel
depending on the driving object’s object type. The MVS panel also includes layout and XREF
information.
Extract 241
Current Values shows the full name of driving object for this extract request.
Current Values shows the settings of the global navigation and the global Cycles sampling
controls. On the second line, Current Values displays how many of the driving object’s
relationships are active (included) for the extract, and that an extract from Db2 Image Copy has
been requested.
3 - Unrelated Objects
Displays the Unrelated Object Definition panel when unrelated objects have yet to be added for
the extract request or the Unrelated Object Specification panel when unrelated objects are
already part of the extract request.
Current Values displays None or the number of unrelated Db2 or MVS objects in the request.
Current Values displays None or the name of the Input Key file.
5 - Selection Criteria
Displays the Object Selection Criteria panel where you can specify selection criteria for any of the
objects included in the extract request.
Current Values displays None or Specified (but not) for Driving Object.
Current Values displays the message “There are no Output Key files defined” or “n of n Key Files”
or “n of n Key Files - Execute n IMS Extract”.
242 File-AID/RDX Reference
7 - Extract File
Specify the output file for your extract request on the Extract File Specification Screen. File-
AID/RDX will store all extracted records in this file.
8 - Data Privacy
Select the Data Privacy option in the Data Privacy Specification screen, if you also want the
extracted data disguised by applying the disguise criteria rules as defined in the DCF: Disguise
Control File or the DPR: Dynamic Privacy Rules Project.
Current Values displays None, the name of the DCF: Disguise Control File, or the DPR:
Dynamic Privacy Rules Project.
The DISGUISED indicator is displayed when data in the extract file is to be disguised.
9 - Supporting Files
Optionally, you can request in the Supporting File Specification screen that File-AID/RDX creates
a record layout file for all Db2 objects included in the extract, a File-AID/MVS XREF for the
extract file, and/or a Topaz Extract Visualizer file (also known as the File-AID/RDX Extract
Mainframe Trace file).
Current Values displays Layouts=n, Xref=n, Topaz Visualizer File=n, where n is either N or Y.
10- Checkpoint/Resumption
Specify whether you want to enable Checkpoint/Resumption for your extract request. With
Checkpoint/Resumption enabled you can stop and resume the extract after a specified extract
step number, a specified time interval, or a z/OS Operator command. When you select this
option, File-AID/RDX presents the Checkpoint/Resumption panel where you identify your
checkpoint options and datasets.
Use this functionality when you anticipate a long running extract that might not be completed
within your site’s constraints or when you want to tune highly complex extracts.
After you submit an extract request with Checkpoint/Resumption Enabled and the extract
completed up to the checkpoint, the extract is ready to be continued. When submitting the
extract request again, File-AID/RDX prompts you to continue the extract execution from the
checkpoint or cancel the resumption (see also Checkpoint/Resumption Confirmation Windows).
If you don’t resume the extract, the partial extract file is NOT USABLE as it lacks important trailer
records.
1. If the current value is set to Yes, but you no longer want your extract to continue with
load, simply type No over the Yes and press Enter. The current value will change to No
and will be display only again.
2. Option 11- Continue with Load is not available for interactive (online) extract execution
(see also MODE on page 244.)
3. Option 11- Continue with Load is not available when Option 10-
Checkpoint/Resumption has been enabled (see also 10- Checkpoint/Resumption.)
4. The ALL primary command does not select the Continue With Load option (see also
ALL on page 244.)
Current Values displays Request has not been saved or the name of the extract request file.
Make sure to save the request just before selecting Option 14 - Submit JCL in order to save
the request as it will be submitted. If you make changes to the extract request after saving
the request, the changes will not be saved in the request file, only in the temporary extract
criteria.
13 - View JCL
Select this option to view the JCL for this extract request. File-AID/RDX shows the ISPF/PDF EDIT
Screen—File-AID/RDX-generated JCL panel where you review and modify the extract JCL.
Current Values displays the status Unavailable when some required items for the extract request
are still missing or incomplete. Revisit some or all extract menu options and provide acceptable
extract criteria.
Option 13 - View JCL switches to Option “13 - View REXX” when the MODE primary
command has set the execute extract mode to (see Figure 125 on page 244). INTERACTIVE
(online) extract is a configuration option and is only available if specifically installed at your
site (see ALLOW_EXTRACTS_TO_RUN_ONLINE in the File-AID Advanced Configuration
Guide).
14 - Submit JCL
Submits the JCL for this extract request. Watch for the message that the job has been submitted
and later for the completion message.
244 File-AID/RDX Reference
Current Values displays the status Unavailable when some required items for the extract request
are still missing or incomplete. Revisit some or all extract menu options and provide acceptable
extract criteria.
Option 14 - Submit JCL switches to Option “14 - Execute REXX” when the MODE primary
command has set the execute extract mode to INTERACTIVE (see Figure 125 on page 244).
INTERACTIVE (online) extract is a configuration option and is only available if specifically
installed at your site (see ALLOW_EXTRACTS_TO_RUN_ONLINE in the File-AID Advanced
Configuration Guide).
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
ALL
Selects all available extract menu options for you to step through in sequence. ALL does not
include options 11- Continue with Load and 14 - Submit JCL. To submit the extract JCL, select
option 14 - Submit JCL separately or enter the SUBMIT command in the View JCL panel.
MODE
Enter the MODE command in the Command field to enable execution of the extract request
interactively (online). Extract Menu options 13 - View JCL and 14 - Submit JCL will change to “12
- View REXX” and “13 - Execute REXX” (see Figure 125) to show that the extract will be executed
interactively when selecting Option “13 - Execute Rexx”. MODE acts as a toggle switch.
REFERENCE (REF)
Returns to your Extract Reference List (page 213) to start a new extract request.
Extract 245
REQUEST (REQ)
Returns to a saved extract request file. You also use the REQUEST command to open extract
criteria files created with File-AID/RDX prior to Release 3.0. Refer to Request File Member List on
page 218 for more information.
Make sure to save the request just before selecting Option 12- Save Extract
Request in order to save the request as it will be submitted. If you make
changes to the extract request after saving the request, the changes will not
be saved in the request file, only in the temporary extract criteria.
Use this screen to view the driving object for the current extract request.
After viewing the driving object information, press END to return to the Extract Menu.
SSID
Displays the Db2 subsystem ID for the extract.
Location
Displays the location of the table you want to drive the extract.
Creator
Displays the authorization ID of the owner of the table, view, synonym, or alias that you want to
drive the extract process.
246 File-AID/RDX Reference
Table Name
Displays the name of the table, view, alias, or synonym that you want to drive the extract
process.
Relationship File
Displays the name of the file that contains the referential integrity and application relationship
information used for the current extract request.
Use this screen to view the name of the MVS file for which you want to extract related data.
After viewing the driving object information, press END to return to the Extract Menu.
File name
Displays the MVS file name of the driving object from which you want to extract related data.
Member name
Displays the member of the record layout file that contains the layout information for the MVS
object.
Member name
Displays the member of the XREF file that contains the layout information for the MVS object.
Relationship File
Displays the name of the file that contains the application relationship information you want to
use for the extract process.
Extract Scope
The Extract Scope Screen shown in Figure 128 on page 248 is displayed when you select Option 2 -
Extract Scope and Detailed Extract Views from the Extract Menu.
If you are performing a single object extract (where there are no Db2-
defined RI or user-defined application relationships in the relationship file
that match the driving object), the Extract Navigation Criteria fields are not
accessible.
When your profile has navigation criteria Direct set to C or P (see also Direct on page 58), a message
displays alerting you that the relationship tree for this extract request has been built using the
profile’s navigation criteria. The resulting relationship listing may be different than that resulting
from navigation criteria Direct Y or N.
248 File-AID/RDX Reference
Use this screen to specify the way that File-AID/RDX chases the object relationships and what
sampling methods it applies during extract processing. This controls the amount of data that can be
extracted. Appendix , presents examples for the global extract navigation settings.
You specify how File-AID/RDX should navigate through the related objects with the Navigation
Criteria. You can set the navigation and sampling controls globally and then fine tune them
individually on an object or relationship basis. Your current profile determines the default settings.
Driving Object
Displays the name of the driving object from which you want to extract related data.
When your profile has navigation criteria Direct set to C or P (see also Direct
on page 58), all Extract Navigation Criteria fields are protected and cannot
be modified during the extract specification. The Description of the Direct
field will then also display the respective status, either ** Children only
or ** Direct Plus.
To specify the global navigation criteria, specify Yes or No for each of the four navigation
switches:
Direct
Extract all of the dependents of the driving object and their dependents.
Any object that is reached by navigating downward from the driving object is a direct
descendant so any relationship on this downward navigation has a valid direct descendant
Extract 249
path. Only the rows initially selected from the driving object will be sent down this path so
the direct descendant path will be navigated only once.
Extract the dependents of the driving object and their dependents (default).
Do NOT extract the dependents of the driving object and their dependents.
(All Children only) This option can only be set or changed in the profile (see Direct on
page 58). Extract the dependents of the driving object and all of their dependents only.
This option ignores all other Navigational Control Options (DPSI) settings and cannot
be modified during the extract specification.
Using the C method to extract data and only its dependent data can lead to extracted
data that is not loadable because of referential integrity issues due to the omitted related
parent data. This can be useful for extracting specific data that is then used for a purge
procedure.
(Plus) This option can only be set or changed in the profile (see Direct on page 58).
Extract all of the direct relationships of the driving object, i.e. all of its parents and first
level dependents only. "Plus" means resolve all objects’ parents until there are no more
parents to return. This option ignores all other Navigational Control Options (DPSI)
settings and cannot be modified during the extract specification.
The C and P settings for Direct can only be set in the profile. The profile
settings are used to build the relationship tree with its related objects when
starting an extract specification.
Parents
Extract the parents of all extracted data to maintain the integrity of the extracted data.
Any object that is on the upward navigation from a selected object has a valid parent path.
This does not mean that every relationship has a valid parent path; navigation has to be
possible in an upward direction for the parent path to be valid.
Siblings
Extract other dependents of the extracted parents from the same relationships.
Parent paths are always paired with sibling paths. Whenever a row is sent up the parent path
it is possible to come back down the same relationship to get the sibling rows.
Consider a relationship between ORDER and CUSTOMER where a row has been selected from
ORDER. The CUSTOMER for that order will be extracted by navigating the parent path. The
sibling path would allow all of the rest of the orders for that same customer to be extracted.
A many to many application relationship presents a spec