FARDX Reference
FARDX Reference
Reference
Release 17.02
2 File-AID/RDX Reference
https://go.compuware.com/
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 - SYSIBM.SYSTABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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, and.Option 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
https://support.compuware.com in the following electronic formats:
• View PDF files with the free Adobe Reader, available at http://www.adobe.com.
• 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 3.Max 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-
MM-DD-HH.MM.SS.NNNNNN
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-
HH.MM.SS.NNNNNN
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, FRSAMP.EXTRACT
to FRSAMP.EXTRACK. 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:
prefix.RDXA.DnnnBnnn.Dyymmdd.Thhmmss.Msss
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: https://go.compuware.com.
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 userid.mlq.PROFILE, 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 FDM.userid.RDX.PROFILE.
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 FDM.userid.RDX.PROFILE
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,
SYSIBM.LOCATIONS.
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,
SYSIBM.LOCATIONS.
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:
userid.prefix.XXXXXXXX.Dnnnnnn.Tnnnnnn.suffix
where the 3rd level dataset name qualifier XXXXXXXX is a constant indicating the type of the temporary
file, for example, SPLIT001 or CKSRTOUT.
userid.prefix.XXXXXXX.Dnnnnnn.Tnnnnnn.suffix
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
userid.prefix. 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. GDG.PAYMENTS.QUARTER(0) to GDG.PAYMENTS.MONTH(0)
2. GDG.PAYMENTS.QUARTER(0) to GDG.PAYMENTS.MONTH(-1)
3. GDG.PAYMENTS.QUARTER(0) to GDG.PAYMENTS.MONTH(-2)
When specifying the GDG base in a relationship, for example GDG.PAYMENTS.MONTH, 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 - SYSIBM.SYSTABLES
4
DB2 Object List
5
Table List - SYSIBM.SYSTABLES
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 Creator.Table 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 - SYSIBM.SYSTABLES 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 relationship.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.
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-'TSOID01.FARDX2.SAMP. 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.
FARDX2.SAMP.ZIPCODE' and one group displayed for DB2-PART_TABLE.
• The object you specified on the Browse Specifications screens is highlighted. In Figure 35, MVS-
'TSOID01.FARDX2.SAMP.CREDIT' 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-
'TSOID01.FARDX2.SAMP.ZIPCODE' is a parent of DB2-CUSTOMER_TABLE. DB2-
CUSTOMER_TABLE itself is a parent of MVS-'TSOID01.FARDX2.SAMP.CREDIT' 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, SYSIBM.SYSRELS (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 location.creator.table.
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
location.creator.table.
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 location.creator.table.
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 location.creator.table.
Description
A description of the selected relationship.
RI The RELNAME from the Db2 catalog table, SYSIBM.SYSRELS (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
location.creator.table.
Dependent
Displays the full name of the dependent object preceded by the object type. For example,
DB2-location.creator.table.
MVS-hlq.dataset(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, SYSIBM.SYSCOLS.
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 location.creator.object
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 P.CUSTOMER relationship definition, if more than one relationship definition exists
for the Table Name value (CUSTOMER).
200 File-AID/RDX Reference
3. specify the P.CUSTOMER to P.ORDER 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
‘hlq.CPWR.MXVJ170.SXVJSAMP(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,
SYSIBM.LOCATIONS.
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
(‘userid.midlevlqualifier.PROFILE’) 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 ....: ‘TSOID01.FRSAMP.EXTCRIT’
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 ....: ‘TSOID01.FRSAMP.EXTCRIT’
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,
SYSIBM.LOCATIONS.
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 special case where it is possible to have a
parent and sibling path defined for a relationship that does not meet the parent criteria
specified above. Every many to many relationship has a parent and sibling path.
250 File-AID/RDX Reference
Indirect
Extract other dependents of the extracted parents from other relationships.
The indirect descendant path includes two different situations. First, it is the downward
navigation from any object reached in an upward direction.
Second, it is downward navigation from the driving object and its direct descendents for all
rows other than the original selection from the driving object. For an indirect descendant
path to be valid on the same relationship as a direct descendant path there has to be a parent
path that leads back to the driving object or one of its parents; in effect, another path to the
object.
The indirect descendant paths represent downward navigation for objects reached via the
parent path. The downward navigation for the relationship that was navigated via the parent
path is a sibling path and is not an indirect descendant path. All the other relationships that
lead down from an object are valid indirect descendant paths.
This is not to say that a relationship can't have both a sibling path and an indirect
descendant path; this is possible when there are multiple parent paths leading to the same
object. If the object is on the direct descendant path it is possible to have all three downward
navigation paths marked as valid.
The status (Modified) identifies global settings that have been modified
individually with the navigation controls of the Relationship Navigation
Criteria screen or by the Accept primary or line command of the Check
Extract Warning screen.
Object displays the Extract Scope - Object View panel, listing all objects related to the driving
object from which to extract data. See Extract Scope - Object View on page 256 for more
information.
Relationship displays the Relationship Criteria panel, listing all the relationships associated
with the driving object from which to extract data. See Relationship Criteria on page 265 for
more information.
The Relationship View options are not accessible for a single object extract.
Extract Options
Use these fields to limit the number of records to be extracted in this request. These options also
apply to all unrelated objects included in the extract.
Extract 251
Cycle Count
Specify the maximum number of cycles for all relationships leading from the object. Cycle count
limits the number of times an object can be visited during an extract. This global setting for the
Cycle Count can be modified for each individual relationship (see Cycle on page 274).
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).
File-AID/RDX will extract related data from the most recent, full Db2 Image Copy(s) for the
applicable tablespace(s). For partitioned tablespaces, File-AID/RDX will only extract from an
image copy dataset that includes all partitions.
252 File-AID/RDX Reference
An image copy dataset must exist and be in the MVS catalog for each Db2 table in the extract
request or the extract will terminate.
You must have one of the following authorization privileges to extract data from Db2 Image
Copy:
The Extract from Image Copy option requires executing File-AID/RDX from
an authorized library. Furthermore, the Extract from Image Copy option is
not available:
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 No.
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 with the extract request.
4. The SELECT FROM Temporal Table field will be reset to its default (No, *None*) when
you exit the extract menu. It will be set to *Defined* when when you return the
extract menu with an extract request that includes the *Defined* status.
Relationships Active
Displays how many relationships will be used to extract data from the related objects.
A temporal table records the period of time when a row is valid. Db2 supports two types of periods,
the application period (BUSINESS_TIME) and the system period (SYSTEM_TIME).
System Period
The system period consists of a pair of columns with system-maintained values that indicate the
period of time when a row is valid. The system period is meaningful because you can define system-
period data versioning on a table that has this period. System-period data versioning specifies that
old rows are archived into another table. The table that contains the current active rows of a table is
called the system-period temporal table. The table that contains the archived rows is called the
history table (Table Type=H). You can delete the rows from the history table when those rows are no
longer needed, if you have the proper authorization.
254 File-AID/RDX Reference
When you define a base table to use system-period data versioning, or when you define system-period
data versioning on an existing table, you must create a history table, specify a name for the history
table, and create a tablespace to hold that table. You define system-period data versioning by issuing
the ALTER TABLE ADD VERSIONING statement with the USE HISTORY TABLE clause.
A business (application) period consists of a pair of columns with application-maintained values that
indicate the period of time when a row is valid. A table with only a business period is called an
application-period temporal table.
Bitemporal Table
A bitemporal table is both a system-period temporal table and an application-period temporal table.
You can use a bitemporal table to keep application period information and system-based historical
information. Therefore, you have a lot of flexibility in how you query data based on periods of time.
For each System Time and Business Time, specify the time period to be used to select rows from a
temporal table.
Time period
Select the period method you want to specify for System Time:
AS OF creates the AS OF ... period statement to select valid rows as of a certain point in time.
This option requires you to also specify a value for Date/Timestamp 1. Example statement:
FROM creates the FROM ... TO ... period statement to select valid rows from a certain time to
a certain time. FROM is inclusive, TO is exclusive. That means, the specified start time is
included in the period but the specified end time is not. This option requires you to also
specify a value for Timestamp 1 (start time) and Timestamp 2 (end time). Example statement:
BETWEEN creates the BETWEEN ... AND ... period statement to select valid rows from a
certain time to a certain time. BETWEEN and AND are inclusive. That means, that both the
specified start time and end time are included in the period. This option requires you to also
specify a value for Timestamp 1 (start time) and Timestamp 2 (end time). Example statement:
Timestamp 1
specify the corresponding start timestamp for the selected system time period.
Extract 255
Timestamp 2
specify the corresponding end timestamp for the selected system time period. Only required for
FROM and BETWEEN periods.
Time period
Select the period method you want to specify for Business Time:
AS OF creates the AS OF ... period statement to select valid rows as of a certain point in time.
This option requires you to also specify a value for Date/Timestamp 1. Example statement:
FROM creates the FROM ... TO ... period statement to select valid rows from a certain time to
a certain time. FROM is inclusive, TO is exclusive. That means, the specified start time is
included in the period but the specified end time is not. This option requires you to also
specify a value for Date/Timestamp 1 (start time) and Date/Timestamp 2 (end time). Example
statement:
BETWEEN creates the BETWEEN ... AND ... period statement to select valid rows from a
certain time to a certain time. BETWEEN and AND are inclusive. That means, that both the
specified start time and end time are included in the period. This option requires you to also
specify a value for Date/Timestamp 1 (start time) and Date/Timestamp 2 (end time). Example
statement:
Date/Timestamp 1
specify the corresponding start date/time for the selected business time period.
Date/Timestamp 2
specify the corresponding end date/time for the selected business time period. Only required
for FROM and BETWEEN periods.
If the arguments for business Date/Timestamp 1/2 include only date information, the time
information in the result value is all zeros. This means that date value of '2000-10-31' will
result in a TIMESTAMP of '2000-10-31-00.00.00'. This could result in different rows being
returned than if a user entered '2000-10-31-23.59.59'.
256 File-AID/RDX Reference
Use this screen to specify which, if any, objects to exclude from the extract process and the maximum
number of rows/records that you want extracted from each object. In addition, you can request to
view the relationships for a specific object.
This screen displays a list of all the objects in alphabetical order that are part of the extract request,
including all objects related to the driving object based on the relationships defined in the
relationship file as well as all unrelated objects.
Initially, all objects are displayed. Use the HIDE command to display only select object types.
If there are more objects on this list than will fit on this screen, you can scroll the list up and down
using standard scrolling commands. See Scrolling on page 31 for more information about scrolling.
– the driving object for which these related objects were retrieved
– the Db2 subsystem and remote location ID where all related Db2 objects reside
– a message indicating the hide/filter status of the display
CMD
Enter line commands in this column. See Line Commands on page 258 for information about
valid commands for this screen.
Object Name
Displays the name of the related or unrelated object included in the extract request. For Db2
objects, the creator.tablename is displayed here.
Extract 257
Sampling Criteria
Displays the status of the three sampling criteria for each object. You can change each individual
setting simply by typing over a new value or use the CHANGE primary command to globally
change the sampling criteria fields.
Cycle
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 the
extract regardless of the number of relationships.
Max Rows
Specify the maximum number of rows to extract via downward navigation (direct, indirect
and sibling) of this object. The Max Rows profile value applies to each relationship and each
object. The relationship Max Rows values is processed first; if the count does not exceed the
limit, the record is passed on to check against the object Max Rows value.
NTH
(n th record) Specify how many of the eligible records to be extracted should be skipped and
not be extract (a value of 3 would extract records 1 and 4).
L
Lock Table; indicates whether or not the Db2 object (table) will be locked during extract. Use the
L line command to change the lock status for an individual table.
The L column is only displayed when you have entered the FUNCTION
LOCK primary command. The FUNCTION LOCK primary command is only
valid if File-AID/RDX was configured at installation to allow locking tables
during extract.
Status
Displays one of the following messages:
Message Explanation
All This object will have all of its records extracted, and File-AID/RDX will not chase
any of its relationships. This status is the result of the A (All) line command
(page 258).
Excl Miss This object is excluded from the current extract process because the object
does not exist.
Excl Scope This object is excluded from the current extract process. This status is the result
of a navigation setting or cascading EXCLUDE or ALL command.
Excl User This object is excluded from the current extract process. This status is the result
of the EXCLUDE primary or line command.
Passthru This object will not have any of its records extracted, but File-AID/RDX will
chase all of its relationships. This status is the result of the L (Lock Table) on
page 258 line command.
Selected Indicates that this object has been selected for relationship view with the R line
command.
258 File-AID/RDX Reference
Message Explanation
Unrelated Indicates that this is an unrelated object that has been added with Option 3 -
Unrelated Objects, for this extract request.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
A (All)
Extract all data from this object regardless of the relationships from and to this object and do not
chase any relationships associated with this object. The A line command acts as a toggle switch:
enter it once to set the status, enter it again to remove it.
The A (All) and P (Passthru) line commands are mutually exclusive. You must
remove one before you can set the other.
L (Lock Table)
Indicate whether or not a Db2 table will be locked during extract. See also primary command
FUNCTION LOCK on page 262 that controls whether the L column displays and the L line
command is valid. The FUNCTION LOCK command is not available if File-AID/RDX was
configured at installation to prevent locking tables during extract. In this case, the L column will
not be displayed. The L line command acts as a toggle switch, enter it once and it will set the
status to Locked. Enter L a second time, and the Locked status is removed.
L locks a table while File-AID/RDX extracts rows from it. This prevents other users from accessing
and updating the table until the extract process is complete.
When you set the Db2 table status to Locked, File-AID/RDX issues the following SQL:
If you lock a table that resides in a segmented tablespace, only the table is locked. If you lock a
table that resides in a partitioned tablespace, all of the partitions are locked. If you lock a table
that resides in a simple tablespace, all tables in the tablespace are locked.
P (Passthru)
Don’t extract any data from this object, but process all relationships as if records based on the
relationship would have been extracted. The P line command acts as a toggle switch: enter it
once to set the status, enter it again to remove it.
The A (All) and P (Passthru) line commands are mutually exclusive. You must
remove one before you can set the other.
R (Relationship View)
Mark this object to be included in the Relationship View when the VIEW primary command is
entered.
Extract 259
U (Unexclude)
Selects a previously excluded object (using EXCLUDE primary or line command) to be included
in the extract. Remember, you cannot unexclude an excluded object when its link to the driving
object is through another, still excluded relationship. See also X (Exclude).
When the excluded status for an object has been set by a navigation control,
it can only be unexcluded with a navigation control, not with the Unexclude
line command.
X (Exclude)
Excludes an object from the extract.
When you exclude an object, other relationships or objects might also be excluded as a result. This
occurs when you exclude a relationship and either of the objects in the excluded relationship is a
parent or dependent in another relationship that cannot be linked back to the driving object in
any other way. For example, assume three relationships exist as shown below and ORDER_TABLE
is the driving object.
When the PART_TABLE object is excluded, the SUPPLIER_TABLE object will also be excluded as
well as the ORDER_LINE_TABLE to PART_TABLE relationship.
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 sampling criteria on a column-by-column basis.
When the CHANGE command is entered with one of the available parameters CYC=n,
MAXROW=n, or NTH=n, all values for the specified parameter are changed to the new value n.
When entered without parameters, specify the values to change in the CHANGE Command
Window - Object View Sampling Criteria.
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
Act on the following fields: Primary command:
Cycle ===> N ( Y = Yes, N = No) Change CYCle=n
MaxRow ===> N Change MAXROW=n
Nth ===> N Change NTH=n
Lock ===> N Change Lock=Y/N
END to process and return
***NOTE: Change will be applied to all qualified objects,
even those that are excluded or hidden.
Enter the Change ‘From string’ and the Change ‘To string’ values and select the sampling criteria
types you want to change globally for all objects. Then press END to execute the CHANGE
command.
From string
Enter the current From (old) string you want to change to the To (new) string in the sampling
criteria.
To string
Enter the To (new) string you want to replace the From (old) string with in the specified
sampling criteria.
Cycle
Enter Y to apply the change to all matching Cycle values. Enter N if the change is not to be
applied to the Cycle sampling criteria.
MaxRow
Enter Y to apply the change to all matching MaxRow values. Enter N if the change is not to
be applied to the MaxRow sampling criteria.
Nth
Enter Y to apply the change to all matching Nth values. Enter N if the change is not to be
applied to the Nth sampling criteria.
Lock
Enter Y to apply the change to all matching Lock values. Enter N if the change is not to be
applied to the Lock Db2 Table column.
Lock is only displayed when you have entered the FUNCTION LOCK primary
command. The FUNCTION LOCK primary command is only valid if File-
AID/RDX was configured at installation to allow locking tables during
extract.
Extract 261
CHECK (CHE)
Use the CHECK command to verify the extract paths after you made navigation changes. When
the path integrity validation processing is complete, the results are displayed in the Check
Extract Warning screen (Figure 148 on page 285) where you can resolve or ignore the findings.
File-AID/RDX executes the CHECK command whenever it returns from the Extract Scope Detail
View panels.
CHECK is not valid when when the extract request is built with relationships
in the Direct Plus or All Children Only mode (see Direct on page 248).
EXCLUDE (EX or X)
The EXCLUDE command allows to exclude all objects or all objects of a specified object type to
be excluded from the extract. EXCLUDE without parameter displays the Exclude Command
Window (see Figure 132).
Use this command in conjunction with the U (Unexclude) line command or UNEXCLUDE
primary command when you have a long list of relationships displayed and you want to include
only a few relationships in the extract.
Enter the EXCLUDE ALL command to exclude all objects in the list displayed on the Extract
Scope - Object View screen from the extract.
The other parameters DB2 and MVS limit the EXCLUDE command to one of the two object types.
File-AID/RDX -------------- Exclude Command -------------------
Command ===>
Object Types to Exclude:
DB2 objects ===> N ( Y = Yes, N = No EXclude DB2
MVS objects ===> N E = Exclude and hide) EXclude MVS
END to process and return
Select the object types to exclude, then press END to exit the window.
DB2 objects
Enter Y to exclude all Db2 objects/relationships. Enter E to exclude and hide all Db2
objects/relationships. Enter N if you don’t want to exclude all Db2 objects/relationships from
the extract. N does not unexclude excluded objects, use the UNEXCLUDE primary or line
command.
MVS objects
262 File-AID/RDX Reference
Enter Y to exclude all MVS objects/relationships. Enter E to exclude and hide all MVS
objects/relationships. Enter N if you don’t want to exclude all MVS objects/relationships
from the extract. N does not unexclude excluded objects, use the UNEXCLUDE primary or
line command.
FIND (F)
Searches the object 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.
FUNCTION LOCK
Enables the “Lock Table during Extract” function for all Db2 objects. The Extract Scope - Object
View panel will display and enable the L line command and display the L status column. See also
L (Lock Table) on page 258. FUNCTION LOCK is a toggle switch so enter FUNCTION LOCK again
to return to the original format.
HIDE (H)
The HIDE command allows less data to be displayed. Included or excluded objects can be hidden
from the display so that the remaining content is more meaningful. Use the RESET command to
return all hidden objects to the display.
File-AID/RDX --------------- HIDE COMMAND --------------------
Command ===>
Object Status to Hide: Primary Command:
Included ===> N Hide INclude
Excluded ===> N Hide EXclude
END to process and return
Select the object status types to hide or redisplay, then press END to exit the window.
Included
Enter Y to hide all objects/relationships that are included in the extract. Enter N to display all
objects/relationships that are included in the extract.
Excluded
Extract 263
Enter Y to hide all objects/relationships that are excluded from the extract. Enter N to display
all objects/relationships that are excluded from the extract.
NAVIGATION (NAV)
The NAVIGATION command takes you directly to the Relationship Navigation Criteria screen
(see Figure 142 on page 277).
REPORT (REP)
Prints the logical contents of the display. This report includes all of the displayable lines
formatted like the current view.
RESET (RES)
Use the RESET command to return all hidden objects to the display.
SAMPLE (SAM)
The SAMPLE command takes you directly to the Relationship Sampling Criteria screen (see Figure
140 on page 273).
SIZE (SI)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. SIze is a toggle switch so enter SIze again to return to the original display format.
STATUS (STAT)
The STATUS command takes you directly to the Relationship Criteria screen (see Figure 135 on
page 265).
UNEXCLUDE (U)
The UNEXCLUDE command allows you to unexclude all objects or all objects of a specified
object type to be included in the extract. UNEXCLUDE without parameter displays the
Unexclude Command Window (see Figure 134).
Use this command in conjunction with the X (eXclude) line command or EXCLUDE primary
command when you have a long list of objects displayed and you want to reverse a previous
EXCLUDE command to include objects in the extract again.
Enter the UNEXCLUDE ALL command to undo a previous EXCLUDE command for all objects in
the list displayed on the Extract Scope - Object View screen from the extract.
The optional parameters DB2 and MVS limit the UNEXCLUDE command to one of the two object
types.
File-AID/RDX -------------- Unexclude Command -------------------
Command ===>
Object Types to Unexclude:
DB2 objects ===> N ( Y = Yes, N = No ) UNEXclude DB2
MVS objects ===> N UNEXclude MVS
END to process and return
Select the object types to unexclude, then press END to exit the window.
DB2 objects
Enter Y to unexclude all Db2 objects. Enter N if you don’t want to unexclude all Db2 objects.
N does not exclude included objects, use the EXCLUDE primary or line command.
MVS objects
Enter Y to unexclude all MVS objects. Enter N if you don’t want to unexclude all MVS objects
from the extract. N does not exclude included objects, use the EXCLUDE primary or line
command.
VIEW (VI)
The VIEW command allows you to easily switch between the object and relationship views. The
optional parameters SAMPLE, STATUS (default) and NAVIGATION can be used to go directly to
the corresponding format of the relationship view. You can also enter these parameters as stand-
alone primary commands although they are not included on the primary command line for the
object view but will be processed if entered.
This screen displays a list of referential integrity (RI) and application (AR) relationships defined in the
relationship file for the driving object.
A sequence number allows positioning directly to a specific relationship and makes it easier to see the
panel changes when scrolling. The sequence number field is also the line command field.
The Relationship Name in the Status field for the dependent object makes it easier to tell the
difference between multiple relationships between the same objects.
Use this screen to specify which, if any, relationships to exclude from the extract process and how
many rows from dependent objects to extract from those relationships not excluded. In addition, you
can request information about a specific relationship.
If there are more relationships on this list than will fit on this screen, you can scroll the list up and
down using standard scrolling commands. See Scrolling on page 31 for more information about
scrolling.
Seq
The Sequence column displays the sequence number for the listed relationships for the current
extract request. Enter line commands in this column. See Line Commands on page 258 for
information about valid commands for this screen.
266 File-AID/RDX Reference
Status
Displays one of the following messages in the upper row:
Message Explanation
Excl All This relationship is excluded from the current extract process as one of the
related objects is marked to extract all of its records and not chase any of its
relationships. This status is the result of the A (All) line command (page 258)
on the Extract Scope - Object View screen.
Excl Miss This relationship is excluded from the current extract process because at least
one of the related objects does not exist.
Excl Scope This relationship, with navigation (DPSI) settings of “----”, is excluded as the
result of another relationship’s DPSI settings that make it impossible for the
extract to navigate to this relationship. Any changes you make to this
relationship directly have no affect on the extract. This includes changes to the
sampling criteria and the DPSI settings as well.
Inactive A relationship with one or more DPSI switches set to “N”. but none to “Y”, is
considered inactive, but still within the scope of the extract as its DPSI settings
can be changed.
Note that in Object View, an object is marked excluded when all of its
relationships are marked inactive.
Excl User This relationship is excluded from the current extract process. This status is the
result of the EXCLUDE primary or line command.
KEY Undef For this relationship you still need to define an Output Key file with Extract
Menu Option 6 - Output Key Files or exclude this relationship from the current
extract process, before you can continue.
KEY Def An output key file has been defined for this KEY relationship.
KEY Deleted The output key file definition for this KEY relationship has been deleted.
Relationship Name
The lower, second Status row for each relationship displays the relationship name (Db2 RI
RELNAME or the relationship description for application relationships).
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
I (Relationship Information)
Invokes the Relationship Information window. See Relationship Information Window on page
284 for information about the Relationship Information window.
Extract 267
U (Unexclude)
Selects a previously excluded relationship to be included in the extract. Remember, you cannot
undo an excluded relationship when its link to the driving object is through another, still
excluded relationship. See also X (Exclude).
When the excluded status for a relationship has been set by a navigation
control, it can only be undone with a navigation control, not with the
Unexclude line command.
X (Exclude)
Excludes a relationship from the extract. When you exclude a relationship, other relationships
might also be excluded as a result. This occurs when you exclude a relationship and either of the
objects in the excluded relationship is a parent or dependent in another relationship that cannot
be linked back to the driving object in any other way. For example, assume three relationships
exist as shown below and ORDER_TABLE is the driving object.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
CHECK (CHE)
Use the CHECK command to verify the extract paths after you made navigation changes. When
the path integrity validation processing is complete, the results are displayed in the Check
Extract Warning screen (Figure 148 on page 285) where you can resolve or ignore the findings.
File-AID/RDX executes the CHECK command whenever it returns from the Extract Scope Detail
View panels.
CHECK is not valid when when the extract request is built with relationships
in the Direct Plus or All Children Only mode (see Direct on page 248).
EXCLUDE (EX or X)
The EXCLUDE command allows to exclude all relationships or all relationships of a specified
object type to be excluded from the extract. EXCLUDE without parameter displays the Exclude
Command Window - Relationship View (see Figure 136).
Use this command in conjunction with the U (Unexclude) line command or UNEXCLUDE
primary command when you have a long list of relationships displayed and you want to include
only a few relationships in the extract.
Enter the EXCLUDE ALL command to exclude all relationships in the list displayed on the
Relationship Criteria screens from the extract.
268 File-AID/RDX Reference
The other parameters DB2, KEY, and MVS limit the EXCLUDE command to one of the three
object types.
File-AID/RDX -------------- EXclude Command -------------------
Command ===>
Relationships with object types to be excluded
DB2 objects ===> N ( Y = Yes, N = No EXclude DB2
MVS objects ===> N E = Exclude and hide) EXclude MVS
KEY files ===> N EXclude KEY
END to process and return
Select the object types to exclude, then press END to exit the window.
DB2 objects
Enter Y to exclude all relationships involving Db2 objects. Enter E to exclude and hide all
relationships involving Db2 objects. Enter N if you don’t want to exclude all relationships
involving Db2 objects from the extract. N does not unexclude excluded relationships, use the
UNEXCLUDE primary or line command.
MVS objects
Enter Y to exclude all relationships involving MVS objects. Enter E to exclude and hide all
relationships involving MVS objects. Enter N if you don’t want to exclude all relationships
involving MVS objects from the extract. N does not unexclude excluded relationships, use
the UNEXCLUDE primary or line command.
KEY files
Enter Y to exclude all relationships involving KEY files. Enter E to exclude and hide all
relationships involving KEY files. Enter N if you don’t want to exclude all relationships
involving KEY files from the extract. N does not unexclude excluded relationships, use the
UNEXCLUDE primary or line command.
FILTER (FIL)
The FILTER command restricts the relationships being displayed to the relationships for the
object(s) that contain the specified object name string. Any relationship where the specified
object is either a parent or a child will be displayed. The FILTER command can be issued to build
a display that contains the relationships for multiple objects by choosing the option to retain the
currently filtered list. For example, you could issue the FILTER command to display the
relationships for PROJ resulting in a display of only the PROJ relationships. Then issue FILTER
Extract 269
again, this time requesting the relationships for EMP and specifying to retain the currently
filtered list. The resulting display will contain all relationships for PROJ and EMP. This is the
same functionality available from the object view when the R line command is issued for
multiple objects prior to the VIEW command.
Filter Command
Command ===>
Display only the relationships where the object name
contains the following string:
Object Name Field ===>
Include Creator Name ===>
Retain Current Filtered List ===> N (Y = Yes, N = No)
END to process and return
Enter the name of the object for which to display all relationships.
File-AID/RDX will display all relationships for the object(s) that contain the specified object
name string.
Specify whether the displayed relationships for Db2 objects should also include the objects’
creator name.
Enter Y to add the specified object to the current list of displayed relationships. Enter N to
clear the current filtered list and display only the relationships for the specified object.
FIND (F)
Searches the list of displayed relationships 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.
GRAPHIC (GR)
Enter the GRAPHIC command to invoke the Graphical Relationship Display screen and show RI
and application relationships for the driving object. See Graphical Relationship Display on page
281 for more information on the Graphical Relationship Display screen. There are no operands
associated with this command.
270 File-AID/RDX Reference
HIDE (H)
The HIDE command allows less data to be displayed. With the parameters INcluded and
EXcluded you can hide relationships from the display so that the remaining content is more
meaningful. Hide without a parameter displays the Hide Command Window as shown in Figure
138. Use the RESET command to return all hidden objects to the display.
File-AID/RDX --------------- HIDE COMMAND --------------------
Command ===>
Object Status to Hide: Primary Command:
Included ===> N Hide INclude
Excluded ===> N Hide EXclude
END to process and return
Select the object status types to hide or redisplay, then press END to exit the window.
Included
Enter Y to hide all objects/relationships that are included in the extract. Enter N to display all
objects/relationships that are included in the extract.
Excluded
Enter Y to hide all objects/relationships that are excluded from the extract. Enter N to display
all objects/relationships that are excluded from the extract.
NAVIGATION (NAV)
The NAVIGATION command takes you directly to the NAVIGATION format of the relationship
view (see Figure 142 on page 277).
REPORT (REP)
Prints the logical contents of the display. This report includes all of the displayable lines
formatted like the current view.
RESET (RES)
Use the RESET command to return all hidden objects to the display.
SAMPLE (SAM)
The SAMPLE command takes you directly to the SAMPLE format of the relationship view.
Extract 271
SIZE (SI)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. Size is a toggle switch so enter Size again to return to the original format.
SORT (SO)
Sorts the displayed list of relationships by the specified sequence (column) name. Valid SORT
sequences are:
SEQ
(sequence number)
PAR
DEP
ST
(status)
DESC
(description)
STATUS (STAT)
The STATUS command switches the display to the Relationship Criteria view.
UNEXCLUDE (U)
The UNEXCLUDE command allows you to unexclude all relationships or all relationships of a
specified object type to be included in the extract. UNEXCLUDE without parameter displays the
Unexclude Command Window - Relationship View (see Figure 139).
Use this command in conjunction with the X (eXclude) line command or EXCLUDE primary
command when you have a long list of relationships displayed and you want to reverse a
previous EXCLUDE command to include objects in the extract again.
Enter the UNEXCLUDE ALL command to undo a previous EXCLUDE command for all objects in
the list displayed on the Relationship Criteria screens from the extract.
The optional parameters DB2, KEY, and MVS limit the UNEXCLUDE command to one of the three
object types.
File-AID/RDX -------------- Unexclude Command -------------------
Command ===>
Object Types to Unexclude:
DB2 objects ===> N ( Y = Yes, N = No ) UNEXclude DB2
MVS objects ===> N UNEXclude MVS
KEY files ===> N UNEXclude KEY
END to process and return
Select the object types to unexclude, then press END to exit the window.
DB2 objects
Enter Y to unexclude all relationships involving Db2 objects. Enter N if you don’t want to
unexclude all relationships involving Db2 objects. N does not exclude included relationships,
use the EXCLUDE primary or line command.
MVS objects
Enter Y to unexclude all relationships involving MVS objects. Enter N if you don’t want to
unexclude all relationships involving MVS objects from the extract. N does not exclude
included relationships, use the EXCLUDE primary or line command.
KEY files
Enter Y to unexclude all relationships involving KEY files. Enter N if you don’t want to
unexclude all relationships involving KEY files from the extract. N does not exclude included
relationships, use the EXCLUDE primary or line command.
VALIDATE (VAL)
The VALIDATE command validates all relationships in the current extract request against the
relationship file. The message “No changes” informs you that all relationships have been
successfully validated. If there are inconsistencies, the Update Saved Request Window reports the
validation results and gives you the opportunity to update the saved request or reload the request
as last saved. Refer to Update Saved Request Window on page 287 for more information.
VALIDATE corresponds to RDX Utilities Option 1, Update Saved Extract Requests, except that it
executes online and only on the current request.
VALIDATE is not valid when the extract request is built with relationships in
the Direct Plus or All Children Only mode (see Direct on page 248).
VIEW (VI)
The VIEW command allows you to easily switch between the object and relationship views. VIEW
without any parameter displays the Extract Scope - Object View screen. VIEW with one of the
Extract 273
parameters SAMPLE, STATUS and NAVIGATION displays the corresponding format of the
relationship view.
Use this screen to specify which, if any, relationships to exclude from the extract process and how
many rows from dependent objects to extract from those relationships not excluded. In addition, you
can request information about a specific relationship.
This screen displays a list of referential integrity (RI) and application (AR) relationships defined in the
relationship file for the driving object and the sampling criteria setting for each individual
relationship.
If there are more relationships on this list than will fit on this screen, you can scroll the list up and
down using standard scrolling commands. See Scrolling on page 31 for more information about
scrolling.
Seq
The SEQuence column displays the sequence number for the listed relationships for the current
extract request. Enter line commands in this column. See Line Commands on page 258 for
information about valid commands for this screen.
Sampling Criteria
Displays the status of the three sampling criteria settings for each relationship. Initially, the
sampling criteria are set globally as specified in your current extract profile. You can change each
individual setting simply by typing over a new value or use the CHANGE primary command to
globally change the sampling criteria fields.
Cycle
Specify the maximum number of cycles for each individual relationship. Cycle count limits
the number of times a relationship is visited during an extract.
Max Rows
Specify the maximum number of rows to extract via downward navigation (direct, indirect
and sibling) of this relationship. The Max Rows profile value applies to each relationship and
each object. The relationship Max Rows value is processed first; if the count does not exceed
the limit, the record is passed on to check against the object Max Rows value.
Dep
Status
Displays one of the following messages in the upper row:
Message Explanation
Excl All This relationship is excluded from the current extract process as one of the
related objects is marked to extract all of its records and not chase any of its
relationships. This status is the result of the A (All) line command (page 258)
on the Extract Scope - Object View screen.
Excl Miss This relationship is excluded from the current extract process because at least
one of the related objects does not exist.
Extract 275
Excl Scope This relationship, with navigation (DPSI) settings of “----”, is excluded as the
result of another relationship’s DPSI settings that make it impossible for the
extract to navigate to this relationship. Any changes you make to this
relationship directly have no affect on the extract. This includes changes to the
sampling criteria and the DPSI settings as well.
Inactive A relationship with one or more DPSI switches set to “N”. but none to “Y”, is
considered inactive, but still within the scope of the extract as its DPSI settings
can be changed.
Note that in Object View, an object is marked excluded when all of its
relationships are marked inactive.
Excl User This relationship is excluded from the current extract process. This status is the
result of the EXCLUDE primary or line command.
KEY Undef For this relationship you still need to define an output key file with Extract
Menu Option 6 - Output Key Files or exclude this relationship from the current
extract process, before you can continue.
KEY Def An output key file has been defined for this KEY relationship.
KEY Deleted The output key file definition for this KEY relationship has been deleted.
Relationship Name
The lower, second Status row for each relationship displays the relationship name (Db2 RI
RELNAME or the relationship description for application relationships).
Line Commands
See Line Commands on page 266 for the description of the available line commands.
Primary Commands
See Primary Commands on page 267 for the description of the available primary commands not listed
here.
CHANGE (C)
Change allows global changes to be made to the sampling criteria on a column-by-column basis.
When the CHANGE command is entered with one of the available parameters CYC=n,
MAXROW=n, or DEP=n, all values are changed to the new value n. When entered without
parameters, specify the values to change in the CHANGE Command Window - Relationship
Sampling Criteria.
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
Act on the following fields: Primary command:
Cycle ===> N ( Y = Yes, N = No) Change CYCle=n
MaxRow ===> N Change MAXROW=n
Dep ===> N Change DEP=n
END to process and return
***NOTE: Change will be applied to all qualified objects,
even those that are excluded or hidden.
Enter the Change ‘from string’ and the Change ‘to string’ values and select the sampling criteria
types you want to change globally for all relationships.
From string
Enter the current From (old) string you want to change to the To (new) string in the sampling
criteria.
To string
Enter the to (new) string you want to replace the from (old) string with in the specified
sampling criteria.
Cycle
Enter Y to apply the change to all matching Cycle values. Enter N if the change is not to be
applied to the Cycle sampling criteria.
MaxRow
Enter Y to apply the change to all matching MaxRow values. Enter N if the change is not to
be applied to the MaxRow sampling criteria.
DEP
Enter Y to apply the change to all matching Dependents-per-parent values. Enter N if the
change is not to be applied to the Dependents-per-parent sampling criteria.
Use this screen to specify which, if any, relationships to exclude from the extract process and how
many rows from dependent objects to extract from those relationships not excluded. In addition, you
can request information about a specific relationship.
This screen displays a list of referential integrity (RI) and application (AR) relationships defined in the
relationship file for the driving object and the navigation criteria setting for each individual
relationship.
If there are more relationships on this list than will fit on this screen, you can scroll the list up and
down using standard scrolling commands. See Scrolling on page 31 for more information about
scrolling.
Seq
Enter line commands in this sequence column. The sequence number represents File-AID/RDX
internal sequencing of the applicable relationships for the driving object. See Line Commands on
page 258 for information about valid commands 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 Seq input field).
278 File-AID/RDX Reference
/Dependent
Displays the name of the object defined as the dependent in a relationship in the lower row,
under its parent.
Navigation Criteria
Here you specify the Navigation Criteria on an individual relationship basis. Initially, they are set
as specified globally on the Extract Scope Screen and cascade through all relationships starting
with the driving object.
A dash (-) in one of the navigation settings indicates that it is not meaningful for this
relationship. You cannot change the dash unless the navigation setting of a higher relationship
changes it to a Y or N.
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.
To change a setting, type over the displayed value (Y or N) for each relationship:
Dir
(Direct) Y = Extract all of the dependents of the driving object and their dependents.
N = Don’t extract any of the dependents of the driving object and their dependents.
Par
(Parent) Y = Extract parents of all extracted data to maintain the integrity of the extracted
data.
Sib
(Sibling) Y = Extract other dependents of the extracted parents from the same relationships.
Ind
(Indirect) Y = Extract other dependents of the extracted parents from other relationships.
Status
Displays one of the following messages:
Message Explanation
Excl All This relationship is excluded from the current extract process as one of the
related objects is marked to extract all of its records and not chase any of its
relationships. This status is the result of the A (All) line command (page 258)
on the Extract Scope - Object View screen.
Excl Miss This relationship is excluded from the current extract process because at least
one of the related objects does not exist.
Extract 279
Message Explanation
Excl Scope This relationship, with navigation (DPSI) settings of “----”, is excluded as the
result of another relationship’s DPSI settings that make it impossible for the
extract to navigate to this relationship. Any changes you make to this
relationship directly have no affect on the extract. This includes changes to the
sampling criteria and the DPSI settings as well.
Inactive A relationship with one or more DPSI switches set to “N”, but none to “Y”, is
considered inactive, but still within the scope of the extract as its DPSI settings
can be changed.
Note that in Object View, an object is marked excluded when all of its
relationships are marked inactive.
Excl User This relationship is excluded from the current extract process. This status is the
result of the EXCLUDE primary or line command.
KEY Undef For this relationship you still need to define an output key file with Extract
Menu Option 6 - Output Key Files or exclude this relationship from the current
extract process, before you can continue.
KEY Def An output key file has been defined for this KEY relationship.
KEY Deleted The output key file definition for this KEY relationship has been deleted.
Relationship Name
The lower, second Status row for each relationship displays the relationship name (Db2 RI
RELNAME or the relationship description for application relationships).
Line Commands
See Line Commands on page 266 for the description of the available line commands.
Primary Commands
See Primary Commands on page 267 for the description of the available primary commands not listed
here.
CHANGE (C)
Change allows global changes to be made to the navigation criteria on a column-by-column
basis. When the CHANGE command is entered with one of the available parameters DIR=Y or
DIR=N, PAR=Y or PAR=N, SIB=Y or SIB=N, IND=Y or IND=N, the navigation values for all
relationships are changed accordingly. When entered without parameters, specify the navigation
controls to change in the CHANGE Command Window - Relationship Navigation Criteria.
File-AID/RDX -------------- CHANGE COMMAND ------------------------
Command ===>
Extract Navigation Criteria: Primary command:
Direct ===> Y ( Y = Yes, N = No) Change DIRect=Y/N
Parents ===> Y Change PARent=Y/N
Siblings ===> N Change SIBling=Y/N
Indirect ===> N Change InDirect=Y/N
END to process and return
***NOTE: Change will be applied to all qualified objects,
even those that are excluded or hidden.
Enter either Y or N for the Navigation criteria settings you want to change globally for all
relationships.
Direct
Y = Extract all of the dependents of the driving object and their dependents.
N = Don’t extract any of the dependents of the driving object and their dependents.
Parents
Y = Extract the parent records of all extracted data to maintain the integrity of the extracted
data.
Sibling
Y = Extract other dependents of the extracted parents from the same relationships.
Indirect
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.
This screen displays a graphical representation of the relationships in which the driving object is
involved. Read the Graphical Relationship Display as follows:
They are at the top of their groups, respectively. There is one group displayed for MVS-
'FARDX.V2R0M0.FRSAMP.ZIPCODE' and one group displayed for DB2-PART_TABLE
You can scroll up, down, left, and right to see information that does not fit on a single screen.
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 145. In
addition, you can enter the I line command to display the Relationship Information pop-up window.
See I (Relationship Information) on page 283 for more information about the I line command.
To select an option from the Option List, type an S in the CMD column next to an option and press
Enter.
In Figure 145 on page 282, for example, if the cursor was positioned on the occurrence of
ORDER_LINE_TABLE under 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 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.
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
Selecting this entry would position the occurrence of ORDER_LINE-TABLE under ORDER_TABLE
at the top of the display. If ORDER_LINE_TABLE had additional parents, there would be an entry
on the Option List for each parent.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen. Enter these commands
when the cursor is positioned next to a table name.
I (Relationship Information)
Displays the Relationship Information pop-up window. See Relationship Information Window on
page 284 for more information about the Relationship Information window.
284 File-AID/RDX Reference
U (Unexclude)
Selects previously excluded relationships to be included in the extract.
X (Exclude)
Excludes a relationship from the extract. When you exclude a relationship, other relationships
might also be excluded as a result. This occurs when you exclude a relationship and either of the
objects in the excluded relationship is a parent or dependent in another relationship that cannot
be linked back to the driving object in any other way. For example, assume three relationships
exist as shown below and ORDER_TABLE is the driving object.
Parent Dependent
ORDER_TABLE ORDER_LINE_TABLE
ORDER_LINE_TABLE PART_TABLE
PART_TABLE SUPPLIER_TABLE
When you select an RI relationship with a status message, the Relationship Information window is
displayed as shown in Figure 146.
When you select an AR relationship, the Relationship Information window is displayed as shown in
Figure 147.
Extract 285
Use the END primary command to return to the Relationship Criteria screen.
Review the findings and use the Accept and Ignore primary and line commands to ACCEPT or
IGNORE the suggestions.
Status
Displays one of the navigation status messages as described on page 278.
The lower, second Status row for each relationship displays the check extract path status:
Message Explanation
Parent path This relationship is required to ensure that extracted dependent records
required maintain relational integrity. If ignored, extracted orphan records might not be
loadable without their corresponding parent records.
Parent path
Because the excluded object is missing you cannot include it with the ACCEPT
required - Excl
line or primary command.
Miss
Relational error You marked this relationship with the IGNORE line or primary command and
ignored it will remain excluded for the extract.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
ACCEPT (A)
Accept all suggested relationships to be included in the extract. When you press Enter, you return
to the previous Extract Scope Detailed View screen where you entered the CHECK command or
the Extract Scope screen when you exited the “Extract Scope Detailed View” screens.
IGNORE (I)
Ignore all suggested relationships, they will not be included in the extract and their status
changes to “Relational error ignored”. You can still use the Accept Path line command to change
the status individually or enter the ACCEPT primary command.
VIEW (VI)
The VIEW command allows you to easily switch between the object and relationship views.
SAMPLE, STATUS and NAVIGATION can be used to go directly to the corresponding format of the
relationship view.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
A (Accept Path)
Accept an individual relationship to be included in the extract.
Extract 287
I (Ignore Path)
Ignore an individual relationship, it will not be included in the extract and its status changes to
“Relational error ignored”. You can still use the Accept Path line command to change the status
individually or enter the ACCEPT primary command.
Review the results of the validation and decide whether to update the extract request with the new
information from the relationship file and continue with the extract request or whether to cancel the
update and reload the request as you last saved it.
VALIDATE corresponds to RDX Utilities Option 1, Update Saved Extract Requests, except that it
executes online and only on a single request. Refer to Update Saved Extract Requests on page 692 for
more information on updating an extract request with current relationship information.
Primary Commands
The following File-AID/RDX-specific primary commands are valid in this window:
END
Updates and saves the extract request with the new information from the relationship file.
288 File-AID/RDX Reference
CANCEL
Cancels the update of the extract request and reloads the request as you last saved it.
When cancelling the update you lose all changes made to the request since
the last SAVE.
Use this screen to add an object, Db2 table or MVS file, to the set of objects to be extracted. Press
Enter to add an object to the list of unrelated objects and stay on this screen. Enter END after you
added all unrelated objects and the Unrelated Object Specification screen (Figure 152 on page 292)
will display the list of all the unrelated objects for this extract request.
The body of the Unrelated Object Definition screen consists of the following fields:
Object Type
Specify the object type of the unrelated object you want to include in the current extract set.
SSID
Enter the Db2 subsystem ID where the unrelated table to be extracted resides. This field is
prefilled and protected when other Db2 tables are already part of the extract set. All Db2 tables in
an extract must reside in the same subsystem.
As long as your extract request does not include Db2 objects the Db2 subsystem ID from your
current profile is prefilled, but the field is not protected.
Location
Enter the Db2 remote location ID where the unrelated table to be extracted resides. This field is
prefilled and protected when other Db2 tables are already part of the extract set. All Db2 tables in
an extract must reside in the same subsystem.
Creator
Specify the authorization ID of the owner of the Db2 table to be added to the extract set.
Table Name
Specify the name of the unrelated table or view you want to add to the extract set.
Enter an asterisk (*) or pattern in the Creator or Table Name fields to select
one or multiple Db2 objects from a list (see Add Unrelated DB2 Object).
File name
Specify the MVS file name of the unrelated object. To complete the specification of the MVS
object you must also specify its record layout information.
Member name
Specify the member of the record layout file that contains the layout information for the
unrelated MVS object. Leave blank or use a pattern to select a member from a list.
290 File-AID/RDX Reference
Member name
Specify the member of the XREF file that contains the layout information for the unrelated MVS
object. 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.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
END
If unrelated objects have been added, END displays the Unrelated Object Specification screen,
which lists all unrelated objects to be extracted. If none were added you would return to the
Extract Menu.
MENU
Returns to the Extract Menu.
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. See also Default SQLID on page 61.
Use this window to select the Db2 objects you want to include as unrelated objects.
Extract 291
After selecting all desired Db2 objects to be included in the unrelated object list, press END to
proceed to the Unrelated Object Specification. If you press END without selecting any objects, you
return to the Unrelated Object Definition panel.
Object Name
Identifies the names of the Db2 objects that match the specified object filter.
Line Commands
The following File-AID/RDX-specific line command is valid:
S (Select)
Selects and marks this object to be included in the unrelated object list. Blank out the S marker
for individual objects you don’t want included in the unrelated object list. Use in conjunction
with the ALL primary command to mark your selections.
Primary Commands
The following File-AID/RDX-specific primary commands are valid:
ALL
Selects and marks all objects listed in the preview to be included in the unrelated object list.
Blank out the S marker for individual objects you don’t want included in the unrelated object
list. Use in conjunction with the S line command to mark your selections.
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.
292 File-AID/RDX Reference
This screen lists all unrelated objects that are to be extracted with the current extract request. Here
you can use line commands to add objects or remove them from the list. Enter MENU or END to
return to the Extract Menu.
To add sampling criteria to unrelated objects, go to Extract Scope - Object View on page 256, to add
selection criteria, go to Object Selection Criteria on page 301.
CMD
Specify whether you want to
Object Name
Displays a list of the unrelated objects from which data is to be extracted.
Type
Displays the object type of the unrelated object.
Status
Displays the status of the objects to be extracted. If the status message indicates an error, you
must correct the error before proceeding with the extract.
Message Explanation
Added The unrelated object has been added to the extract set.
Object not found The object does not exist.
Removed The unrelated object has been marked as remove pending with the
R (Remove) line command and will not be extracted when you
END out of the panel. You can reverse the Removed status with the
U (Undo Remove) line command or the CANCEL primary
command.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
A (Add)
Adds an unrelated object to the extract set. When you enter the A line command, File-AID/RDX
displays the Unrelated Object Definition screen where you can specify either an MVS file or a
Db2 table, see Figure 150 on page 288.
M (Modify)
Use this command to change the record layout or XREF information for an MVS object. See
Figure 153.
R (Remove)
Removes the unrelated object from the extract set.
U (Undo Remove)
Reverses removing the unrelated object from the extract set.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
MENU
Switches from this panel to the full Extract Menu.
294 File-AID/RDX Reference
Use this screen to modify the record layout and/or XREF information for the selected MVS file.
After modifying or viewing the MVS object information, press END to return to the Unrelated Object
Specification screen.
File name
Displays the file name of the unrelated MVS file from which you want to extract data.
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.
Extract 295
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.
You can specify an Input Key File for either a Db2 or MVS driving object.
When an Input Key File is defined against an MVS object with an XREF, you
must select a single layout to use when extracting from the driving object.
The selected layout will be used for all records on the file; XREF processing
will not be invoked against the driving object.
If you are not using an Input Key File as input to the selection criteria for the driving object, simply
enter No (default) for the Extract Driven by Input Key File field and press END to return to the Extract
Menu.
296 File-AID/RDX Reference
If, however, you intend to use an Input Key File as input criteria for the driving object, you must
enter Yes for the Extract Driven by Input Key File field, enter the key file’s file name and specify the
key file’s format (standard Db2 or delimited). Then press Enter to continue.
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.
The Output Key files produced from the KEY relationships (see also Output Key Files on page 330) can
be used as Input (External) Key files within other File-AID/RDX extracts.
Some large extracts can be broken up an into multiple jobs so that independent legs of the related
objects can be extracted concurrently. The use of a KEY relationship provides a technique to
accomplish this.
One extract request can be defined to extract the higher level related objects and produce Output
Key files for each independent leg of the related set. Once that Extract has been run the Output
Key files can then be used an Input Keys files for other extracts.
You must ensure that the relationships in the subsequent extracts are really independent and do
not require additional rows to be extracted from objects in the original extract. Also, since the
Driving object for the subsequent extracts would be a dependent object from the first extract, the
DPSI switches (see Extract Navigation Criteria on page 248) for the parent path of these
relationships should be set to N.
When column lengths are unequal in a relationship, File-AID/RDX logic forces a tablespace scan
due to the unequal column lengths. For example, in a situation where the dependent value
always had trailing blanks and the parent value did not, KEY file generation could be used for this
relationship. Then, in the resulting Output Key file the parent value could be padded with blanks
and the Output Key file could be used as the Input Key file which would allow for an index scan
to be used.
The body of the Key File Specification screen consists of the following fields:
File Name
Specify the name of the file containing the keys you want to use as input criteria for the driving
object.
Member
If the file is partitioned, specify the name of the member that contains the key data.
Delimited
Specify whether the key file’s format is Standard Db2 (No, default) or Delimited (Yes). Yes will
continue with the Input Key File - Delimited screen as shown in Figure 156 on page 300. No will
continue with the Input Key File - Positional screen as shown in Figure 155 on page 298.
Review the delimited file format options currently set by File-AID/RDX. Compare them to the
actual delimited key file and modify the format options as needed.
Quotation Marks
Specify which quotation marks, single (’) or double (") are used in the key file. Enter a 1 for single
quotation mark. Enter a 2 for double quotation mark.
Column Delimiter
Specify which character is used as the column delimiter. The column delimiter marks the end of
the previous and the beginning of the next column. Any displayable character, including blank
character, is acceptable.
Enter the key information for the applicable column(s) and press END to exit this screen.
298 File-AID/RDX Reference
Column Name
Displays the names of the columns in the driving object.
Type(Length)
Displays the data type of each column in the driving object. See Table 13 on page 306 for more
information about Db2 data types.
Distinct (UDT), large object (CLOB, BLOB, or DBCLOB) and ROWID columns
are not eligible for key file selection.
Extract 299
Key-Position
Specify the starting position of the selection value in the key file that contains selection criteria
values for the corresponding column of the driving object.
Key-Length
Specify the length of the selection value in the key file that contains selection criteria values for
the corresponding column of the driving object. See Table 12 for the allowable lengths for each
key file format.
Key-Format
Enter the Key File Format Code that represents the non-delimited key file’s column type format.
The valid codes are listed in the upper section of the screen. They are
1 Display format.
2 Packed Decimal format.
3 Binary format. Valid only for Db2 INTEGER and
SMALL_INTEGER column types.
When key file options are entered, File-AID/RDX checks that format and length are compatible
with the Db2 column type and length.
Table 12 lists the maximum key file lengths allowed for each key file format and the
corresponding Db2 column type.
Enter the key field number for the applicable column(s) and press END to exit this screen.
300 File-AID/RDX Reference
Column Name
Displays the names of the columns in the driving object.
Type(Length)
Displays the data type of each column in the driving object. See Table 13 on page 306 for more
information about Db2 data types.
Distinct (UDT), large object (CLOB, BLOB, or DBCLOB) and ROWID columns
are not eligible for key file selection.
Extract 301
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
CANCEL (CAN)
Enter the CANCEL command to return to the Selection Criteria Specification screen without
saving any changes. There are no operands associated with this command.
END
Verifies the SQL syntax and returns you to the Selection Criteria Specification screen. There are
no operands associated with this command.
UDTSWAP (UDTS)
Swaps the display for distinct type columns from UDT name to the built-in data type and length
and vice versa. There are no operands associated with this command.
UDTTYPE (UDT)
Lists all distinct data types (UDTs) that are part of the extract. The list displays the schema, UDT
name, and the built-in data type and length. There are no operands associated with this
command.
This screen lists all objects that are part of the extract, including all unrelated objects specified with
Option 3 - Unrelated Objects in the Extract Menu and all excluded objects. If there are more objects
302 File-AID/RDX Reference
on this list than will fit on this screen, you can scroll the list up and down using standard scrolling
commands. See Scrolling on page 31 for more information about scrolling.
In addition to the screen title, the Command field, and the scroll amount input field, the top area of
the screen contains
SET 1 of 1
This message indicates which selection criteria set of the extract request you are currently
viewing, defining, or modifying. For example, set 1 of 6 means that the current set is set one out
of a total of 6 sets. To switch to another set, or insert, or delete a set, use one of the set primary
commands BACK, FORWARD, INSERT, REPEAT, or DELETE.
CMD
Specify whether you want to
Object Name
Displays a list of objects from which data is to be extracted. When you use existing extract
criteria with Db2 tables this column contains the creators associated with the tables listed in the
extract criteria file. Otherwise, this column contains the creator associated with the object
driving the extract.
Status
Displays the status of the objects to be extracted. The following messages are informational:
Message Explanation
Driving Indicates the object selected to drive the extract.
Driving with Indicates that selection criteria has been specified for the driving
Criteria Spec object.
Criteria Specified Indicates that selection criteria has been specified for the object.
Object Excluded The object has been excluded from the extract request.
All object Indicates a related object with status ALL.
All object with Indicates that selection criteria has been specified for the related
Criteria object with status ALL.
Unrelated Object Indicates an unrelated object that has been added with option 3 -
Unrelated Objects, for this extract request.
Unrelated with Indicates that selection criteria has been specified for the unrelated
Criteria object.
Extract 303
The following messages indicate errors. You must correct these errors before proceeding with the
extract.
Message Explanation
Col Mis xxxx The named column is part of the RI or application relationship, but
does not exist in the object you want to extract.
Object not found The object does not exist.
Col Len xxxx The column length for the specified column in the relationship file
or extract criteria file is not the same as in the table you want to
extract.
Col Typ xxxx The column type for the specified column in the relationship file or
extract criteria file is not the same as in the table you want to
extract.
Selection Criteria
The selection criteria specified does not match the object.
Invalid
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
D (Delete)
Deletes existing selection criteria for the specified object.
S (Select)
Use this command to create new selection criteria or update existing selection criteria.
– When the object is a Db2 table, S invokes the DB2 Object Selection Criteria screen (see Figure
158 on page 305).
– Invokes the MVS File Selection Criteria screen when specified for an MVS file (see Figure 162
on page 312).
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
BACK (BA)
Displays the previous selection criteria set in a criteria file (see also Object Selection Criteria on
page 301). There are no operands associated with this command.
DELETE
Deletes the current selection criteria set in a criteria file. Valid only on the Selection Criteria
Specification Screen when defining or modifying multiple selection criteria sets (see Object
Selection Criteria on page 301). There are no operands associated with this command.
END
Returns to the previous screen. Any newly specified selection criteria will not be saved. There are
no operands associated with this command.
304 File-AID/RDX Reference
FORWARD (FOR)
Displays the next selection criteria set in a criteria file. Valid only on the Selection Criteria
Specification Screen when defining or modifying multiple selection criteria sets (see Object
Selection Criteria on page 301). There are no operands associated with this command.
INSERT (INS)
Inserts a new selection criteria set after the currently displayed set in a criteria file. The new set’s
id number equals the current set’s number incremented by 1. Example: current id = 3 of 5, id of
inserted set= 4 of 6. Any following set id numbers in the criteria file are of course incremented
accordingly, for example 4 of 5 becomes 5 of 6, 5 of 5 becomes 6 of 6. Valid only on the Selection
Criteria Specification Screen when defining or modifying multiple selection criteria sets (see
Object Selection Criteria on page 301). There are no operands associated with this command.
REPEAT (REP)
Repeats (duplicates) the current selection criteria set after the currently displayed set in a criteria
file. The new set’s id number equals the current set’s number incremented by 1. Example: current
id = 1 of 5, id of inserted set= 2 of 6. Any following set id numbers in the criteria file are of course
incremented accordingly, for example 2 of 5 becomes 3 of 6, 3 of 5 becomes 4 of 6, etc.. Valid
only on the Selection Criteria Specification Screen when defining or modifying multiple selection
criteria sets (see Object Selection Criteria on page 301). There are no operands associated with
this command.
SORT (SO)
Sorts the displayed list of object names by the specified sequence (column) name. Valid SORT
sequences are:
(Object Name)
ST
(Status)
Use the DB2 Object Selection Criteria screen to generate a Db2 SQL SELECT statement to select rows
to extract from the Db2 object based on column values.
You can scroll the lower portion of this screen up and down if there are more column names on the
list than will fit on the screen. In addition, you can scroll left and right if the values in the Where
field exceed the screen width. See Scrolling on page 31 for more information about scrolling.
Column Name
Displays the names of the columns in the Db2 object.
Type(Length)
Displays the data type of each column in the table. 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.
1. Distinct type (UDT) columns show either their built-in data types or their UDT names,
depending on the status of the UDTSWAP primary command. To switch the display
status enter the UDTSWAP command.
2. To view a list of all UDTs that are part of the extract issue the UDTTYPE command.
3. When entering a WHERE clause for a UDT column you must enter the appropriate
CAST function manually. Example:
=CAST('A01' AS TSOID01.DEPARTMENT)
4. Column types CLOB, BLOB, DBCLOB, ROWID, BINARY, VARBINARY, or XML are not
eligible for WHERE clauses.
306 File-AID/RDX Reference
Where
Specify values of up to 255 characters in length to limit the rows extracted from the Db2 object.
You can scroll this field left and right.
For the same column you cannot specify both a value in the Where field and
key file selections. They are mutually exclusive.
The Where column is analogous to the predicate specified in the WHERE clause in an SQL
SELECT statement. The following operators are valid in the Where column:
AND is implied as the logical operator between columns when multiple columns have WHERE
values specified. Specify OR to override the implied AND. Use NOT to negate BETWEEN, LIKE,
NULL, and IN operators.
Enter the WHERE clause information as you would in an SQL SELECT statement.
308 File-AID/RDX Reference
1. When entering a WHERE clause for a UDT column you must enter the appropriate CAST
function manually.
2. Column types CLOB, BLOB, DBCLOB, ROWID, BINARY, VARBINARY, or XML are not eligible
for WHERE clauses.
3. When using OR with two or more columns File-AID/RDX generates the correct SQL but
may not redisplay the selection template (see Figure 160 on page 310). Use the SQL
command to view the SQL and use parentheses to indicate the order of operations.
When Extract from Image Copy is set to Yes the selection conditions are limited to the valid
predicates and labeled-duration-expressions in the WHEN clause of the UNLOAD statement
(refer to “Chapter 2-27. UNLOAD” in the DB2 Universal Database for OS/390 and z/OS: Utility
Guide and Reference, Copyright IBM Corp. 1983, 2001.) Accordingly, some of the functions not
supported are:
• Views
• Casting
• Built-in functions
• Column functions
• User Defined Functions
• Arithmetic Expressions outside of those supported with CURRENT_DATE and
CURRENT_TIMESTAMP
• Exists predicate
• Subselects
• Quantified predicate
Examples:
– To select rows having a numeric column value between 9 and 20, specify:
BETWEEN 9 AND 20
LIKE '%SMITH%'
• Use the equals (=) operator and be as specific as possible when entering values in the
Where field.
• Specify values for columns that are part of an index.
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 string:
where,
= any valid operator (see Where on page 307 for a list of valid operators)
’(apostrophe) delimiter
> Db2 shift out character
< Db2 shift out character
sbcs-string DBCS data
dbcs-string DBCS data
Use the following syntax for GRPH, VGRPH, and LVGRPH strings:
Extract 309
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 out character
dbcs-string DBCS data
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
CANCEL (CAN)
Enter the CANCEL command to return to the Object Selection Criteria screen without saving any
changes. There are no operands associated with this command.
CAPS
Enter the CAPS command to toggle caps mode on and off.
END
Verifies the SQL syntax and returns you to the Selection Criteria Specification screen. There are
no operands associated with this command.
SQL
Invokes the SQL Edit screen. This screen enables you to edit or specify the selection criteria in its
SQL format. See SQL Edit on page 311 for more information about editing your selection criteria
in its SQL format. There are no operands associated with this command.
UDTSWAP (UDTS)
Swaps the display for distinct type columns from UDT name to the built-in data type and length
and vice versa. There are no operands associated with this command.
UDTTYPE (UDT)
Lists all distinct data types (UDTs) that are part of the extract. The list displays the schema, UDT
name, and the built-in data type and length. There are no operands associated with this
command.
File-AID/RDX ----------- DB2 Object Selection Criteria -----------------------
COMMAND ===> Distinct Data Types for This Extract LL ===> CSR
SET 1 of 1 File-AID/RDX Row 1 to 1 of 1
Driving Obje COMMAND ===> SCROLL ===> CSR
Max rows f
Select eve Schema Type Base Data Type
Extract ro -------- ------------------ ------------------ of No)
Display Ex TSOID01 DEPARTMENT CHAR(3) E = Edit)
Column Nam **************** Bottom of data ***************** More: >
---------- -+---30----
DEPTNO
DEPTNAME
MGRNO
ADMRDEPT DEPARTMENT
LOCATION CHAR(16)
RID CHAR(4)
TSTAMP TMSTMP(6)
** End of Columns **
This window displays the list of all UDTs (distinct data types) that are included in the tables to be
extracted. Use the END command to close the window.
Schema
Identifies the UDT’s schema ID.
Type
Identifies the name of the distinct type.
SQL Edit
The SQL Edit screen shown in Figure 161 is an ISPF EDIT session on the SQL source generated by File-
AID/RDX using the values you specified on the Selection Criteria screen. It is displayed when you
enter the SQL command in the COMMAND field on the Selection Criteria screen and press Enter.
Only the WHERE clause of the SQL statement is displayed as it is the only part of the SQL statement
that can be modified for selection criteria.
Use this screen to view or modify SQL source. This can occur when you change the SQL source in the
extract criteria file from outside of File-AID/RDX.
The body of the SQL Edit screen consists of a scrollable data editing area.
Line Commands
ISPF edit line commands are valid on the panel.
Primary Commands
ISPF primary commands are valid on this panel.
The Temporary Selection Criteria function allows you to create sets of criteria that File-AID/RDX uses
to select records in a data file for processing.
File-AID/RDX provides selection criteria options and formatted selection criteria. The selection
criteria options allow you to specify:
The selection criteria options can be combined with formatted selection criteria.
Formatted selection criteria allow you to select records based on data within a field as specified by a
record layout.
Temporary selection criteria are valid only for the duration of the extract function. Temporary
selection criteria are not stored for future use unless you explicitly save the Extract Request file (see
312 File-AID/RDX Reference
Output Key File Definition on page 332). When you finish creating the temporary selection criteria,
they are applied and you continue with the Extract utility.
The next section in this chapter discusses the screen presentation order and navigation commands
available for Selection Criteria.
Option
Enter one of the following valid options:
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 314.
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
317.
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
Extract 313
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 Object Selection Criteria and clears all selection fields.
END
Saves the current selection criteria display and exits the Selection Criteria Menu without clearing
the selection fields.
VIEW
Displays the View Criteria screen, which summarizes the options and formatted selection criteria
sets into a scrollable display. See View Criteria on page 313.
View Criteria
The View Criteria screen, shown in Figure 163, 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.
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.
Extract 315
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 166 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 166. 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
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 170 on page 328, 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.
NO Bits are not ones (Mask data value only).
MX Bits are mixed, ones and zeros (Mask data value only).
NV Not valid numeric or packed data based on the field format.
FM Field mask. See Field Mask on page 326 for more information.
318 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.
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
Extract 319
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 168 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.
ALIGN (AL)
Controls display of ALIGNED/UNALIGNED term for PL/I data.
ARRAY (AR)
Controls display of array declaration information for PL/I data.
ON
Displays an array definition line for each subscripted item in a record layout.
320 File-AID/RDX Reference
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.
Extract 321
CAPS
Sets caps mode. CAPS ON is not case-sensitive in the search to match the selection criteria.
Specify CAPS OFF for a case-sensitive search. This command is valid only on a new criteria
display.
COMPLEX (CMPLX)
Controls display of COMPLEX terms for PL/I data.
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.
FILLER (FILL)
Controls display of FILLER fields.
FORWARD (FWD)
Positions the display to the next criteria. Synonym for RIGHT.
GROUP
Controls the display of occurrences of group-level items.
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.
322 File-AID/RDX Reference
LEFT (L)
Positions the display to the previous criteria. Synonym for BACK.
LOCATE (LOC)
Scrolls directly to the specified record layout line.
LR (Locate Record)
Positions the display to the specified criteria number.
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.
Extract 323
• 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.
OFFSET
Displays field offsets.
OPT (O, 1)
Displays the Selection Criteria Options screen.
PROFILE (PROF)
Displays profile information lines.
REFLNG
Controls the display of BIT/CHAR REFER field length reference lines for PL/I data.
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.
RETURN
Returns to the Primary Option Menu.
RIGHT
Positions the display to the next criteria. Synonym for FORWARD.
SHOW (SH)
Displays LEVEL, NUMBER, FORMAT, OFFSET, or PICTURE information for the selection fields.
SYNC
Controls the display of the SYNC term for fields in a COBOL record layout.
324 File-AID/RDX Reference
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 163 on page 313.
ZERO (Z)
Controls the display of leading zeros in the numeric
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
Extract 325
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 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.
326 File-AID/RDX Reference
Field Mask
The Field Mask Criteria screen, shown in Figure 169 on page 326, 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.
Extract 327
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.
328 File-AID/RDX Reference
The Display XREF screen, shown in Figure 171, lists each layout defined in the specified XREF. It is
displayed when the data file you are selecting from contains more than one type of record and each
record type requires a different record layout (Record layout usage = X).
Each data file record is classified into a record type category based on certain field values within the
record. In File-AID/RDX, these field values and their record layouts are associated when the XREF is
defined.
Cmd
Use the S (Select) or SF (Select Formatted) line command to specify the record layout you want to
use.
Extract 329
If you select a SEGMENT, the BASE associated with that segment is also implicitly selected. The
fields associated with layout selection are automatically set and locked and flagged with a criteria
value of RECORD TYPE FIELD.
With segmented records, File-AID/RDX selects only the records where the
requested segment immediately follows the base segment.
Member
Name of the record layout member.
Beginning Data-Name
Displays the starting dataname of the record layout.
Description
Short Description of the record layout entered by user when the XREF is created.
Status
Usage status of the layout (BASE, DEFAULT, or SEGMENT) as defined in the XREF.
After you select a layout on the Display XREF screen, press Enter to display the Formatted Selection
Criteria screen (S or SF).
Use the END command (PF3) to terminate the function and return to the Selection Criteria Menu.
Use the CANCEL command to terminate the function and return to the Selection Criteria - File
Specification screen. Use the RETURN command (PF4) to return to the File-AID/RDX Primary Option
Menu without specifying any criteria.
Primary Commands
The following primary commands are valid on the Display XREF screen:
CANCEL
Terminates the selection criteria specification.
DOWN
Scrolls toward the end of a record layout.
END
Terminates the selection criteria specification.
RETURN
Returns to the File-AID/RDX Primary Option Menu.
330 File-AID/RDX Reference
UP
Scrolls toward the top of a record layout.
On the Formatted Selection screen the record layout fields that contain the record type are protected
and the intensified message, RECORD TYPE FIELD, is displayed in the data column, as shown in
Figure 172. The record type field is treated as if you had entered the appropriate relational operator
and the corresponding record type value(s).
Figure 172. Formatted Selection Criteria Screen. For Multiple Record Type Files.
Once you select a record type for formatted selection criteria, the records matching this record type
are selected even if you do not enter any other field criteria. On the Formatted Selection Criteria
screen, use the DELETE primary command to unselect a record type. Use the VIEW command to
check which XREF record types are active.
When you select Option 6 - Output Key Files from the Extract Menu and your extract request includes
more than one dependent KEY relationships, the Output Key Files screen (Figure 173) displays.
For each KEY relationship, it lists the related IMS database(s) and record or segment layouts for the
extract as specified during the relationship definition (see Specify Method to Define Output Key File
Extract 331
Relationship Area on page 131). You must define an Output Key File for each KEY relationship with a
status of KEY Undefined before the extract process can continue. File-AID/RDX will store the
extracted keys in the specified file for later extract with File-AID for IMS or as an Input Key File for
another File-AID/RDX extract. You can also specify that the File-AID for IMS extract using the output
key files is to be executed as a step following the File-AID/RDX extract.
On this screen select an IMS DBD or segment layout to specify the Output Key File to which File-
AID/RDX will copy the key values for the selected KEY relation.
The body of the Output Key Files panel consists of the following fields:
Cmd
Use the S (Select) or I (Information) line command to specify or view the KEY relationship
information.
IMS DBD
Member name of the DBD library (KEY method 2 and 3).
Layout
Member name of the record or segment layout (KEY method 1 and 3).
Status
Displays one of the following messages:
Message Explanation
KEY Undefined For this KEY relationship you still need to define a key file with the S line
command, or exclude the relation from the current extract process, before you
can continue.
KEY Defined A key file has been defined for this KEY relationship.
KEY Deleted The key file definition for this KEY relationship has been deleted.
332 File-AID/RDX Reference
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
I (Relationship Information)
Invokes the Relationship Information pop-up window. See Relationship Information Window on
page 284 for information about the Relationship Information window.
S (Select)
Use the S line command for all listed KEY relationships with a status of Undefined. It brings up
the Output Key File Definition window as shown in Figure 174, so you can define an output key
file. After File-AID/RDX has completed the extract the output key file then includes all of the
output keys for this Output Key file relationship. This file can then be used by File-AID for IMS to
extract IMS data. It can also by used by File-AID/RDX as an Input Key file for another extract.
File-AID/RDX also allows a File-AID for IMS extract to be executed as a step following the File-
AID/RDX extract.
The JCL for the extract job must have been created within File-AID for IMS and saved to a dataset. The
File-AID for IMS extract must have been defined to use Key values in the same format as the Output
Key File produced by File-AID/RDX.
Use this screen to specify the Output Key File to which File-AID/RDX will copy the key values for the
selected KEY relation. The resulting Output Key File can then be used as an Input Key File for another
File-AID/RDX extract or by File-AID for IMS to extract the related IMS data. File-AID/RDX calculates
and displays the required LRECL value. The file’s blocksize value must be compatible with the
precalculated LRECL. You can also specify that the File-AID for IMS extract is to be executed as a step
following the File-AID/RDX extract.
Extract 333
The body of the Output Key File Definition panel consists of the following fields:
Parent Object
Displays the name of the object defined as the parent in a relationship.
Member
Member name of the record or segment layout file.
DBD Library
Displays the name of the dependent DBD library, if specified.
DBD Member
Displays the member name of the dependent root segment.
File Name
Specify the name of the file to which the extracted key values will be saved.
Member
If the file you specified in File Name is partitioned (must be PDSE), you can enter a member
name. If you leave this field blank or specify a pattern, File-AID/RDX displays a Member List pop-
up window containing a list of members that match the specified pattern. The only valid pattern
character is an asterisk (*). You can create new members by entering the name of the new member
in the Member field.
Disposition
Specify the disposition of the record layout file. You can save to existing files with a disposition
of OLD. Specify a disposition of NEW to create a new file.
If you specify NEW in the Disposition field, you must specify the following allocation
parameters in the Create New File panel.
Extract IMS
Specify Y (Yes) when you want the File-AID for IMS extract to be executed as a step following the
File-AID/RDX extract. The JCL for the extract job must have already been created within File-AID
for IMS and saved to a file. The file containing the File-AID for IMS extract JCL must have a
disposition of OLD.
Specify N (No - default) when you don’t want to include the File-AID for IMS extract JCL in the
File-AID/RDX extract.
File Name
Specify the name of the file that contains the File-AID for IMS extract JCL.
Member
If the file you specified in File Name is partitioned, you can enter a member name. If you leave
this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up window
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*).
Use this screen to specify allocation values for a new file to be created by File-AID/RDX.
Depending on the type of file, File-AID/RDX calculates some of the allocation values and locks those
fields from input. For example, when creating a new extract request file, the Record format (VB) and
Record length (1004) fields are locked and their prefilled values cannot be changed.
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.
The message “The file will be allocated during execution of the batch job”
appears for files that don’t need to be allocated until execution of the batch
job.
File Name
Displays the name of the file to be allocated.
Management Class
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.
Storage Class
Specify the SMS storage class to use for the allocation of the file. The storage class describes the
hardware requirements of the file.
Generic Unit
Specify the device type on which the new file will reside. The names of these devices are
installation dependent.
Volume serial
Specify the volume serial of the direct access device that contains the file.
Data Class
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.
Space units
Specify one of the following storage unit types depending on how the file size is expressed:
TRK - Tracks
CYL - Cylinders
BLK - Blocks
KB - Kilobytes
MB - Megabytes
336 File-AID/RDX Reference
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.
Directory quantity
For a PDS, specify the number of directory blocks. For a Sequential file, specify zero (0).
Record format
Specify a value with a combination of the following codes (F, V, or U is required):
F - Fixed length
V - Variable length
U - Undefined format
B - Blocked
A - ANSI printer control characters
M - Machine code printer control characters
S - For Sequential files only: Standard for F or spanned for V
T - Track-overflow feature
Record length
Specify a logical record length, in bytes, of the records to be stored in the file. File-AID/RDX
validates this value with the record format and block size.
Block size
Specify the physical record length, in bytes, of the blocks to be stored in the file. File-AID/RDX
validates this value with the record format and record length.
LIBRARY
Allocates a Partitioned Dataset Extended (PDSE). This type of partitioned dataset has
unlimited directory blocks and reuses its own space. PDSE libraries do not need to be
compressed.
PDS
EXTREQ
EXTPREF
BASIC
Indicates that neither an extended nor a large format sequential dataset is to be allocated.
blank
Extended Attributes
Specify one of the following extended attributes:
NO
OPT
blank
Number of Volumes
Specify the number of volumes requested for this dataset (2 to 59), or leave this field blank
for a single volume allocation.
338 File-AID/RDX Reference
Use this screen to specify information about the file to which File-AID/RDX will copy extracted data.
File Name
Specify the name of the file to which data will be extracted. See Extract File on page 44 and File-
AID/RDX Extract File on page 377 for more information on the extract file.
1. File-AID/RDX will dynamically reallocate a sequential extract file to adjust to the needed
space. Dynamic reallocation is only available for sequential files (DSORG=PS).
2. File-AID/RDX supports extracting from and loading to Sequential (PS) files greater than
65,535 tracks (DSNTYPE=LARGE) when the MVS Operating System also supports them.
Allocation of a datasets with DSNTYPE=LARGE is not supported. If the Extract File is to be
defined as DSNTYPE=LARGE, it can be pre-allocated.
3. When the specified extract output is to tape or cartridge, File-AID/RDX automatically
creates a summary file on DASD. The name of the summary file is the one specified in your
profile or, if none is specified there, it is the name of the extract file with SUMMARY
appended or a truncated form of the extract file name with SUMMARY as to not exceed 44
characters. If the summary file exists, File-AID/RDX will update (overwrite) its content. Refer
to Extract Summary File on page 45 for more information.
Member
If the file you specified in File Name is partitioned, you can enter a member name. If you leave
this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up window
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member in the
Member field.
Extract 339
VOLSER
If the file specified in File Name 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 extract "to" file. You can extract to existing files with a disposition
of OLD. Existing files must conform to the format outlined for the extract file in File-AID/RDX
Extract File on page 377. 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 in the Create New File screen (Figure 175 on page 334).
Compress
Specify one of the compress options for the extracted data in the extract file:
File-AID/RDX recognizes these compressed extract files as valid input files for all
functions: Load, Delete, and Disguise.
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.
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 Extract
File Compress Utility on page 715 to decompress a compressed extract file.
DB2 Format
Specify whether data extracted from Db2 tables with Unicode encoding is written to the extract
file in Unicode or EBCDIC format (see also profile value DB2 Format on page 60).
Views
Specify whether the extract file should include all the Db2 DDL Create View statements necessary
for File-AID/RDX to also create the Db2 views when performing a load using this extract file.
Note that DDL statements for creating views from a view will not be included.
Yes Extracts all Db2 Create View DDL statements for the Db2 tables from which data
is being extracted.
No File-AID/RDX won’t include Db2 DDL Create View statements in this extract file.
Alias
Specify whether the extract file should include all the Db2 DDL Create Alias statements necessary
for File-AID/RDX to also create Aliases when performing a load using this extract file.
Yes Extracts all Db2 Create Alias DDL statements for the Db2 objects from which data
is being extracted.
No File-AID/RDX won’t include Db2 DDL Create Alias statements in this extract file.
Synonyms
Specify whether the extract file should include all the Db2 DDL Create Synonym statements
necessary for File-AID/RDX to also create synonyms when performing a load using this extract
file.
Yes Extracts all Db2 Create Synonym DDL statements for the Db2 objects from which
data is being extracted.
No File-AID/RDX won’t include Db2 DDL Create Synonym statements in this extract
file.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
END
Returns to the Extract Menu. There are no operands associated with this command.
Extract 341
Use this screen to specify data privacy information for this extract request.
1 Use DCF. Disguise the extracted data using a disguise control file (DCF). This
option requires installation of Compuware’s File-AID/Data Solutions.
Before submitting an extract request with the DCF data disguise option, you must
have defined the disguise criteria using Option 5, Data Disguise (see Data
Privacy).
When returning to the Extract Menu, the DISGUISED indicator in front of the
extract file is displayed.
2 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 plugin of the Topaz Workbench.
Before submitting an extract request with the DPR data privacy option, you must
have defined the Dynamic Privacy Rules Project using File-AID Data Privacy.
When returning to the Extract Menu, the DISGUISED indicator in front of the
extract file is displayed.
Note: Before submitting the job, be sure to specify a region size large enough to
run Java (REGION=0M is suggested, 200M is the minimum) in your jobcard (see
also View JCL on page 354).
3 No Disguise. The extracted data will not be disguised.
Hints
• Before you submit the disguise job, make sure that the Disguise Control File includes the
desired disguise criteria for the objects included in the extract file.
• It is also recommended that the relationship information in both the extract and
Disguise Control File matches.
• Also, when using disguise rules with complex criteria, the object that you used to define
the criteria originally must be included (not excluded) in the extract file or the disguise
may not be successful.
• For related disguise rules, always define the criteria on the object that contains all of the
different unique values (including orphans) to be extracted.
Specify the full repository name (up to 128 characters). 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).
This field is prefilled with your current profile’s value (see DPR: Repository Name on page 73) or
global default value (see Option G—Global User Defaults).
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. Then select the desired project
from the list (see Privacy Project List on page 74).
This field is prefilled with your current profile’s value (see DPR: Project Name on page 73).
The specified project must exist in the repository you specified in the DPR:
Repository Name field or the message 'Project not found' is
displayed.
The extract and the disguise are run as separate job steps. By saving the undisguised file you can
rerun the disguise without having to rerun the extract. The disguise may need to be rerun because
it failed due to an error in the disguise criteria, insufficient unique replacement values or because
Extract 343
the disguise criteria did not produce the expected results. To rerun a failed disguise, use Option
5.2, DCF: Disguise Existing Extract on page 664.
The name assigned to the pre-disguise extract file will use the standard RDX routine to generate a
"temporary" name. The name will be the user PREFIX, the mid-level qualifier from the Profile, the
word "EXTRACT" and finally the current date and time fields (i.e. D050128.T055709).
Yes Create audit trail reports using File-AID/Data Solutions audit trail exits. Note that
the File-AID/Data Solutions audit trail exits determine if a report is created and
what is reported.
No Don’t create audit trail reports.
Use this screen to specify what, if any, supporting files should be produced for the extract:
• Db2 record layout file to which File-AID/RDX will copy the record layouts for all objects to be
extracted.
• XREF file for the data elements (D records) of the extract file.
344 File-AID/RDX Reference
• Topaz Extract Visualizer file to visually analyze extract execution with the Data Visualizer
component of the Topaz Workbench.
Create layouts
Specify whether or not to create a COBOL, PL/I, or FA COBOL record layout file for the extracted
Db2 objects when File-AID/RDX performs the extract. Creating a record layout allows you, for
example, to download the extracted data with File-AID/EX at a later time, or view and compare
extract files with File-AID/MVS.
When you ask File-AID/RDX to create only a record layout (Create XREF =
NO) for MVS objects, the resulting layout is only for the complete extracted
record, not the fields within the record.
Language
Specify whether the record layout will be in COBOL (1), PL/I (2), or FA COBOL (3) format.
File Name
Specify the name of the file to which the record layout will be saved.
When also creating an XREF for the extract file and your extract includes MVS objects enter the
existing source layout file name, the one used when you defined the relationships. If you specify
a different layout file, be sure to copy the layout members from the source layout file into the
new record layout file before using the XREF file with File-AID/MVS or File-AID/Data Solutions to
access the extract file. The XREF expects all layout members in the same layout file.
Member
If the file you specified in File Name is partitioned, you can enter a member name. If you leave
this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up window
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member in the
Member field.
Disposition
Specify the disposition of the record layout file. You can save to existing files with a disposition
of SHR. Specify a disposition of NEW to create a new PDS or sequential file.
Extract 345
If you specify NEW in the Disposition field, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334).
Create XREF
Specify whether or not to create a File-AID/MVS XREF (record layout cross reference) file when
File-AID/RDX performs the extract. File-AID/RDX will create the record layout cross reference for
the data elements (D records) of the extract file.
For Db2 objects, the generated XREF member will point to the detail field level layout created
with the Create Record Layout function.
For MVS objects, the generated XREF member will point to the detail field level layout that will
be left in-place in its source layout file, as specified during the relationship definition.
Creating an XREF allows you, for example, to use File-AID/Data Solutions and modify, or
disguise, the data in the extract file before loading the extracted data to a target subsystem.
Yes Create the XREF. You must also Specify YES in the Creat layouts for Db2 objects
field to create an XREF even if the extract does not include any Db2 objects.
No Don’t create an XREF (record layout cross reference).
When your extract includes MVS objects and you ask File-AID/RDX to create XREF
and layout information, File-AID/RDX will create the XREF, but not a layout for the
MVS data. The XREF points to the source layout as specified when the relationship
had been defined.
File Name
Specify the name of the file to which the record layout cross reference (XREF) will be saved.
Member
The XREF file you specified in File Name must be partitioned. Enter a member name. If you leave
this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up window
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member in the
Member field.
Disposition
Specify the disposition of the file. You can save to existing files with a disposition of SHR. Specify
a disposition of NEW to create a new PDS.
If you specify NEW in the Disposition field, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334).
Topaz Extract Visualizer allows you to see where time is spent during long-running extracts,
highlighting areas for improvement. You gain a better understanding of complex related extracts,
extract requests, and relationship repositories.
Create file
Specify whether or not to create a Topaz Extract Visualizer file when File-AID/RDX performs the
extract. The file will contain the extract request information as well as the extract execution
information.
File Name
Specify the name of the file to which the extract request and extract execution information to be
used with the Topaz Extract Visualizer will be saved. The file may be a PDS, PDSE or a sequential
file.
Member
Enter a member name if you specify a PDS or PDSE for the Topaz Extract Visualizer file. If you
leave this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up window
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member in the
Member field.
Disposition
Specify the disposition of the file. You can write to existing files with a disposition of SHR.
Existing files must conform to the format for the Topaz Extract Visualizer file. Specify a
disposition of NEW to create a new file.
If you specify NEW in the Disposition field, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334).
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
END
Saves your input and returns to the Extract File Specification Screen. There are no operands
associated with this command.
Extract 347
Checkpoint/Resumption
The Checkpoint/Resumption screen shown in Figure 179 is displayed when you select Option 10-
Checkpoint/Resumption from the Extract Menu.
Enabling checkpoint processing and specifying a checkpoint in your extract request will stop the
extract execution in a controlled manner when the checkpoint (a specified extract step number or a
specified time interval) is reached or when the z/OS Operator Modify command is issued (see also
Stop Extract Execution with z/OS Operator MODIFY Command on page 202). In all cases, processing
on the object currently being extracted will complete before the checkpoint is taken and a controlled
stop occurs. You will then be able to resume and complete the extract from the checkpoint.
The TPT Trace (DD Name TPTPRINT) includes the following statement when the extract execution
was stopped at a specified checkpoint:
Enable Checkpoint/Resumption
Specify Y (Yes) when you want to turn on checkpoint processing for this extract request. N (No) is
the default and will not enable checkpoint processing.
348 File-AID/RDX Reference
The Extract file and the Checkpoint Data file are logically related to each
other and must be unique. Compuware recommends to define a separate
Checkpoint Data file or member for each extract that has
Checkpoint/Resumption Enabled.
File Name
Specify the name of the Checkpoint Data file. This file can be a PDS, PDSE, or sequential file.
Member
If the file you specified in File Name is a PDS or PDSE, you can enter a member name. If you
leave this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up window
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member in the
Member field.
Disposition
Specify the disposition of the Checkpoint Data file. You can save to an existing file with a
disposition of OLD, replacing any content with the new content. Specify a disposition of NEW to
create a new PDS/PDSE or sequential file.
If you specify NEW in the Disposition field, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334). The file will not be created until extract
execution time.
File Name
Specify the name of the Checkpoint Control file. This file can be a PDS, PDSE, or sequential file.
Member
If the file you specified in File Name is a PDS or PDSE, you can enter a member name. If you
leave this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up window
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member in the
Member field.
Disposition
Specify the disposition of the Checkpoint Control file. You can save to an existing file with a
disposition of OLD, replacing any content with the new content. Specify a disposition of NEW to
create a new PDS/PDSE or sequential file.
If you specify NEW in the Disposition field, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334).
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
END
Saves your input, returns to the Extract Menu and sets the current value for
Checkpoint/Resumption accordingly (see 10- Checkpoint/Resumption on page 242).
When submitting the request for the first time, or the Checkpoint Data file for the request is empty,
File-AID/RDX displays the Checkpoint Processing - Confirmation Window (Figure 180 on page 350)
where you confirm checkpoint processing or cancel this extract execution request.
When submitting the request after the extract had been stopped at a checkpoint or with the z/OS
Operator Modify command and the Checkpoint Data file for the request contains resumption data,
File-AID/RDX displays the Checkpoint Processing - Resumption Confirmation Window (Figure 181)
where you confirm to resume the stopped extract or cancel the resumption. If you cancel the
resumption through this window, the contents of Checkpoint Data file will be cleared and the extract
starts from the beginning.
The Continue With Load option is not available for interactive execution (see
also MODE on page 244) or when Checkpoint/Resumption is enabled (see
also 10- Checkpoint/Resumption on page 242).
The Extract File name and Description fields are protected as it is the extract file of the current extract
request.
Refer to Load Menu on page 422 for a description of the Checkpoint/Resumption menu options.
The options to save the load request, view and submit the JCL are not
available as they are provided on the Extract Menu.
Primary Commands
The REFERENCE and REQUEST primary commands are not available in the
Continue With Load menu.
ALL
Selects all continue with load options for you to step through in sequence.
END
Saves your input, returns to the Extract Menu and sets the current value for Continue With Load
to Yes (see 11- Continue with Load on page 243).
352 File-AID/RDX Reference
Make sure to select Option 12- Save Extract Request, from the Extract Menu just
before Option 13 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.
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 Extract Request window consists of the following fields:
File Name
Specify the name of the file where you want to save the extract request. 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 353
SAVE Confirmation
When saving an Extract or Load request File-AID/RDX checks to see if the member already exists. If
the member already exists, the Save Confirmation window (Figure 184 on page 353) 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.
354 File-AID/RDX Reference
View JCL
The ISPF/PDF Edit screen shown in Figure 185 is displayed when you select Option 13 - View JCL,
from the Extract Menu.
Use this screen to view or edit the extract JCL generated by File-AID/RDX. Use the SUBMIT command
to submit the extract request for execution. If you want to save this JCL, use the ISPF/PDF CREATE or
REPLACE command before you exit the panel. If you did not save the extract request with Option
12- Save Extract Request, File-AID/RDX deletes the temporary extract criteria work file after extract
execution.
1. If your extract request includes disguising the extracted data, see also Set Incomplete
Disguise Continuation Indicator on page 668 to determine whether you want to change the
default disguise EXEC parameter.
2. You receive the informational message “I321 RDX CNTL PDSE's not deleted, ISPF SUBMIT or
CREATE command issued during VIEW of JCL” to remind you that some extract work files
were not deleted and to clean up the extract work files when you don’t need them any
longer.
3. When disguising the 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 Disguise Extract File on page 341, option 2, Use DPR.
4. The FARULES DD identifies the Privacy Rules Repository name and Dynamic Privacy Rules
Project ID.
The FARULES DD may be allocated to a sequential file or a member of a PDS. The record
length must be fixed 80 bytes.
If you want the execution log output sent to a file, point XVJPRINT DD at a file (instead of
SYSOUT=*). This file must be allocated with RECFM=FBA, LRECL=133.
Extract 355
Example:
//DPRSTAT1 DD DSN=fixed_layout_sequential_file,
// DISP=MOD
//DPRSTAT1 DD DSN=fixed_layout_sequential_file,
// DCB=(RECFM=FB,LRECL=2737,DSORG=PS),
// SPACE=(TRK,(1,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,CATLG)
To view the output file in formatted mode you can use File-AID/MVS Browse or Edit with the
following COBOL record layout describing a record in the output file:
01 DPR-STATISTICS.
15 DPR-COLUMN-NUMBER PIC 9(9) COMP.
15 DPR-NUMBER-CHANGED PIC 9(9) COMP.
15 DPR-NUMBER-INVALID PIC 9(9) COMP.
15 DPR-COLUMN-NAME PIC X(128).
15 DPR-RULE-NAME PIC X(512).
15 DPR-RULE-DESCRIPTION PIC X(512).
15 DPR-LAYOUT PIC X(1573).
DPRSTAT2 DD (CSV)
When you add a DPRSTAT2 DD to a File-AID Data Privacy job and it points at a CSV (Comma
Separated Values) file defined as RECFM=VB,LRECL=2751, at end of job, the file will have the report
information for each column written out as a single record containing all the same report
information but they will be Comma Separated Value (CSV) records.
Example:
//DPRSTAT2 DD DSN=CSV_file,
// DISP=MOD
//DPRSTAT2 DD DSN=CSV_file,
// DCB=(RECFM=VB,LRECL=2751,DSORG=PS),
// SPACE=(TRK,(1,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,CATLG)
//DPRSDI DD DISP=SHR,DSN=u.data.mysdis
where the existing dataset u.data.mysdis contains the definitions of SDIs that will be used for this
execution.
If the DPRSDI DD is defined in JCL, all SDIs defined in the project will be ignored and replaced with
definitions provided in the override dataset.
If the specified override file does not exist, Message UNABLE TO OPEN
DPRSDI FILE is issued and processing stops with a RC=8.
To do so, insert any of these FAJPATH, FAJOPTS, FAIPADDR, and FAEXPATH DD statements as needed.
For example:
//FAIPADDR DD *
127.372.322.101:4180
/*
//FAJPATH DD *
/usr/lpp/java/J7.1_64.bld111513/
/*
Extract 357
It is also possible to specify more than one debug parameter inline. For example:
//FADEBUG DD *
Level=FINER
Filename=/u/userid/
/*
executionParm=overrideValue
The execution parameter must have been defined in the Topaz Workbench user interface for the
project.
Example:
Your DPR project ‘project1’ includes:
• 2 translate tables, ‘Title table’ and ‘Titles for HR dept’ (Figure 186)
• 2 execution parameters, ‘Parameter1’ identifies the translate table ‘Title table’ and
‘Param2Variable’ identifies variable ‘scramvar’ (Figure 188 on page 359).
At execution time, however, you want to override the defined execution parameters for translate
table ‘Title table’ with the new translate table ‘ABC.NEWTRANS’ and the initial value of variable
‘altscram‘ with the new string ‘789xyz’. The new translate table must have the same characteristics as
the original one.
To do so, insert the following DPRPARMS DD statement in the JCL (inline example):
//DPRPARMS DD *
Parameter1=ABC . NEWTRANS
Param2Variable=789xyz
/*
358 File-AID/RDX Reference
executionParm=LIST(X)=overrideValueXoverrideValueXoverrideValue
The X variable inside the =LIST( )= parentheses defines the delimiter for the list of values. The
delimiter can be any character. Connect each overridevalue with the defined delimiter.
For example, insert the following DPRPARMS DD statement in the JCL (inline example) to override
the values of the String List named STATE (* is the defined delimiter):
//DPRPARMS DD *
STATE=LIST(*)=MI*OH*RI*CA*MO*IN
/*
This methodology is efficient and sufficient in most scenarios, but there are some scenarios where no
single origin contains all of the values required by the non-origins. When this occurs, it is possible to
direct File-AID to use all objects that contain the necessary fields referenced by the Data Privacy Rule
as origins. This directive is specified by adding to your JCL:
//MULTISRC DD DUMMY
//FAJOPTS DD *
-verbose:sizes
-Dfile.encoding=UTF-8
-Dlog.encoding=IBM1047
If the JAVA options in the File-AID Data Privacy Environment parameters include other site specific
JAVA options, also add them to the FAJOPTS DD statement before submitting the job.
Adding the above FAJOPTS DD statement will override the JAVA options in the File-AID Data Privacy
Environment parameters and make it possible to run an Oracle translation while the log will be
generated in EBCDIC.
An indicator that you need to make this JCL change is when the Data Privacy job ended with the
following error:
However, this general message is not conclusive. Your error log file should have something like the
following:
If you see the above, then you need to insert the FAJOPTS DD statement.
Since the use of FADSPRNT splits the File-AID/Data Solutions report output away from the File-
AID/RDX report output, FADSPRNT and SYSPRINT must be looked at together to get a complete
picture of the job.
EXTPARMS parameter files created in the extract jobs will NOT be deleted. Keeping the datasets until
all steps run successfully allows for the restarting of the JCL at any step.
Periodically, you may want to manually delete the EXTPARMS parameter files that are no longer
needed for saved jobs to be resubmitted.
View REXX
The ISPF/PDF Edit screen shown in Figure 189 is displayed when you select Option 12, from the
Extract Menu and the Execute Extract online status has been set to ON with the MODE primary
command.
Use this screen to view or edit the extract REXX statements generated by File-AID/RDX. If you want
to save these Rexx statements, use the ISPF/PDF CREATE or REPLACE command before exiting this
panel. Otherwise, File-AID/RDX deletes this file after extract execution.
Submit JCL
Select Option 14 - Submit JCL, from the Extract Menu after you have completed specifying all your
extract options, selection criteria, and output files to submit your extract request to perform the
extract.
You will receive a confirmation message that your job has been submitted.
Execute Rexx
When the Execute Extract Interactively (online) status has been set to ON with the MODE primary
command, select Option 13, from the Extract Menu after you have completed specifying all your
extract options, selection criteria, and output files to execute your extract request to perform the
interactive extract.
You can then follow the extract execution online. Status messages inform you about the progress. The
extract is complete when you receive a completion message.
362 File-AID/RDX Reference
Press the ESC key to terminate the interactive extract. If you terminate the execution
before the completion message your extract file will not be loadable as it is incomplete
and lacking extract information and data. You also may need to manually delete any
working files created during the extract execution.
• Extract JCL
• Db2 Privileges
• File-AID/RDX Extract/Load/Delete Request File
• File-AID/RDX Extract File
• Record Layout and File-AID/MVS XREF JCL
• File-AID/RDX Record Layout File
• File-AID/MVS XREF File
• Topaz Extract Visualizer File
Extract 365
Extract JCL
The extract JCL shown in Figure 192 on page 365 performs the batch portion of the extract process
and generates the appropriate reports. The extract JCL can be coded and executed separately in a
batch job. In addition, File-AID/RDX can automatically generate the JCL through the online extract
screens.
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 16:
File-AID/RDX Release 17.02 does not support executing XFRIMAGE with JCL
parameters generated by prior releases of File-AID/RDX. It is recommended
that the JCL for Extract from Db2 Image Copy be generated in File-AID/RDX
Release 17.02.
The parameter information in the PARM field in the EXEC statement must have the following format:
Table 17. EXEC Statement PARM Field—Extract Step for Image Copy
Parameter Default Length Description
Value
Product FR 2 File-AID/RDX
Option 2 1 File-AID/RDX option number.
Operating Mode B 1 B : Batch
DD statements
The following DD statements are required for extract:
Table 18. DD Statements—Extract
DD Statement Description
STEPLIB File-AID/RDX load libraries (CXVJLOAD and SXVJLOAD) and Db2 load libraries
RDXMLIB Library containing File-AID/RDX messages.
RDXEC Library containing the File-AID/RDX extract criteria (only required if extract criteria is
being applied).
EXTRACT File to which extracted data is written.
EXTPARMS File containing the extract parameters (see EXTPARMS File on page 367).
DDxxx File name of the MVS object xxx; only applicable when extracting MVS objects.
LAYxxx File name of layout file for the MVS object xxx; when extracting MVS objects.
KEYxxxxx File name of the defined Output Key file; when extracting KEY relationships.
XREFxxx File name of XREF file for the MVS object xxx; when extracting MVS objects.
SYSOUT Output class for SORT utility.
RDXSQLCD Output class for detailed SQL error information from Db2.
SYSTERM Output class for runtime errors.
Extract 367
Note: 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.
EXTPARMS File
The EXTPARMS file contains the relevant parameters to execute File-AID/RDX programs. Each
program function, Extract, Load, Disguise, etc. generates different parameters that are necessary for
that function to run correctly. Do NOT change any of the parameters in the EXTPARMS file, unless
instructed to do so by Compuware customer support for diagnostic purposes. The TEST mode
indicator (N or Y) is used for debugging purposes.
Return Codes
An execution return code (RC) appears in the output listing. For return codes other than 0, an error
code and message indicating the specific problem also appear in the listing. In general, the return
codes can be summarized as follows:
Db2 Privileges
During extract, the SELECT privilege is required for all tables included in the extract. The plan being
used to execute File-AID/RDX requires the SELECT privilege for the Db2 system catalog tables.
You must have one of the following authorization privileges to extract data from Db2 Image Copy:
Figure 194 on page 369 shows a sample request file. Note that in the figure the reserved spaces for
Db2 creator ID and table names (up to 128 spaces for each) have been reduced to fit into this figure.
When viewing the request file online, use the RIGHT and LEFT scroll commands to view the Db2
object names at the end of the records.
The first two bytes of each record contains either blanks or “--.” Records with blanks in positions 1
and 2 are processed by SPUFI. Records that start with the characters “--” are considered comments by
SPUFI and are, therefore, ignored.
The third and fourth bytes of each record contain the record’s type.
Figure 194. Sample Extract/Load Request File
Extract
--00FILE-AID/RDXVERSION 17 RELEASE 02 MOD 00 SUB 26 EP
--401 NN00037Y
--281 TSOID01.FRSAMP.EXTRACT OLD -
--291SYSDA TRK0010005000VB 027994027998
--282 TSOID01.FRSAMP.EXTCRIT2 PCUST NOLD -
--27DESCRIPTION: DB2-FRSAMP.ORDER_TABLE
--292SYSDA TRK0004004010FB 000080000000
--286 TSOID01.FRSAMP.RELATION OLD -
--296 CYL
--287 TSOID01.RDX.PROFILE OLD -
--297 CYL
--28B TSOID01.FRSAMP.DISGUISE OLD -
--29B CYL
--56DRIVING: LOCK =N D701DD701CW01 FRSAMP ORDER_TABLE
--14 C=* M=* N=* X=N P=NONE I=Y 001/001
--57MODEL: D801DD801CW01 FRSAMP ORDER_TABLE
--70 DISG=3 RETAIN=Y AUDIT=N PREFIX=KFL 8
--56RELATED: LOCK =N D701DD701CW01 FRSAMP CUSTOMER_TABLE
--15 C=* M=* N=* X=N P=NONE U=N I=Y 001/001
--56RELATED: LOCK =N D701DD701CW01 FRSAMP CONTACT_TABLE
--15 C=* M=* N=* X=Y4 P=NONE U=N I=Y 001/001
--56RELATED: LOCK =N D701DD701CW01 FRSAMP ORDER_LINE_TABLE
--15 C=* M=* N=* X=N P=NONE U=N I=Y 001/001
--56RELATED: LOCK =N D701DD701CW01 FRSAMP PART_TABLE
--15 C=* M=* N=* X=N P=NONE U=N I=Y 001/001
--56RELATED: LOCK =N D701DD701CW01 FRSAMP SUPPLIER_TABLE
--15 C=* M=* N=* X=Y4 P=NONE U=N I=Y 001/001
--06CHASE ALL RELS: Y
--07DPSI=YYNN C=* M=* MAX=Q UR=Y IMAGE=N F2 V=N A=N S=N COMPRESS=N KT_EMEM=E CK_EMEM=E KT_DEGR=9 GH=Y
--52P D 0 D701CW01 FRSAMP CUSTOMER_TABLE FRSAMP
--53D7017100
--52D D 0 D701CW01 FRSAMP ORDER_TABLE
--53D7017100
--13DPSI=-YN- C=* M=* D=* X=N E=NN A
--16MISCDB2:2005-07-14 10.11.36 TSOID01
--50SOURCE COLUMN=CUSTOMER_NUMBER TYPE=CHARACTER LENGTH= 00006
--51OFFSET= 00000SUB1=00000SUB2=00000SUB3=00000NOSUB=00000PREC=00000SCALE=00000
--50TARGET COLUMN=CUST_NUM TYPE=CHARACTER LENGTH= 00006
--51OFFSET= 00000SUB1=00000SUB2=00000SUB3=00000NOSUB=00000PREC=00000SCALE=00000
--52P D 1 D701CW01 FRSAMP CUSTOMER_TABLE FRSAMP
--53D7017100
--52D D 1 D701CW01 FRSAMP CONTACT_TABLE
--53D7017100
--13DPSI=---N C=* M=* D=* X=N E= RCONTCUST
--16MISCDB2:2005-07-08-09.39.50.880402 2005-07-08-09.39.50.880402
--50SOURCE COLUMN=CUSTOMER_NUMBER TYPE=CHARACTER LENGTH= 00006
--51OFFSET= 00000SUB1=00000SUB2=00000SUB3=00000NOSUB=00000PREC=00000SCALE=00000
--50TARGET COLUMN=CUSTOMER_NUMBER TYPE=CHARACTER LENGTH= 00006
--51OFFSET= 00000SUB1=00000SUB2=00000SUB3=00000NOSUB=00000PREC=00000SCALE=00000
--52P D 2 D701CW01 FRSAMP CUSTOMER_TABLE FRSAMP
--53D7017100
--52D I 2 IX.FISAMP.DBDLIB PCUST
--13DPSI=YYNN C=* M=* D=* X=N E= A
--59C TSOID01.FRSAMP.CONDAR P0000001
--16MISCDB2:2005-07-14 10.13.52 TSOID01
369
370 File-AID/RDX Reference
A request file could contain the record types as listed in Table 19.
n
1 = Extract file
2 = Request file
3 = Extract summary file
4 = Record layout file
5 = XREF file
6 = Relationship file
7 = Profile file
8 = Input (External) Key file
B = Disguise Control file (DCF)
D = Topaz Extract Visualizer file
E = Checkpoint Control file
F = Checkpoint Data file
Y = GDG file
27 This record type contains the request description (50 bytes).
29n This record type specifies file allocation information for the corresponding type 28 files in the current
request. The third digit n specifies the file type. See type 28 for a list of the file types.
56 56 DRIVING: This record type identifies the driving object type (D=DB2, M=MVS), and object name of
the driving object at the end of the record to accommodate long object names. For Db2 objects it also
includes the location and creator ID, each providing space for the maximum length. In addition, the type
56 record contains the value specified in the Lock Table field on the Extract Scope - Object View screen,
with FUNCTION LOCK enabled (see also L (Lock Table) on page 258 and FUNCTION LOCK on page 262)
and the Db2 subsystem ID.
54 This record type is only included if record type 56, 52P or 52D is an MVS object. It follows each MVS 56,
52P or 52D record to identify the object’s layout type (S=Single, X=XREF), layout file name, member
name, and IO exit name.
54A This record type is a continuation record for record type 54. It identifies the 01 level record name.
55 This record type is only included if the preceding record type 54 is an XREF type (54X). It follows each
54X or 54A record to identify the object’s XREF file name, and member name.
44 This record type identifies the location, subsystem, creator, and table name of the base table associated
with the view you specified as the driving table. This record type occurs only when you specify a view as
the driving table. When the 44 record type occurs, it follows the 56 Driving: record type and precedes
the 56 Related: record type.
18 This record type identifies the type and name of the Input (external) Key file specified as selection input
to the driving object. Valid types are Standard and Delimited. For delimited key files type 18 record
includes the delimiter options as specified during the selection criteria specification: 1 or 2 for single (1)
or double (2) quotation marks, the column delimiter (, is default), Y or N for quotes on character data,
and Y or N for quotes on numeric data. See also Input Key File Specification on page 295.
Extract 371
• P= Passthru status:
– ALL extract all records (line command "A");
PASSTHRU don’t extract records (line command "P");
– NONE extract related records as applicable;
• PREFIX= identifies the prefix for the data disguise audit trail files
45 Identifies the File-AID Data Privacy Dynamic Privacy Rules Project name and ID as well as the Privacy Rules
Repository name for this extract request.
17 This record type contains the part of the SELECT statement generated by the key file selection input to
the driving object. It contains the Db2 column or MVS field name and the location and type of the
selection value in the key file. For delimited files, the INDSN parameter specifies the field number, for
standard files, it specifies the starting position, length, and type.
56 56RELATED: This record type identifies the object type (D=DB2, M=MVS), and object name of a related
object at the end of the record to accomodate long object names. For Db2 objects it also includes the
location and creator ID, each providing space for the maximum length. In addition, the type 56 record
contains the value specified in the Lock Table field on the Extract Scope - Object View screen, with
FUNCTION LOCK enabled (see also L (Lock Table) on page 258 and FUNCTION LOCK on page 262) and
the Db2 subsystem ID. A type 56 Related: record exists for every related object included in the extract.
372 File-AID/RDX Reference
• P= Passthru status:
– ALL extract all records (line command "A");
PASSTHRU don’t extract records (line command "P");
– NONE extract related records as applicable;
• U= unrelated object Y or N
• DPSI= The status Y, N, or - (not relevant) is given for the global Navigation controls DPSI (Direct
Path, Parent Path, Sibling Path, and Indirect Path). Direct Path status can also be C for All Children
only and P for Plus (see also Direct on page 58).
• D Dual (Bi-temporal)
• Y active or N inactive
• Date/Timestamp 1
• Date/Timestamp 2
Table 20 lists the group of record types 52P or 11, 10, 52D or 12, 13, 16, 50S or 21, 50T or 22, 51, 53,
54, 30, 31, and 32 will be present for each relationship being processed, dependent also on the
respective object type.
• DPSI= The status Y, N, or - (not relevant) is given for the Navigation controls DPSI (Direct Path,
Parent Path, Sibling Path, and Indirect Path) for each relationship.
• The remaining characters identify either the RELNAME (8 bytes) if the relationship is Db2 RI, or the
relationship description for AR.
59C This record type identifies a conditional application relationship (AR-C) and includes the name of the
conditional AR Criteria dataset and parent criteria member name (Pnnnnnnn).
16 This record type contains the relationship’s creation and last modified time, date, and user ID.
A group of record types 50Source and 50Target (old 21 and 22, or 30 to 32) will be present for each
pair of source and target columns in the relationship as listed in Table 21.
Table 21. File-AID/RDX Request File Source and Target Record Types
Record Type Description
50 Source column. This record type contains information about the source object column or field that
participates in a column/field relationship with the target object column/field described by the type
50Target column immediately following the type 51 record for the source column/field. The type
50Source column record identifies the source object’s column/field name, data type, and length.
51 This record type is a continuation record for all type 50 records. The type 51 record identifies the
column/field offset, values for subscripts 1, 2, and 3, the total number of subscripts (0, 1, 2, or 3),
precision, and scale defined for the relationship.
Extract 375
Table 21. File-AID/RDX Request File Source and Target Record Types (Continued)
Record Type Description
50 Target column. This record type contains information about the target object column or field that
participates in a column/field relationship with the source object column/field described by the type
50Source column immediately preceding the type 51 record for the source column/field. The type
50Target column record identifies the target object’s column/field name, data type, and length. It is
always followed by a 51 record type to specify the column/field values for offset and subscripts.
31 This record type contains the relationship description for this KEY relationship.
32 This record type contains the name of the extract Output Key File for this KEY relationship. It also includes
the dataset name containing the JCL for the File-AID for IMS extract if it is to be executed as a step
following the File-AID/RDX extract.
33 This record type contains the Output Key File dataset details.
A request file could also contain these different load or delete request record types listed in Table 22.
This record type identifies the location, subsystem, creator, and table name associated with the driving
table. In addition, the type 04 record contains the value specified in the Lock Table field on the Selection
Criteria Specification screen.
If you specified a view as the driving table, this record type identifies the location, subsystem, creator,
and view name associated with the view. Record type 44 identifies the location, subsystem, creator, and
the view’s base table name.
05 This record type exists only in extract criteria files created using File-AID/RDX version 1.6 and earlier.
When saving the selection criteria with File-AID/RDX version 2.0 and later it will be replaced with type
56 record.
This record type identifies the location, subsystem, creator, and table name associated with a related
table. In addition, the type 05 record contains the value specified in the Lock Table field on the Selection
Criteria Specification screen. A type 05 record exists for every related table included in the extract.
06 This record type corresponds to the value specified in the Display all relationships field on the Extract
Specification screen in File-AID/RDX versions prior to 3.0.
11 This record type exists only in extract criteria files created using File-AID/RDX version 1.6 and earlier.
When saving the extract criteria with File-AID/RDX version 2.0 and later it will be replaced with type 52P
and 53 records.
This record type contains information about the source table that is related to the table described by the
type 10 or 12 record immediately following this type 11 record. The type 11 record identifies the source
table’s location; subsystem; creator; table name; and DBMS version, release, and modification level.
10 This record type exists only in extract criteria files created using File-AID/RDX version 1.6 and earlier.
When saving the extract criteria with the File-AID/RDX version 2.0 and later it will be replaced with type
52D records.
This record type identifies the target IMS database (DBDLIB) and the target member that is related to
the table described by the type 11 record immediately preceding this type 10 record.
12 This record type exists only in extract criteria files created using File-AID/RDX version 1.6 and earlier.
When saving the extract criteria with File-AID/RDX version 2.0 and later it will be replaced with type 52D
and 53 records.
Extract 377
This record type contains information about the source table column that participates in a column
relationship with the target table column described by the type 22 record immediately following this
type 21 record. The type 21 record identifies the source table column’s name, data type, length, and
offset, if any.
22 This record type exists only in extract criteria files created using File-AID/RDX version 1.6 and earlier.
When saving the extract criteria with File-AID/RDX version 2.0 and later it will be replaced with type
50Target Column records.
This record type contains information about the target table column that participates in a column
relationship with the source table column described by the type 21 record immediately preceding this
type 22 record. The type 22 record identifies the target table column’s name, data type, length, and
offset, if any.
30 This record type exists only in extract criteria files created using File-AID/RDX version 1.6 and earlier.
When saving the extract criteria with File-AID/RDX version 2.0 and later it will be replaced with type
50Target Column records.
This record type contains information about the IMS target root segment that participates in a column
relationship with the source table column described by the type 21 record immediately preceding this
type 30 record. The type 30 record identifies the IMS target root segment’s name, data type, length, and
offset, if any.
In order to increase data security the File-AID/RDX extract file no longer includes DDL statements in
readable form. The Db2 source environment information is now captured in a masked format.
File organization
Partitioned (DSORG=PO) or sequential (DSORG=PS)
Record format
Variable-blocked (RECFM=VB)
The first four bytes at the beginning of each record indicate the record’s type and the corresponding
header record.
378 File-AID/RDX Reference
After a successful extract is performed, the extract file contains the following types of records:
Product Record — 0
The product record indicates the release of File-AID/RDX used to create the file. This is always the
first record in the file. It also includes the DBMS type and version, Db2 image copy, sort, and
compress indicators (C = compress all data, V = compress only Db2 variable column data, or blank =
no compression), date format, data status (E = Encrypted (Masked), D = Disguised), as well as the
Autocreate disabled?, D record supplement indicators, Db2 extract format Unicode or Conversion,
and extract IMPLICITLY HIDDEN columns indicator. The format of the product record is shown in
Figure 195 on page 378.
01 PRODUCT-RECORD.
05 RCD-TYPE PIC X(1) VALUE '0'.
05 RCD-TYPE-NO PIC X(3) VALUE '000'.
05 PROD-LIT PIC X(13) VALUE 'File-AID/RDX'.
05 VERSION PIC X(2) VALUE '04'.
05 PERIOD1 PIC X(1) VALUE '.'.
05 RELEASE PIC X(2) VALUE '07'.
05 PERIOD2 PIC X(1) VALUE '.'.
05 MOD PIC X(2) VALUE '00'.
05 PERIOD3 PIC X(1) VALUE '.'.
05 SUBRELEASE PIC X(2) VALUE '00'.
05 FILLER PIC X(1).
05 TIMESTAMP PIC X(26).
05 DEC_IND PIC X(1).
05 FILLER PIC X(1).
05 DBMS-TYPE PIC X(8).
05 DBMS-VERSION PIC X(8).
05 FILLER PIC X(1).
05 IMAGE-COPY PIC X(1) VALUE_’Y’_or’N’
05 SORT_IND PIC X(1) VALUE_’Y’_or’N’
05 COMPRESS-IND PIC X(1) VALUE_’C’ or’V’
05 DATE_FORMAT PIC X(4)_VALUE_’ISO’,‘USA’,’JIS’,’LOC’,’EUR’, or ‘ISOM’
05 DATA_STATUS PIC X(1) VALUE_’E’ or’D’
05 AUTOC_DISABL PIC X(1) VALUE_’Y’
05 D_REC_SUPPLM PIC X(1) VALUE_’Y’_or’N’
05 DB2_FORMAT PIC X(1) VALUE_’1’_or’2’
05 GET_HIDDEN PIC X(1) VALUE_’Y’_or’N’
Header Record — H
A header record will be present for each object included in the extract process. The format of the
header record is shown in Figure 196.
Extract 379
01 HEADER-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'H'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 SUBSYS PIC X(4).
05 OBJECT_TYP PIC X(1).
05 OBJECT_NAME PIC X(52).
10 LOCATION PIC X(16).
10 CREATOR PIC X(8).
10 TBNAME PIC X(18).
10 FILLER PIC X(10).
05 RI-DEP-IND PIC X(1).
05 FILLER PIC X(1).
05 BPOOL PIC X(9).
05 FILLER PIC X(2).
05 SUPPL_SW PIC X(1)
05 CCSID PIC X(5)
05 OBJECT_NAME_LONG PIC X(272).
10 LOCATION PIC X(16).
10 CREATOR PIC X(128).
10 TBNAME PIC X(128).
05 ORIG_OBJ_NAME PIC X(272).
10 LOCATION PIC X(16).
10 CREATOR PIC X(128).
10 TBNAME PIC X(128).
RCD-TYPE
A value of ’H’ will be present in this field. The value ’H’ indicates that this is a header record.
RCD-TYPE-NO
A three-digit alphanumeric ID that identifies the record in the file. This field is referenced by
create records and data records that contain the same three-digit alphanumeric ID in the RCD-
TYPE-NO field.
SUBSYS
The Db2 subsystem on which the table name identified in the CREATOR and TBNAME field
exists. Blank for MVS objects.
OBJECT_TYPE
Identifies the object type: D = DB2, M = MVS.
OBJECT_NAME
Identifies the object name. If object type is M the full MVS file name is listed. If object type is D
the location, creator and table names are listed instead:
LOCATION The location at which the Db2 table name identified in the CREATOR and
TBNAME fields exists.
CREATOR The authorization ID of the owner of the table in the TBNAME field (blank,
if Db2 long object name).
TBNAME The name of the table to which this header record corresponds (blank, if
Db2 long object name).
380 File-AID/RDX Reference
RI-DEP-IND
A value of 'Y' indicates that the Db2 table identified by the CREATOR and TBNAME fields is a
dependent in a Db2 RI relationship.
BPOOL
Buffer pool where creator.tbname resides. Only used when table contains either LVCHAR or
LVGRPH columns.
SUPPL_SW
If the D record supplement indicator is set to Y, the D record also includes a record number that
ensures that data extracted from an MVS file without an index but with an XREF, will be loaded
to the target in the sequence in which they were read.
CCSID
Identifies the CCSID for an MVS object.
OBJECT_NAME_LONG
Identifies the object name; if object type is M the full MVS file name is listed; if object type is D
the location, creator and table names are listed instead:
LOCATION The location at which the Db2 table name identified in the CREATOR and
TBNAME fields exists.
CREATOR The authorization ID of the owner of the table in the TBNAME field.
TBNAME The name of the table to which this header record corresponds.
ORIG_OBJ_NAME
Identifies the original object name if the extract request has been cloned. If object type is M the
full MVS file name is listed; if object type is D the location, creator and table names are listed
instead:
LOCATION The location at which the Db2 table name identified in the CREATOR and
TBNAME fields exists.
CREATOR The authorization ID of the owner of the table in the TBNAME field.
TBNAME The name of the table to which this header record corresponds.
01 BASE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'B'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 SUBSYS PIC X(4).
05 LOCATION PIC X(16).
05 CREATOR PIC X(8).
05 TBNAME PIC X(18).
05 RI-DEP-IND PIC X(1).
05 FILLER PIC X(1).
05 BPOOL PIC X(9).
The following is an explanation of the fields contained in the base table record layout:
RCD-TYPE
A value of ’B’ will be present in this field. The value ’B’ indicates that this is a base table record.
RCD-TYPE-NO
A three-digit number that identifies the record in the file. This field is referenced by create
records and data records that contain the same three-digit number in the RCD-TYPE-NO field.
SUBSYS
The Db2 subsystem on which the table name identified in the CREATOR and TBNAME field
exists.
LOCATION
The location at which the table name identified in the CREATOR and TBNAME fields exists.
CREATOR
The authorization ID of the owner of the table in the TBNAME field.
TBNAME
The name of the table to which this base table record corresponds.
RI-DEP-IND
A value of ’Y’ indicates that the table identified by the CREATOR and TBNAME fields is a
dependent in a Db2 RI relationship.
BPOOL
Buffer pool where creator.tbname resides. Only used when table contains either LVCHAR or
LVGRPH columns.
382 File-AID/RDX Reference
01 CREATE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'F'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 CREATE-TEXT PIC X(76).
The following is an explanation of the fields contained in the database create record layout:
RCD-TYPE
A value of 'F' will be present in this field. The value 'F' indicates that this is a database create
record.
RCD-TYPE-NO
A three-digit sequence number that keeps track of the number of databases in the extract. For
example, a value of '002' indicates it is the second database in the extract.
CREATE-TEXT
Contains the Db2 DDL required to create or alter databases.
01 CREATE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'G'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 CREATE-TEXT PIC X(76).
The following is an explanation of the fields contained in the tablespace create record layout:
RCD-TYPE
A value of 'G' will be present in this field. The value 'G' indicates that this is a tablespace create
record.
Extract 383
RCD-TYPE-NO
A three-digit sequence number that keeps track of the number of tablespaces in the extract. For
example, a value of '002' indicates it is the second tablespace in the extract.
CREATE-TEXT
Contains the Db2 DDL required to create or alter tablespaces.
In order to increase data security the File-AID/RDX extract file no longer includes DDL statements in
readable form. The Db2 source environment information is now captured in a masked format.
01 CREATE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'C'.
05 RCD-TYPE-NO PIC X(3) VALUE '001'.
05 CREATE-ATTR BIN X(..).
The following is an explanation of the fields contained in the Db2 Source Environment record layout:
RCD-TYPE
A value of 'C' will be present in this field. The value 'C' indicates that this is a Db2 Source
Environment record.
RCD-TYPE-NO
A value of '001' will be present in this field. The value '001' indicates that this is a Db2 Source
Environment record.
CREATE-ATTR
Contains the Db2 Source Environment information for the extracted Db2 object in a masked
format.
01 CREATE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'E'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 CREATE-ATTR BIN X(..).
The following is an explanation of the fields contained in the MVS file create record layout:
RCD-TYPE
A value of 'E' will be present in this field. The value 'E' indicates that this is a MVS file create
record.
RCD-TYPE-NO
A three-digit alphanumeric ID that corresponds to the header record number indicating the
object to which this record corresponds. For example, if a value of '002' is present, look at record
type 'H002' to determine the object to which this record corresponds.
CREATE-ATTR
Contains the binary records for allocation information for the file, alternate indexes information,
path definitions, and map data. All data is related to the object identified in the corresponding
'Hnnn' record.
01 CREATE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'V'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 CREATE-TEXT PIC X(76).
The following is an explanation of the fields contained in the view create record layout:
RCD-TYPE
A value of 'V' will be present in this field. The value 'V' indicates that this is a view create record.
RCD-TYPE-NO
A three-digit alphanumeric that corresponds to the header record number indicating the view to
which this record corresponds. For example, if a value of '002' is present, look at record type
'H002' to determine the view to which this record corresponds.
Extract 385
CREATE-TEXT
Contains the Db2 DDL required to create views. All DDL is related to the view identified in the
corresponding 'Hnnn' record.
01 CREATE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'A'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 CREATE-TEXT PIC X(76).
The following is an explanation of the fields contained in the alias create record layout:
RCD-TYPE
A value of 'A' will be present in this field. The value 'A' indicates that this is a alias create record.
RCD-TYPE-NO
A three-digit sequence number that keeps track of the number of aliases in the extract. For
example, a value of '002' indicates it is the second alias in the extract.
CREATE-TEXT
Contains the Db2 DDL required to create or alter aliases.
01 CREATE-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'S'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 CREATE-TEXT PIC X(76).
The following is an explanation of the fields contained in the synonym create record layout:
RCD-TYPE
A value of 'S' will be present in this field. The value 'S' indicates that this is a synonym create
record.
386 File-AID/RDX Reference
RCD-TYPE-NO
A three-digit sequence number that keeps track of the number of synonyms in the extract. For
example, a value of '002' indicates it is the second synonym in the extract.
CREATE-TEXT
Contains the Db2 DDL required to create or alter synonyms. All DDL is related to the table
identified in the corresponding ’Hnnn’ record.
Map Record — M
(Obsolete - only applies to extracts created with File-AID/RDX Release 2.5.1 or earlier.) The map
record is only generated when you specify NO in the Capture Table and Index DDL for the LOAD
Auto Create feature field in the LOAD Related Processing Options pop-up window. The map record is
similar to the create record except that the map record is only used during load processing for
column mapping. The format of the map record is shown in Figure 205 on page 386.
01 MAP-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'M'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 MAP-TEXT PIC X(76).
The following is an explanation of the fields contained in the map record layout:
RCD-TYPE
A value of 'M' will be present in this field. The value 'M' indicates that this is a map record.
RCD-TYPE-NO
A three-digit number that corresponds to the header record number indicating to which table
this record corresponds. For example, if a value of '002' is present, look at record type 'H002' to
determine to which table this record corresponds.
MAP-TEXT
Contains the Db2 DDL used during load processing for column mapping. All DDL is related to
the table identified in the corresponding 'Hnnn' record.
Relationship Record — R
The relationship record is generated when your extract includes related objects. It contains the
relationship information for the related objects when the extract was created. File-AID/RDX uses this
information when disguising the extract using the File-AID Data Privacy plugin of the Topaz
Workbench. The format of the relationship record is shown in Figure 206.
In order to increase data security of the File-AID/RDX extract file the relationship information is not
in readable form.
Extract 387
01 RELATIONSHIP-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'R'.
05 RCD-TYPE-NO PIC X(3) VALUE '001'.
05 CREATE-ATTR BIN X(..).
The following is an explanation of the fields contained in the relationship record layout:
RCD-TYPE
A value of 'R' will be present in this field. The value 'R' indicates that this is a relationship record.
RCD-TYPE-NO
A value of '001' will be present in this field. The value '001' indicates that this is a relationship
record.
CREATE-ATTR
Contains the relationship information for the extracted Db2 objects in a masked format.
Data Record — D
The data record contains the actual data extracted from Db2 and MVS objects. The format of the data
record is shown in Figure 207.
01 DATA-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'D'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 ROW-DATA PIC X.
The following is an explanation of the fields contained in the data record layout:
RCD-TYPE
A value of 'D' will be present in this field. The value 'D' indicates that this is a data record.
RCD-TYPE-NO
A three-digit alphanumeric that corresponds to the header record number, indicating the table
from which this record was extracted. For example, if a value of '002' was present, look at record
type 'H002' to determine the table from which this record was extracted.
ROW-DATA
Contains the contents of the row. The length of this field depends on the length of the row. Data
records are in compressed form if the extract file was created with the compression option (see
also Compress on page 339).
388 File-AID/RDX Reference
If the D record supplement indicator in the product record (see Product Record — 0 on page 378)
is set to Y, the D record also includes a record number that ensures that data extracted from an
MVS file without an index but with an XREF, will be loaded to the target in the sequence in
which they were read.
01 DATA-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'x'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 ROW-DATA PIC X.
The following is an explanation of the fields contained in the XML/LOB data record layout:
RCD-TYPE
A value of 'x' will be present in this field. The value 'x' indicates that this is a XML or LOB data
record.
RCD-TYPE-NO
A three-digit alphanumeric ID that corresponds to the header record number, indicating the table
from which this record was extracted. For example, if a value of '002' was present, look at record
type 'H002' to determine the table from which this record was extracted.
ROW-DATA
Contains the contents of the row. The length of this field depends on the length of the row.
XML/LOB data records are in a masked format to provide data security.
Order Record — O
The order records are used to record the order in which objects were extracted. The format of the data
record is shown in Figure 209.
01 ORDER-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'O'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 NBR_ENTS PIC S9(9) COMP.
The following is an explanation of the fields contained in the order record layout:
RCD-TYPE
A value of 'O' will be present in this field. The value 'O' indicates that this is an order record.
Extract 389
RCD-TYPE-NO
A three-digit alphanumeric that corresponds to the header record number, indicating the table
from which this record was extracted. For example, if a value of '002' was present, look at record
type 'H002' to determine the object from which this record was extracted.
NBR_ENTS
The first ‘O’ record and the last ‘O’ record identify the total number of ‘O’ records in this extract
in binary.
Trailer Record — T
A trailer record will be present for each header record in the extract. The format of the trailer record is
shown in Figure 210.
01 TRAILER-RECORD.
05 RCD-TYPE PIC X(1) VALUE 'T'.
05 RCD-TYPE-NO PIC X(3) VALUE 'nnn'.
05 SUBSYSTEM PIC X(4).
05 OBJECT_NAME PIC X(52).
10 LOCATION PIC X(16).
10 CREATOR PIC X(8).
10 TABLE-NAME PIC X(18).
10 FILLER PIC X(10).
05 ROW-COUNT PIC X(8).
05 OBJECT_TYP PIC X(1).
05 RCD_LENGTH PIC X(8).
05 NUM_PARTITIONS PIC X(1) VALUE 'Y'.
05 PARTKEYCOLNUM PIC X(1) VALUE 'Y'.
05 SECURITY_LABEL PIC X(1) VALUE 'Y'.
05 SPLIT_ROWS PIC X(1) VALUE 'Y'.
05 FILLER PIC X(9).
05 OBJNAME_DB2V8 PIC X(272).
10 LOCATION PIC X(16).
10 CREATOR PIC X(128).
10 TABLE-NAME PIC X(128).
05 XML_TOT PIC S9(09) COMP-5.
05 XML_MAX PIC S9(09) COMP-5.
The following is an explanation of the fields contained in the trailer record layout:
RCD-TYPE
A value of 'T' will be present. The value 'T' indicates that this is a trailer record.
RCD-TYPE-NO
A three-digit alphanumeric that corresponds to the header record number, indicating the object
to which this record refers. For example, if a value of '002' was present, look at record type 'H002'
to determine the object to which this record refers.
SUBSYSTEM
The Db2 subsystem in which the object corresponding to this record exists. Blank for MVS
objects.
390 File-AID/RDX Reference
OBJECT_NAME
Identifies the object name; if object type is M the full MVS file name is listed; if object type is D
the location, creator and table names are listed instead:
LOCATION The location at which the table corresponding to this record exists.
CREATOR The authorization ID of the owner of the table corresponding to this
record (blank, if Db2 long object name).
TABLE-NAME The name of the table to which this record corresponds (blank, if Db2
long object name).
FILLER Filler.
ROW-COUNT
The number of rows extracted from the table that corresponds to this record.
OBJECT_TYPE
Identifies the object type: D = DB2, M = MVS.
RCD_LENGTH
The maximum record length extracted from the object that corresponds to this record.
OBJ_SIZE
The number of bytes (Kilobytes?) per object extracted from the object that corresponds to this
record.
NUM_PARTITIONS
If the number of tablespace partitions is greater than 254, this indicator is set to Y (Autocreate
disabled).
PARTKEYCOLNUM
If table controlled partitioning is used, this indicator is set to Y (Autocreate disabled).
SECURITY_LABEL
If the security_label is R, this indicator is set to Y (Autocreate disabled).
SPLIT_ROWS
If split rows is enabled, this indicator is set to Y (Autocreate disabled).
Extract 391
OBJNAME_DB2V8
Identifies the object name in its full length; if object type is M the full MVS file name is listed; if
object type is D the location, creator and table names are listed instead:
LOCATION The location at which the table corresponding to this record exists.
CREATOR The authorization ID of the owner of the table corresponding to this
record (up to 128 characters).
TABLE-NAME The name of the table to which this record corresponds (up to 128
characters).
XML_TOT
Total length in Kilobytes (in binary format) of all XML or LOB columns for the table that
corresponds to this record.
XML_MAX
Maximum size in Kilobytes (in binary format) of an XML or LOB value for the table that
corresponds to this record.
Work files
During an extract, File-AID/RDX creates some work files that it deletes after extract execution.
userid.prefix.*.Dnnnnnn.Tnnnnnn.suffix
Where prefix is set by the profile variable File Prefix (see File Prefix on page 81), and * is either
EXTCRIT or PARMS, and suffix is set by the profile variable File Suffix (see File Suffix on page 81).
Periodically, you may want to manually delete any left-over work files from incomplete extracts that
are no longer needed.
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 16:
Return Codes
An execution return code (RC) appears in the output listing. For return codes other than 0, an error
code and message indicating the specific problem also appear in the listing. In general, the return
codes can be summarized as follows:
File organization
Partitioned (DSORG=PO) or sequential (DSORG=PS)
Record format
Fixed-blocked (RECFM=FB)
Extract 393
If you specify a new file (DISP=NEW), the file organization can be sequential or partitioned.
The record layout file includes the layout for all extracted objects, either in COBOL, PL/I, or FA
COBOL format.
1. When you ask File-AID/RDX to create only a record layout (Create XREF = NO) for MVS
objects, the resulting layout is only for the complete extracted record, not the fields
within the record (see layout for object FARDX.SAMP.OBJA.KSDS shown in Figure 215 on
page 396).
2. When the record layout is requested together with an XREF for the extract file, record
layouts are only created for all Db2 objects. For MVS objects, the XREF points to the
source layout, the one used when the relationship was defined. The XREF assumes that
it is the layout file specified with the Create Record Layout function (see MVS File Create
Record — E on page 383). Also, the generated record layout includes a default layout for
all non-data records (see Figure 213 on page 394 and Figure 215 on page 396).
****************************************************************
* COBOL RECORD LAYOUT FOR FRSAMP ORDER_TABLE *
******************************************************************
01 FRSAMP-ORDER-TABLE.
05 RECORD-ID-D002 PIC X(4).
05 NULL-INDICATORS.
10 ORD-STAT PIC S9(4) COMP.
10 ORD-AMOUNT PIC S9(4) COMP.
10 ORD-DEPOSIT PIC S9(4) COMP.
10 SHIP-CODE PIC S9(4) COMP.
10 SHIP-DATE PIC S9(4) COMP.
10 ORD-DESCRIPTION PIC S9(4) COMP.
05 COBOL-ORDER-TABLE.
10 ORDER-NUMBER PIC X(6).
10 CUST-NUM PIC X(6).
10 SOC-SEC-NUM PIC X(11).
10 CREDIT-CARD-NUM PIC X(16).
10 ORD-TYPE PIC X(8).
10 ORD-DATE PIC X(10).
10 ORD-STAT PIC X(8).
10 ORD-AMOUNT PIC S9(7)V9(2) COMP-3.
10 ORD-DEPOSIT PIC S9(7)V9(2) COMP-3.
10 ORD-LINE-COUNT PIC S9(9) COMP.
10 SHIP-CODE PIC X(2).
10 SHIP-DATE PIC X(10).
10 ORD-DESCRIPTION.
49 LENGTH PIC S9(4) COMP.
49 TEXT PIC X(100).
a record layout and XREF (Create XREF=YES), the layout file includes a default layout for all non-data
records.
/******************************************************************/
/* PLI RECORD LAYOUT FOR TABLE TSOID01 CUSTOMER_TABLE */
/******************************************************************/
DCL 1 TSOID01_CUSTOMER_TABLE UNALIGNED,
5 NULL_INDICATORS UNALIGNED,
10 CONTACT_TITLE_NULL BIN FIXED(15),
10 CONTACT_ADDR_NULL BIN FIXED(15),
10 CONTACT_CITY_NULL BIN FIXED(15),
10 CONTACT_STATE_NULL BIN FIXED(15),
10 CONTACT_ZIP_NULL BIN FIXED(15),
10 CONTACT_COUNTRY_NULL BIN FIXED(15),
10 CONTACT_AREA_CD_NULL BIN FIXED(15),
10 CONTACT_TELEPHONE_NULL BIN FIXED(15),
5 PLI_CUSTOMER_TABLE UNALIGNED,
10 CUSTOMER_NUMBER CHAR(6),
10 COMPANY_NAME CHAR(30),
10 ADDRESS CHAR(30),
10 CITY CHAR(25),
10 STATE CHAR(2),
10 ZIP_CODE CHAR(9),
10 COUNTRY CHAR(20),
10 AREA_CODE CHAR(3),
10 TELEPHONE_NUM CHAR(7),
10 CONTACT_NAME CHAR(30),
10 CONTACT_TITLE CHAR(30),
10 CONTACT_ADDR CHAR(30),
10 CONTACT_CITY CHAR(25),
10 CONTACT_STATE CHAR(2),
10 CONTACT_ZIP CHAR(9),
10 CONTACT_COUNTRY CHAR(10),
10 CONTACT_AREA_CD CHAR(3),
10 CONTACT_TELEPHONE CHAR(7);
/********************************************************************/
/* PLI RECORD LAYOUT FOR */
/* OBJECT: NON-DATA-RECORDS */
/* LAYOUT DSN: NOT.APPLICABLE */
/* LAYOUT MEMBER: DEFAULT */
/* 01 LEVEL NAME: OBJECT_DFLT */
/********************************************************************/
DCL 1 OBJECT_DFLT,
5 RECORD_ID_DFLT_DATA CHAR(27958);
FA COBOL creates a File-AID COBOL layout with special type VAR for Db2 column type VCHAR or
VC, for example when the ORD-DESCRIPTION column is defined to Db2 as VARCHAR(100), with FA
COBOL it will be generated as
10 ORD-DESCRIPTION PIC X(100) VAR . Use FA COBOL layout format when you need to define
disguise criteria for Db2 tables with column type VCHAR or VC.
Extract 395
****************************************************************
* COBOL RECORD LAYOUT FOR FRSAMP ORDER_TABLE *
******************************************************************
01 FRSAMP-ORDER-TABLE.
05 RECORD-ID-D002 PIC X(4).
05 NULL-INDICATORS.
10 ORD-STAT PIC S9(4) COMP.
10 ORD-AMOUNT PIC S9(4) COMP.
10 ORD-DEPOSIT PIC S9(4) COMP.
10 SHIP-CODE PIC S9(4) COMP.
10 SHIP-DATE PIC S9(4) COMP.
10 ORD-DESCRIPTION PIC S9(4) COMP.
05 COBOL-ORDER-TABLE.
10 ORDER-NUMBER PIC X(6).
10 CUST-NUM PIC X(6).
10 SOC-SEC-NUM PIC X(11).
10 CREDIT-CARD-NUM PIC X(16).
10 ORD-TYPE PIC X(8).
10 ORD-DATE PIC X(10).
10 ORD-STAT PIC X(8).
10 ORD-AMOUNT PIC S9(7)V9(2) COMP-3.
10 ORD-DEPOSIT PIC S9(7)V9(2) COMP-3.
10 ORD-LINE-COUNT PIC S9(9) COMP.
10 SHIP-CODE PIC X(2).
10 SHIP-DATE PIC X(10).
10 ORD-DESCRIPTION PIC X(100) VAR.
File organization
Partitioned (DSORG=PO)
Record format
Variable-blocked (RECFM=VB)
The XREF file includes the record layout cross reference information for all extracted objects.
/*
/* CAUTION: If manually editing this member, STATS must be OFF
/* when saving it. Statistics will overlay information in the
/* directory entry needed by File-AID when loading Selection
/* Criteria and XREFs, rendering the member unusable.
/*
/* COMPUWARE assumes no liability for results of using members
/* that have been edited manually.
/*
DEFINEBLOCKS=XREF,
DESCRIPTION ="FILE-AID/RDX GENERATED XREF",
LAYOUT_DSNAME=TSOID01.LAYOUT.PLI,
LAYOUT_FILLER=4
SELECT SET=1,LAYOUT=FRSAMP_CUSTOMER_TABLE,
LAYOUT_MBRNAME=PLIXREF,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D007
SELECT SET=1,LAYOUT=FRSAMP_CONTACT_TABLE,
LAYOUT_MBRNAME=PLIXREF,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D008
SELECT SET=1,LAYOUT=PROD001_PART_TABLE,
LAYOUT_MBRNAME=PARTTABL,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D001
SELECT SET=1,LAYOUT=PROD001_SUPPLIER_TABLE,
LAYOUT_MBRNAME=SUPPLIER,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D002
SELECT SET=1,LAYOUT=PROD001_CUSTOMER_TABLE,
LAYOUT_MBRNAME=CUSTOMER,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D003
SELECT SET=1,LAYOUT=PROD001_ORDER_TABLE,
LAYOUT_MBRNAME=ORDERTAB,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D004
SELECT SET=1,LAYOUT=PROD001_ORDER_LINE_TABLE,
LAYOUT_MBRNAME=ORDERLIN,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D005
SELECT SET=1,LAYOUT=PROD001_CONTACT_TABLE,
LAYOUT_MBRNAME=CONTACTT,
LAYOUT_TYPE=BASE
IF
POSITION=1,LENGTH=4,OPERATOR=EQ,
TYPE=T,VALUE=D006
SELECT SET=1,LAYOUT=OBJECT_DFLT,
LAYOUT_MBRNAME=PLIXREF,
LAYOUT_TYPE=DEFAULT
Extract 397
File organization
Partitioned (DSORG=PO) or sequential (DSORG=PS)
Record format
Variable-blocked (RECFM=VBA)
The Data Visualizer component of the Topaz Workbench can use this file to produce a graphical
display with detailed information about extract processing.
File organization
Partitioned (DSORG=PO) or sequential (DSORG=PS)
Record format
Variable-blocked (RECFM=VB)
File organization
Partitioned (DSORG=PO) or sequential (DSORG=PS)
Record format
Variable-blocked (RECFM=VB)
Extract Reports
After the extract job is submitted and executed, an extract report is printed. This report consists of
the following parts:
The Extract Progress Report displays the extract progress for each object. It includes the following
information:
Time
Shows the time when the progress report for this object was written.
Rows
The number of rows (records) extracted from the current object so far. The update interval can be
set with the User Parm "Table Progress Row Count" (see also Option 0—Profile on page 49). In this
example the progress row count parameter was set at 25.
Extracted Object
The name of the object from which data has been extracted so far.
400 File-AID/RDX Reference
This report shows the name of the extract file, extract request file, relationship file, driving object,
input key file (if specified), and a list of the referential integrity and application relationships used in
the extract process. In addition, the Db2 subsystem ID or its remote location ID is shown.
This report does not include any excluded objects. Excluded objects are listed separately in the
Relationship Navigation and Sampling Excluded Object Report.
Status
Displays the Excluded status for each relationship excluded from the current extract process.
Extract 401
Navigation Information:
D (Direct)
Y = Extract all of the dependents of the driving object and their dependents.
N = Don’t extract any of the dependents of the driving object and their dependents.
- (dash) = Not meaningful for this relationship, it’s not the driving object or a direct dependent.
P (Parent)
Y = Extract parents of all extracted data to maintain the integrity of the extracted data.
S (Sibling)
Y = Extract other dependents of the extracted parents from the same relationships.
I (Indirect)
Y = Extract other dependents of the extracted parents from other relationships.
Sampling Information:
Cycle
The maximum number of cycles for all relationships leading from the object. Cycle count limits
the number of times a relationship is visited during an extract.
Max Rows
The maximum number of rows to extract via downward navigation (direct, indirect and sibling)
of this relationship.
Deps
The maximum number of dependent records to be extracted for each parent record extracted. An
asterisk (*) indicates that File-AID/RDX extracted all dependent records. This value is used only
when extract processing proceeds from a parent object to a dependent object.
Relationship Information:
Type
The kind of relationship that exists between each pair of corresponding tables.
RELNAME or Desc
Displays the RELNAME for RI relationships or the defined description for application
relationships (AR).
402 File-AID/RDX Reference
Parent
The name of the object defined as the parent in an RI or application relationship.
Dependent
The name of the object defined as the dependent (child) in an RI or application relationship.
Layout
The name of the record layout file defined in a KEY relationship.
File-AID/RDX 17.02.00 Relationship Navigation and Sampling Excluded Object Report PAGE 1
DATE 2014-09-02
Extract File. . : TSOID01.FR44.EXTRACT(Member) TIME 09.01.06
Extract Request : TSOID01.RDX.EXTCRIT.D050815.T090104 SSID DSN
Relationships : TSOID01.FR44.RELATION
Driving Object. : D-LOCATION_1____+_.CREATOR__1____+____2____+____3____+____4____+____5____+____6____+____7____+____8____+____9_____
+___10____+___11____+___12____+___.TABLE____1____+____2____+____3____+____4____+____5____+____6____+____7____+__
__8____+____9____+___10____+___11____+___12____+___
Status D P S I Cycle MaxRows Deps Relationship
---------- - - - - ------ ------- ----- -------------------------------------------------------------------------------------------
Excl User - - - - * * * AR Desc:
Parent: D-DSNLOCAT.TSOID01.EMP
Dependent: D-DSNLOCAT.TSOID01.DEPT
* * * END OF REPORT * * *
Refer to Relationship Navigation and Sampling Report for the description of the report fields.
This report does not include any excluded objects. Excluded objects are listed separately in the Object
Sampling and Selection Criteria Excluded Object Report.
404 File-AID/RDX Reference
This report consists of three parts. The first part shows the following:
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
• The Db2 subsystem ID and the Db2 remote location ID.
• The name of the extract request file. If the extract request file is a PDS, the member name is also
displayed.
• The name of the relationship file.
• The name of the extract’s driving object.
• The name of the Input (External) Keys File, if one is used for the extract.
The second part shows the values specified for the following extract scope parameters:
The third part shows a list of the criteria sets in the extract including the following for each set:
Figure 220. Object Sampling and Selection Criteria Excluded Object Report
File-AID/RDX 17.02.00 Object Sampling and Selection Criteria Excluded Object Report PAGE 1
DATE 2014-09-02
Extract File. . . : TSOID01.FR44.EXTRACT(Member) TIME 09.01.06
Extract Request .: TSOID01.RDX.EXTCRIT.D050815.T090104 SSID DSN
Relationships : TSOID01.FR44.RELATION
Driving Object. . : D-LOCATION_1____+_.CREATOR__1____+____2____+____3____+____4____+____5____+____6____+____7____+____8____+____9___
__+___10____+___11____+___12____+___.TABLE____1____+____2____+____3____+____4____+____5____+____6____+____7___
_+____8____+____9____+___10____+___11____+___12____+___
Input Keys File: TSOID01.R43.KEYS(EMPKEYS)
---------------------------------------------------- Extract Scope Information -----------------------------------------------------
Cycle count. . . . . . . . . . . . . . . . . . . : * (* for no maximum)
Maximum total rows/objects from all objects. . . : *
Action when maximum rows/records count is reached: QUIESCE
Extract from DB2 using Uncommitted Reads. . . . .: YES
Extract IMPLICITLY HIDDEN columns. . . . . . . . : NO
Extract from Image Copy. . . . . . . . . . . . . : NO
Temporal Parameters:
Temporal Table Present . . . . . . . . . . . . . : D
Use Business Time. . . . . . . . . . . . . . . . : Y
Type of Business Time Criteria . . . . . . . . . : AS OF
Business Start . . . . . . . . . . . . . . . . . : 2011-07-23
Business End . . . . . . . . . . . . . . . . . . :
Use System Time. . . . . . . . . . . . . . . . . : Y
Type of System Time Criteria . . . . . . . . . . : AS OF
System Start . . . . . . . . . . . . . . . . . . : 2011-07-23-00.00.01
System End . . . . . . . . . . . . . . . . . . . :
------------------------------------------------ Criteria Set 1 of 2 - Object Information -------------------------------------------
Status Cycle MaxRows NTH Object Criteria
---------- ------ ------- ---- -----------------------------------------------------------------------------------------------------
* * * D-DSNLOCAT.TSOID01.ACT
***** This object was excluded from extract by the user *****
* * * M-TSOID01.FASAMP.EMPLOYEE
***** This object was excluded from extract due to extract scope *****
Layout. . . .: TSOID01.FASAMP.LAYOUTS(EMPLOYEE)
01 Level Name: EMPLOYEE-MASTER-FILE
------------------------------------------------ Criteria Set 2 of 2 - Object Information -------------------------------------------
Status Cycle MaxRows NTH Object Criteria
---------- ------ ------- ---- -----------------------------------------------------------------------------------------------------
* * * M-TSOID01.FASAMP.EMPMAST
***** This object was excluded from extract by the user *****
* * * M-TSOID01.FASAMP.EMPLOYEE
***** This object was excluded from extract due to extract scope *****
Layout. . . .: TSOID01.FASAMP.LAYOUTS(EMPLOYEE)
01 Level Name: EMPLOYEE-MASTER-FILE
* * * END OF REPORT * * *
Refer to Object Sampling and Selection Criteria Report for the description of the report fields.
406 File-AID/RDX Reference
The Extract Summary Report consists of two parts. The first part shows the following:
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
• The Db2 subsystem ID and the Db2 remote location ID.
• The name of the extract request file. If the extract request file is a PDS, the member name is also
displayed.
• The compression type.
• The name of the extract’s driving object.
• The name of the Input (External) Keys File, if one is used for the extract.
• The view/base table summary, if Db2 views are part of the extract.
The second part of the report shows the following statistics for each object from which data was
extracted.
ID
The extract object ID (Dnnn) of the object from which data was extracted.
Rows
The number of rows extracted from the object listed in the Extracted Objects and Relationships
column.
Parent Displays the name of the parent object for the relationship on this line.
Dependent Displays the name of the dependent object corresponding to the above
parent object.
Additional Messages
Lists any additional extract message that applies to the extracted object. Possible Messages
include:
Refer to Extract Summary Report for the description of the report fields.
408 File-AID/RDX Reference
This report does not address the situation where an index is damaged
(advisory REORG pending).
• Relationship columns
• Index used for SQL SELECT statement generation (if an index exists)
• Action suggested
Extract 409
Index Report
Index info for table: DSN8910.PROJ
table cardinality = 20 number of indexes 2
Dependent in relationship (name): RPP
Relationship columns are:
MAJPROJ
Index definition used for SQL generation is no index available, no acceptable index
Possible usage = tscan only, version:
Action suggested: create an index using the relationship columns if a TSCAN is to be avoided.
It is suggested that a column with high cardinality be the first column of the index.
Index info for table: DSN8910.PROJACT
table cardinality = 77 number of indexes 1
Dependent in relationship (name): RPAP
Relationship columns are:
PROJNO
Index definition used for SQL generation is DSN8910.XPROJAC1, index cardinality: 77 unique
Possible usage = high level partial, relationship cardinality = 86, version: 2
All relationship columns are included in the index (high order columns) but there are
columns after the relationship columns that reduce the effectiveness of the index.
Index info for table: DSN8910.EMPPROJACT
table cardinality = 74 number of indexes 2
Dependent in relationship (name): REPAPA
Relationship columns are:
PROJNO
ACTNO
EMSTDATE
Index definition used for SQL generation is DSN8910.XEMPPROJACT1, index cardinality: 74 unique
Possible usage = high level partial, relationship cardinality = 27, version: 2
All relationship columns are included in the index (high order columns) but there are
columns after the relationship columns that reduce the effectiveness of the index.
• Presence of a column in the index that cannot be used for the particular relationship being
traversed. This makes any subsequent columns in the index unusable.”
RDX "hybrid" scan is possible. This is caused when an index is available but at least
one relationship column is not properly positioned in the index.
FK_LCBS_SPEC_YR cardinality = 5 match
FK_LCBS_SPEC_JUL cardinality = 100 match
FK_LCBS_SPEC_ACC cardinality = 154 match
FK_LCBS_SPEC_SEQ cardinality = 800 match
FK_LCBS_SPEC_SUF cardinality = 8 match
FK_LAB_TYPE_CD cardinality = 1 not matched
FK_POS_LAB_CD cardinality = 60 not matched
This index is missing 1 relationship columns.
410 File-AID/RDX Reference
411
Load
Overview
This chapter describes Option 3, Load. The Load option is used to load data from the File-AID/RDX
extract DASD or tape file into multiple related objects. The objects can be MVS files and/or Db2
tables. The Load option consists of an interactive phase and an execution phase.
Before you can load an extract file on tape you must specify an extract
summary file, previously known as an extract tape control file (see Extract
File Specification on page 419).
The interactive phase takes place online and consists of a File-AID/RDX Load menu that allows you to
provide information about the following:
Using this information, File-AID/RDX builds a series of steps to be performed during the execution
phase. You can then edit and save the load JCL created by File-AID/RDX before you submit it. Your
installation may also permit interactive (online) execution of the load.
In addition, you can create a single request member combining extract and load specifications. See
Extract and Checkpoint/Resumption on page 347 for more information about combining extract and
load specifications.
During the execution phase, you can load data into objects that contain data or load it into empty
objects. When loading into Db2 objects you have the choice of using either IBM’s Db2 LOAD utility
or SQL INSERT processing.
Target objects that do not exist can be created automatically as long as their create information was
obtained during the extract.
You can delete all existing data before loading, replace existing rows with records from the extract
file, or leave existing rows intact, only adding rows to the object. You can perform column-to-column
mapping to insert or load data to objects that are defined differently from the extracted objects.
File-AID/RDX verifies user authority before performing certain operations. See Db2 Privileges on page
547 for more information.
whether File-AID/RDX generates the PERIODOVERRIDE clause when loading data to SYSTEM
TEMPORAL tables (see Preserve Temporal on page 427).
1. The Load Auto Create feature does not support Archive tables.
2. Using the DB2 Load option with an archive-enabled table is not
supported.
GDG Considerations
The name displayed for the source object is the absolute generation of the GDS extracted. File-
AID/RDX generates relative generation numbers for objects in the target environment, keeping the
generations in the same order as they were in the source environment. You may overtype the
generated name with a different name. The target object can be a GDS with either a relative or
absolute generation or it can be a regular non-GDG dataset. Specifying the GDG base without a
version is invalid for a Target object.
File-AID/RDX does not support extracting from and loading to tape datasets.
The reference lists for Load and Delete share the same entries. Delete requests are not eligible for load
processing.
Use this screen to select a load request from the list or start a new load request. File-AID/RDX adds a
load request to the list when a request is saved from the Load Menu. In addition, whenever you have
successfully executed an extract, File-AID/RDX places an entry with the extract file name into the
load reference list. However, extracts that originate from the “Single Panel Extract” function are not
included in the Load Reference List.
You can also create a new load request with the NEW command, or open a saved load request file
with the REQUEST command.
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 the Extract File Specification screen so you can create a new load request.
The reference list is stored in your personal USER profile. If your USER profile file
(‘userid.midlevlqualifier.PROFILE’) does not exist, File-AID/RDX will create your USER profile
when you are saving an extract or load request.
Load 413
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 load requests. Use one of
the line command to either resubmit one of the requests or model a new request after it.
Request
Name of the load request (member name in the saved load request file). A blank entry means the
request was saved to a sequential file or that it is an automatic entry after executing an extract.
RT
Request Type. Identifies the extract request type:
EL
Extract and Continue with Load request. When selected in the Load Reference List only the
load will be performed.
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 load request was last saved or the extract was completed. 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 load request without any changes. File-AID/RDX validates the request before
submitting the JCL for the load request.
I (Info)
Displays the Request Details screen, which provides more comprehensive information about the
load request. See Figure 227 for an example.
L (Lock)
Protects this entry from rolling off the load reference list.
Load 415
S (Select)
Selects this load request and displays the Load Menu prefilled with all the information from this
request.
U (Unlock)
Does not protect this entry from rolling off the load reference list.
V (View JCL)
Displays the JCL for this load request. File-AID/RDX shows the Generated JCL panel where you
review and modify the load JCL.
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 228 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.
416 File-AID/RDX Reference
NEW (N)
Starts a new load request from an existing extract file. Use the NEW command to open extract
files created with File-AID/RDX prior to Release 3.0.
REQUEST (REQ)
Opens a saved extract or load request file. Refer to Request File Member List on page 416 for more
information.
File-AID/RDX uses the default value as specified in your current profile. If your profile doesn’t
include a request file, File-AID/RDX prompts for one.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 229 for an example. SIZE is a toggle switch so enter SIZE again to return to the
original format.
• Select Option 3, Load, from the File-AID/RDX Primary Option Menu and your profile set it as the
first load panel
or
• Enter the REQUEST primary command on a load panel
This screen displays the member list of a saved extract or load request file. Use one of the line
commands to select a member for your load request.
Load 417
If you select a member that does not contain valid load request information, File-AID/RDX will issue
a message. Select a different member or issue the NEW or REFERENCE command to start another load
request.
If you want to load from an extract file created prior to Release 3.0, use the
NEW command to initiate a new load request. Then you specify the name
of the extract file.
Request File
If you didn’t specify a name with the REQUEST command, the request file name comes from your
current profile. Enter a new file name to change to a different saved request file and File-
AID/RDX will display its member list.
The lower part of the screen displays a listing of the file’s members.
Member
Member name in the saved extract request file. The member names are displayed in alphabetical
order.
Description
Text that was entered in the Description field when the extract or load 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:
418 File-AID/RDX Reference
D (Delete)
Delete this member from the request file. Displays the Delete Confirmation window (Figure 231).
Delete Confirmation
COMMAND ===>
Request File ....: ‘TSOID01.FRSAMP.EXTCRIT’
Member to be Deleted: TESTA
ENTER to confirm delete
END to return to Request File Member List
G (Go)
Submits this load request without any changes. File-AID/RDX validates the request before
submitting the JCL for the load request.
R
Rename the request member. The Rename Confirmation window (Figure 232 on page 418) allows
you to enter a new name for the request file member.
Rename Confirmation
COMMAND ===>
Request File ....: ‘TSOID01.FRSAMP.EXTCRIT’
Member to be Renamed: TESTA
New Member name ===>
ENTER to confirm rename
END to return to Request File Member List
S (Select)
Selects this load request and displays the Load Menu prefilled with all the information from this
request.
V (View JCL)
Displays the JCL for this load request. File-AID/RDX shows the Generated JCL panel where you
review and modify the load JCL.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
Load 419
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.
NEW (N)
Starts a new load request from an existing extract file (see Extract File Specification on page 419).
REFERENCE
opens your Load Reference List file. Refer to Figure 226 on page 413 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 233 for an example. SIZE is a toggle switch so enter SIZE again to return to the
original format.
• Enter the NEW command in either the Load Reference List or the Request File Member List
Screen
420 File-AID/RDX Reference
Use this screen to specify the name of the extract file from which you want to load data and
optionally, the summary file. Press ENTER to continue to the Load Menu (Summary File usage = N or
E), Create New File (Summary File usage = C), or the ISPF/PDF EDIT Screen (Summary File usage = U).
Extract File
Specify the name of the File-AID/RDX extract file from which you want to load data. An asterisk
(*) or pattern displays a selection list. The extract file must be in the format that File-AID/RDX
creates during extract. See Extract File on page 44 and File-AID/RDX Extract File on page 377 for
information about the format of the extract file.
N None - Specify N when the extract file is on disk and a summary file is not needed.
E Existing - Specify E when the summary file for this particular extract file already exists.
File-AID/RDX continues with the Load Menu.
C Create - Specify C when you want File-AID/RDX to create the summary file for the above
extract file. File-AID/RDX then starts a batch job that extracts header and trailer
information from the extract file. After the batch job to create the summary file has
finished, you can continue the load request for this extract file.
File-AID/RDX will display the Create New File screen (see Figure 175 on page 334) to
allocate the new file.
U Update - Specify U when you want File-AID/RDX to update an existing summary file for
the above extract file. File-AID/RDX then starts a batch job that extracts header and trailer
information from the extract file. After the batch job to update the summary file has
finished, you can continue the load request for this extract file.
Load 421
Summary File
Specify the name for the summary file (previously known as tape control file) that contains the
information for the above extract file that’s stored on tape, cartridge, or disk. The summary file is
required for extract files on tape or cartridge, it’s optional for extract files on disk. If your extract
file is a multi-volume file, a summary file can speed up processing as it contains the header and
trailer information for the extract. An asterisk (*) or pattern displays a selection list.
The summary file is the same for both Load and Delete processes. Therefore,
you may use a summary file created with the DELETE Option for loading
data based on the same extract tape file.
Use this screen to edit and submit the extract summary JCL generated by File-AID/RDX.
If you want to save this JCL, use the ISPF/PDF CREATE or REPLACE command before you exit this
screen. Otherwise, File-AID/RDX deletes this file.
Submit this JCL to create the summary file with the extract header and trailer information. File-
AID/RDX will return to the Load Reference List or Request File Member List Screen where you entered
the NEW command.
422 File-AID/RDX Reference
Load Menu
After you selected a load request from either the Load Reference List or the Request File Member List,
completed the Extract File Specification, or whenever you enter the MENU command within the load
option, File-AID/RDX displays the Load Menu as shown in Figure 236.
Your profile’s selected load flow (see Panel Customization on page 70) might
not show the Load Menu initially. Just issue the MENU command to display
it from any of the load option panels.
The Load Menu provides a quick overview of your current load 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 load request when all load options are set to your liking.
After completing all load specifications, simply select Option 8 and File-AID/RDX submits this load
job.
Description
Displays the description text for the current load request as entered with the Save Load Request
option. Using this description is a helpful way to document your load request.
Load 423
Options 6, 7, and 8 are not available for the “Continue With Load” Extract
option (see also Checkpoint/Resumption on page 347).
The Current Values are display fields only and are updated upon return from each of the load menu
options to reflect the current status and value for the option.
Current Values shows the target SSID (Db2 subsystem ID) for all Db2 objects that are part of this
load request as well as the load method (Db2 load utility or SQL INSERT statements).
MVS file with I/O exit: If you want to load an MVS file using an I/O exit,
you must select the MVS file in the Source to Target Mapping panel to
invoke the exit.
Current Values shows how many objects have been excluded from the load process.
3 - Target Environment
Displays the Target Environment panel that lists all target objects to be loaded including those
that don’t exist yet but will be created using the create information from the extract file. For
objects to be created you can then edit the create information to fit your specific target
environment. Optionally, you can size the objects to be created based on the extract data as
opposed to the original source create information.
Current Values displays the number of MVS and Db2 target objects to be created.
5 - Processing Options
Displays the Processing Options panel where you can specify Db2 load as well as discard
processing options.
Current Values displays None or the name of the load request file.
7 - View JCL
Select this option to view the JCL for this load request. File-AID/RDX shows the Generated JCL
panel where you review and modify the load JCL.
Option 7 - View JCL switches to Option “7 - View REXX” when the MODE
primary command has set the execute load mode to INTERACTIVE (online)
(see Figure 237). Interactive load execution is an installation option and is
only available if specifically installed at your site.
8 - Submit JCL
Submits the JCL for this load request. Watch for the message that the job has been submitted and
later for the completion message.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
ALL
Selects all available load menu options for you to step through in sequence. ALL does not include
option 8 - Submit JCL. To submit the load JCL, select option 8 - 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 load request
interactively (online). Load Menu options 7 - View JCL and 8 - Submit JCL will change to “7 -
View REXX” and “8 - Execute REXX” (see Figure 237) to show that the load will be executed
interactively when selecting Option “8 - Execute REXX”. MODE acts as a toggle switch.
Load 425
REFERENCE (REF)
Returns to your load reference list file to start another load request. Refer to Figure 226 on page
413 for more information.
REQUEST (REQ)
Returns to a saved load request file to start another load request. Refer to Figure 230 on page 417
for more information.
The REF and REQ commands are not available for the “Continue With Load”
Extract option.
SQLID
Enter the SQLID primary command to change or view the Db2 SQLID for the current load
session. Each load session starts with the default SQLID as specified in the load profile (see also
Default SQLID on page 65). In the Set SQLID window, enter the desired SQLID. USER is a valid
entry and changes the SQLID to match the current userid. If you blank out the SQLID, it defaults
to the SQLID as specified in the load profile.
Use this screen to specify information about the objects (location, subsystem, creator, tables, and
index name modifier for Db2 objects, high level qualifier and file name modifier for MVS objects) to
which data from the extract file will be loaded. You also specify which load method (Db2 load utility
or SQL Insert) to use for the load of Db2 data.
SSID
Specify the name of the Db2 subsystem to which Db2 data will be loaded. If you leave the
Location field blank, the tables you specify to be loaded must exist in the Db2 subsystem
displayed in this field.
Location
Specify the location of the tables you want to load if they are in a remote Db2 subsystem. The
location you enter must be defined in the Db2 system catalog table SYSIBM.LOCATIONS. You
must use the SQL Insert Load Option to use the remote location.
Leave this field blank if the tables you want to load reside in the Db2 subsystem displayed in the
target SSID field.
SQL
Perform the load using SQL INSERT statements. This option allows you to update rows if they
already exist.
DB2
Load 427
Perform the load using the IBM Db2 Batch Load Utility.
Preserve Temporal
Specify whether to generate the PERIODOVERRIDE clause when Db2 loads data to SYSTEM
TEMPORAL tables.
For all SYSTEM TEMPORAL tables in this load, preserve the contents of the source base and
history table regarding the versioning timestamp columns, ignoring the GENERATE ALWAYS
clause.
For all SYSTEM TEMPORAL tables in this load, adhere to the GENERATE ALWAYS clause on
the versioning timestamp columns, consequently updating those columns as the rows are
loaded.
DB2 Load Method (see DB2 Load Method on page 426) must be set to Db2
for Temporal Table support.
Initially, these modifiers are set as specified in your profile or load request file and have already been
applied to the current load request. In order to change to new modifier values, type the new modifier
value, then enter the / (slash) in front of the field(s) to select the desired modifier(s). The selected
modifiers are applied when you enter the END command, after the Revert to source names option, if
also selected.
DB2 Creator
Specify the authorization ID of the owner of the Db2 target tables. The value in this field defaults
to the last value used or entered in your current profile. If you enter a value in this target DB2
Creator field, File-AID/RDX globally updates all DB2 Target table entries with this value. To
retain the creator ID from the extract file do not select (slash) this field, but slash the Revert to
source names option.
The Db2 load utility does NOT support enclosing lowercase creator IDs with
quotes.
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.
Do not select (slash) the prefix or suffix field but select (slash) the Revert to source names option
to preserve the index names as extracted.
If a file were named FRSAMP.PARTTABL, adding a suffix of TEST would make the new file name
FRSAMP.PARTTABL.TEST.
Do not select (slash) the MVS suffix field but slash the Revert to source names option to retain
the file name as specified in the extract file.
Remember that the pre- and suffix modifiers are added to the current values,
so also select Revert to source names to change previously applied pre- and
suffixes. File-AID/RDX will remove the previously applied pre- and suffixes
and then add the new ones.
(MVS objects only) File-AID/RDX reverts all MVS object names to the source names as
specified in the extract file.
(Db2 objects only) File-AID/RDX reverts all Db2 object names to the source names as
specified in the extract file.
(Both Db2 and MVS objects) File-AID/RDX reverts all object names to the source names as
specified in the extract file.
When Revert to source names is slashed all object names of the specified object type(s) revert to
the extracted (source) names. If any other modifier items are slashed they will be applied after the
source revert.
Load 429
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
SQLID
Enter the SQLID primary command to change or view the Db2 SQLID for the current load
session. Each load session starts with the default SQLID as specified in the load profile (see also
Default SQLID on page 65). In the Set SQLID window, enter the desired SQLID. USER is a valid
entry and changes the SQLID to match the current userid. If you blank out the SQLID, it defaults
to the SQLID as specified in the load profile.
• You have a large quantity of data to load and require a faster method for loading the data.
• You want to load to tables in a cyclical relationship.
• You want to load to TEMPORAL tables.
Use this screen to invoke the process of mapping columns between source and target objects. In this
list of objects you can also mark objects to be excluded from the load process. On this screen you can
also modify the target object names to which data in the extract file will be loaded.
After you complete this screen, use the END command to return to the Load Menu.
Upper Portion
The upper portion of this screen consists of the following fields:
Extract File
Displays the name of the file from which data will be loaded.
Lower Portion
If there are more target objects than can be listed on this screen, you can scroll the lower portion of
the screen up and down using standard scrolling commands. See Scrolling on page 31 for more
information.
CMD
Enter the S (Select) line command in this column to invoke the Column Mapping where you to
map source columns/fields to target columns/fields. See S (Select) on page 432 for more
information on the S line command. See Column Mapping on page 441 for more information on
the Column Mapping screen.
Enter the X (Exclude) line command for each object you want to exclude from the current load
(see X (Exclude) on page 432.
Enter the U (Unexclude) line command for each excluded object you want to include again in the
load process. (see U (Unexclude) on page 432).
Source
Displays the fully qualified name of each source object from which data was extracted. The
Source line is for display purposes only.
Target
Displays the names of the objects to be loaded with the data extracted from the source objects.
The target object names are prefilled based on the values specified on the Load Object
Specifications or Target Environment panels.
– modifying the values on the Load Object Specifications or Target Environment panels
– issuing the CHANGE command
– typing over each individual name in this column
First, you must have specified the SQL Db2 Load Option in the Load Object Specifications screen,
then you can enter the Db2 view name of the Target table, if you prefer to load the table using its
Load 431
view. The target view must already exist in the Target Environment.
If the view does not exist, File-AID/RDX will create the view as a table.
The Db2 load utility does NOT support enclosing lowercase creator IDs with
quotes.
If you specify an object that does not currently exist, File-AID/RDX displays the message “Object
not found” in the Status column and will create it based on the extracted data. See Target
Environment Screen on page 451 for more information about the Target Environment option.
Type
The object type is indicated in the next column
Status
Displays the status of target objects. File-AID/RDX can display any one of the messages listed in
Table 26. When there are multiple messages for an object, only the first is displayed.
Note: For single table views, File-AID/RDX will create the view as a table.
If you want to load using the view, create the target base table and view manually
before you can continue the load process. For the load to be successful the view
must be a single table view.
Objects differ Indicates that the source object and target object have columns or fields that have
different names, data types, or lengths; or, the MVS objects have different file
attributes, such as record lengths. Use the S (Select) line command to invoke the
Column/Field Mapping screen to map differing source and target columns/fields.
See S (Select) on page 432 for more information about the S line command. See
Column Mapping on page 441 for more information about the Column/Field
Mapping screen.
obj not fnd-DTD Indicates that the target table does not exist, yet matching distinct types (same
schema.name) do exist, however, their definitions (built-in types) differ from the
source UDTs. Use the S (Select) line command to invoke the Column Mapping
screen to map differing source and target columns. See S (Select) on page 432 for
more information about the S line command. See Column Mapping on page 441
for more information about the Column/Field Mapping screen.
obj not fnd-DTU Indicates that the target object does not exist, and the target system does not
support UDTs. File-AID/RDX will create a table using the UDTs built-in data types.
Use the S (Select) line command to invoke the Column Mapping screen to map
differing source and target columns. See S (Select) on page 432 for more
information about the S line command. See Column Mapping on page 441 for
more information about the Column/Field Mapping screen.
432 File-AID/RDX Reference
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
S (Select)
The S (Select) line command invokes the Column Mapping (for Db2 tables) or Field Mapping (for
MVS objects) screen for the objects corresponding to the line on which you entered the
command. Use this command in the following situations:
• Source and target objects have columns or fields that have different names, lengths, or
data types.;
• Columns or fields were added to the target object or removed from the source object.;
• Source and target objects match, but source columns or fields need to be mapped to
different target columns or fields.
• You want to load default values for certain fields to protect sensitive data.
See Column Mapping on page 441 and Field Mapping on page 438 for more information about
the Column or Field Mapping screen, respectively.
X (Exclude)
Enter the X (Exclude) line command for each object you want to exclude from the current load.
Excluding tables from the Load process may compromise the referential
integrity of the tables involved. Negative SQL Codes may be returned if
tables are being created during the Load and RI relations exist.
U (Unexclude)
Enter the U (Unexclude) line command for each excluded object you want to include again in the
load process.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
Load 433
CHANGE (C)
The CHANGE command allows you to globally update the target names for Db2 tables or MVS
files. In the Change Command Window, specify the ‘from string’ and ‘to string’.
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
Press END to process,
From string
Enter the current ‘From string’ (old) you want to replace in the object names.
To string
Enter the ‘To string’ (new) you want to replace the object names.
EXCLUDE (EX)
Enter the EXCLUDE command in the COMMAND field to exclude source/target objects from the
load. Use this command in conjunction with the U (Unexclude) line command or UNEXCLUDE
primary command when you have a long list of source/target objects displayed and you want to
include only a few source/target objects in the load.
File-AID/RDX preserves the hierarchy of the objects when excluding and unexcluding them. A
lower object cannot be unexcluded as long as its higher object is excluded.
Example: You exclude all Db2 objects with the EXCLUDE primary command which also excludes
all databases, tablespaces, tables, and indexes, etc. Before you can unexclude a table with the
U line command, you must unexclude its database and tablespace with the U line command in
the Target Environment Screen as they are not displayed in this Source to Target Mapping screen
(see also EXCLUDE (EX) on page 456 and U (Unexclude) on page 463).
DB2 MVS
INDEX VSAM
ALIAS AIX
SYNONYM PATH
VIEW NONVSAM
434 File-AID/RDX Reference
When entered without a parameter, EXCLUDE displays the Exclude Command Window. See
Figure 252 for an example.
Select the object status and/or object types to exclude, then press END to exit the window.
Enter Y to exclude all Db2 objects from the load, including databases and tablespaces.
Enter E to exclude all Db2 objects from the load, including databases and tablespaces and
hide them from the display.
The exclude settings for the following Db2 object types are only activated
when Exclude All DB2 objects is set to N.
Indexes
Enter Y to exclude all Db2 indexes. Enter N to unexclude all Db2 indexes.
Aliases
Enter Y to exclude all Db2 aliases. Enter N to unexclude all Db2 aliases.
Synonyms
Enter Y to exclude all Db2 synonyms. Enter N to unexclude all Db2 synonyms.
Views
Enter Y to exclude all Db2 views. Enter N to unexclude all Db2 views.
Enter E to exclude all MVS objects from the load, including databases and tablespaces and
hide them from the display.
The exclude settings for the following MVS object types are only activated
when Exclude All MVS objects is set to N.
VSAM
Enter Y to exclude all VSAM files. Enter N to unexclude all VSAM files.
VSAM AIX
Enter Y to exclude all VSAM alternate indexes. Enter N to unexclude all VSAM alternate
indexes.
VSAM PATH
Enter Y to exclude all VSAM paths. Enter N to unexclude all VSAM paths.
Non-VSAM
Enter Y to exclude all sequential (non-VSAM) files. Enter N to unexclude all sequential files.
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
UNEXCLUDE (U)
Enter the UNEXCLUDE command in the COMMAND field to include all excluded source/target
objects in the load again. Use this command in conjunction with the X (Exclude) line command
or EXCLUDE primary command.
The optional parameters DB2, IMS, and MVS limit the UNEXCLUDE command to one of the
three object types.
Use this screen to specify the target record layout information so you can manually map the source
fields to the target fields. Press ENTER after you have specified the target file record layout
information.
Member name
Displays the member of the record layout file that was used to extract data from the source MVS
file.
Member name
Displays the member of the XREF file that was used to extract data from the source MVS file.
The specified target record layout information must already exist for File-AID/RDX to continue with
field mapping. If the target record layout information does not exist, File-AID/RDX will not allow
manual field mapping.
Target File
Displays the MVS file name of the target object as specified on the previous screen, Source to
Target Mapping on page 429.
Member name
Specify the member name of the record layout file to be used by File-AID/RDX to map the fields
of the source MVS file to the target file.
Member name
Specify the member of the XREF file to be used to map source fields to target fields.
Field Mapping
The Field Mapping screen shown in Figure 243 is displayed after you completed the File Mapping
Specifications screen. It is the MVS equivalent for the DB2 Column Mapping screen, see also Column
Mapping on page 441.
Use this screen to map fields between files in the following situations:
• Source and target objects have fields that have different names, lengths, or data types.;
• Fields were added to the target object or removed from the source object.;
• Source and target objects match, but source fields need to be mapped to different target fields.
• You want to load default literal values for certain fields to protect sensitive data.
See Column/Field Mapping Rules on page 448 for more detailed information about field to field
mapping.
The body of the Field Mapping screen consists of two portions: a source portion and a target portion.
Source Portion
The upper portion of this screen represents the source information and contains the following fields:
Source
Displays the full name of the source object from which data was extracted.
CMD
Displays File-AID/RDX-generated sequence numbers that indicate the source field numbers to be
used as input in the below target CMD field to map the source field to a target field.
Source Fields
Displays the names of the fields in the MVS source file.
Load 439
Type(Length)
Displays the source 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 Table 27 for more information about data types displayed in this column.
Target Portion
The target portion of the Field Mapping screen contains the following information:
TARGET
Displays the full name of the target object to be loaded with the extracted data.
CMD
Enter a field number in the CMD column next to a target field name to map a source field to that
target field. If source and target fields’ names, data types, and lengths match, File-AID/RDX
prefills the CMD fields automatically.
Blank out this field or leave this field blank if you want default values assigned to the target field
when the record is inserted or loaded.
Enter the number (Lnn) of an existing literal definition to assign it directly to a target field, or
enter the S line command to access the Default Value Definition screen (see Figure 245 on page
445). Most likely, you will use literal definitions when the extracted file does not contain any
values for a particular field or you want to mask certain fields to protect sensitive data.
See Column/Field Mapping Rules on page 448 for more information about rules that govern field
mapping.
Target Fields
Displays a list of fields contained in the target file.
Load 441
Type(Length)
Displays the data type and length for each target field.
Primary Commands
CANCEL
Terminates the Field Mapping screen and returns you to the Source to Target Mapping without
saving your mapping selections. There are no operands associated with this command.
END
Terminates the Field Mapping screen and returns you to the Source to Target Mapping with your
specified field mappings intact. There are no operands associated with this command.
Line Commands
The following line commands are valid on this screen:
Field-number
Indicates which source field will be mapped to a particular target field. Enter a File-AID/RDX-
generated field number (from the source CMD column) into the target CMD column next to the
target field to which you want to map the source field.
S (Select)
Indicates that you want to set every record to be loaded of the selected field to a literal value.
When you press Enter, File-AID/RDX displays the Default Value Definition screen so you can
specify the desired value (see Default Value Definition on page 444). The literal can be up to 50
bytes long.
Column Mapping
The Column Mapping screen shown in Figure 244 is displayed when you enter the S (Select) line
command for a pair of Db2 tables on the Source to Target Mapping.
442 File-AID/RDX Reference
Use this screen to map columns between Db2 tables in the following situations:
• Source and target tables have columns that have different names, lengths, or data types.;
• Columns were added to the target table or removed from the source table.;
• Source and target tables match, but source columns need to be mapped to different target
columns.
• You want to load Db2 default values for certain fields to protect sensitive data.
• You want to load default literal values for certain fields to protect sensitive data.
See Column/Field Mapping Rules on page 448 for more detailed information about column to
column mapping.
The body of this screen consists of an upper portion and a lower portion:
Upper Portion
The upper portion of this screen consists of the following fields:
Source Table
Displays the table name from which data was extracted. When loading from a remote location,
the table name is in three parts (location.creator.table). Source columns are listed in the Source
Columns field.
Target Table
Displays the name of the table to be loaded. When loading to a remote location, the table name
is in three parts (location.creator.table). Target columns are listed in the Target Columns field.
Lower Portion
The lower portion of this screen consists of the following columns:
Load 443
Column Number
Displays a list of File-AID/RDX-generated column numbers that correspond to the columns in the
source table. Enter these numbers in the CMD column to map source columns to target columns.
Source Columns
Displays a list of the columns contained in the source table.
Type(Length)
Displays the data type and length for each source column (see also Table 27 on page 439).
CMD
Enter a column number in the CMD column next to a target column name to map a source
column to that target column. If source and target columns’ names, data types, and lengths
match, File-AID/RDX fills in this field automatically.
Blank out this field or leave this field blank if you want default values assigned to the target
column when the row is inserted or loaded.
Enter the number (Lnn) of an existing literal definition to assign it directly to a target column, or
enter the S line command to access the Default Value Definition screen (SQL Load Option only,
see Figure 245 on page 445). Most likely, you will use literal definitions when the extracted table
does not contain any values for a particular column or you want to mask certain column fields to
protect sensitive data.
See Column/Field Mapping Rules on page 448 for more information about rules that govern
column mapping.
Target Columns
Displays a list of columns contained in the target table.
Type(Length)
Displays the data type and length for each target column.
Primary Commands
CANCEL (CAN)
Terminates the Column Mapping screen and returns you to the Object Load Specification screen
without mapping columns. There are no operands associated with this command.
END
Terminates the Column Mapping screen and returns you to the Object Load Specification screen
with column mappings intact. There are no operands associated with this command.
UDTSWAP (UDTS)
Swaps the display for distinct type columns from UDT name to the built-in data type and length
and vice versa.
Line Commands
The following line command is valid on this screen:
column-number
Indicates which source column will be mapped to a particular target column. Enter a File-
AID/RDX-generated column number (from the Column Number column) in the CMD column
next to the target column to which you want to map a source column.
S (Select)
SQL Load Option only. Indicates that you want to set every row to be loaded of the selected
column to a literal value. When you press Enter, File-AID/RDX displays the Default Value
Definition screen so you can specify the desired value (see Default Value Definition on page 444).
The literal can be up to 50 bytes long.
This screen shows all existing literal definitions. Using the line commands you can Add, Delete, or
Update literal definitions. When the desired literal definition has been defined, Select it so the literal
value will be used for the listed target column.
The body of this screen consists of an upper portion and a lower portion:
Upper Portion
The upper portion of this screen consists of the following fields:
Lower Portion
The lower portion of this screen consists of the following columns:
CMD
Enter a line command in the CMD column next to a literal definition. See Line Commands for a
description of the available commands.
Number
Displays the number of the literal definition. Literal numbers are assigned automatically when
creating the definition with the Add command. The letter L identifies the number as a literal
definition. You can define up to 99 literals.
Type(Length)
Displays the data type and length of the literal definition. The literal’s data type and length must
match the target column’s type and length (see also Column/Field Mapping Rules on page 448).
446 File-AID/RDX Reference
Value
Displays the contents of the literal definition. Use the LEFT and RIGHT scroll commands to view
values larger than the display width.
Primary Commands
CANCEL (CAN)
Terminates the Default Value Definition screen and returns you to the Column or Field Mapping
screen. There are no operands associated with this command.
END
Terminates the Default Value Definition screen and returns you to the Column or Field Mapping
screen with the selected literal definition assigned to the column or field. There are no operands
associated with this command.
Line Commands
The following line commands are valid on this screen:
S (Select)
Selects the current literal definition. When you press Enter File-AID/RDX returns to the Column
or Field Mapping screen and assigns the selected literal definition to the target column/field. The
literal value has to fit the target column/field’s type and cannot exceed its length. The defined
literal can now be mapped to any other Target Column/Field by its Column/Field Number. See
also Figure 248 on page 450.
A (Add)
Creates a new literal definition and pops up the Default Value Specification window (see Figure
246 on page 447). File-AID/RDX creates the number automatically. The number is always
preceded by the letter L, identifying it as a literal definition. The Type and Length fields are
preset to the same values as the target column/field type and length. Enter the desired value and
press Enter to finish the literal definition.
D (Delete)
Deletes an existing literal definition. When you enter the D line command File-AID/RDX pops up
the Delete Value Confirmation window (see Figure 247 on page 448). Answer YES to continue
your delete request, or enter NO to cancel the delete operation. If the value to be deleted is
currently mapped to a target column/field, Delete will remove the definition and all of its
mappings.
U (Update)
Allows you to modify an existing literal definition. It pops up the Default Value Specification
window (see Figure 246 on page 447) with the current values prefilled. Change the value as
desired and press Enter to change the literal definition.
Load 447
This window lets you add or modify the value for a literal definition. If you update the definition, the
current values are prefilled. When creating a new definition the Value field is blank.
Enter END after you completed the value specification to save the value specification and return to
the Default Value Definition screen.
Number
Displays the number of the literal definition. Literal numbers are assigned automatically when
creating the definition with the Add command. You can define up to 99 literals.
Type
Displays the column data type of the literal definition. If you add a new definition, the target
column’s data type is prefilled. Change the data type as needed. See also Table 27 on page 439.
When you assign the literal to a target column, the type must be compatible with the target
column’s type and length.
Length
Displays the column length of the literal definition. When you assign the literal to a target
column, the length must be compatible with the target column’s type and length (see also
Column/Field Mapping Rules on page 448). Change the length as needed.
Value
Enter or change the contents of the literal definition. When you assign the literal to a target
column, the value must be compatible with the target column’s type and length (see also
Column/Field Mapping Rules on page 448).
448 File-AID/RDX Reference
The Delete Value Confirmation window warns you about the consequences of deleting a literal
definition and gives you the opportunity to cancel your delete request. Enter either END or CANCEL
command.
CANCEL
Cancels the deletion
END
Continues the delete operation.
N (National)
Types
CHAR or CH
DECFLOAT
SMALLINT
HEXADEC
TMSTMP
INTEGER
DOUBLE
LVGRPH
TMESTZ
BINARY
BIGINT
VGRPH
FLTPIC
FIXPIC
GRPH
DATE
TIME
REAL
DEC
CHAR or CH X X X X
VCHAR or VC X X X X
LVCHAR or
X X X X
LV
Load 449
LVCHAR or LV
VCHAR or VC
N (National)
Types
CHAR or CH
DECFLOAT
SMALLINT
HEXADEC
TMSTMP
INTEGER
DOUBLE
LVGRPH
TMESTZ
BINARY
BIGINT
VGRPH
FLTPIC
FIXPIC
GRPH
DATE
TIME
REAL
DEC
GRPH X X X
VGRPH X X X
LVGRPH X X X
SMALLINT X X X X
INTEGER X X X X
BIGINT X X X X
DEC X X X Xa X X X
REAL X X X
DOUBLE X X X
DECFLOAT X X X
DATE X
TIME X
TMSTMP X X X X
TMESTZ X X X
BINARY X
FLTPIC X
FIXPIC X
HEXADEC X
N (National) X
a. For Db2 Utility load, the precision and scale of the target must match the source
• If the length of the source column is greater than the length of the target column/field, data is
truncated on the right to a length equal to the target column/field.
• If the length of the source column/field is less than the length of the target column/field, the
data is padded on the right with blanks.
Numeric Data
For numeric data (SMALLINT, INTEGER, BIGINT, DECIMAL, DECFLOAT, and FLOAT) the source data
value must not be greater than the defined target data type. If the source data value is greater, then
the columns cannot be mapped. Table 29 lists the numeric data Type Value Ranges.
Miscellaneous Rules
In addition to the rules regarding data type and column length, the following miscellaneous rules
apply:
• If you are using the Db2 LOAD Utility and a column for which the CMD field is blank is defined
as NOT NULL, File-AID/RDX will display an error message to notify you to use the SQL INSERT
option.
• Unmapped columns/fields from the source table that do not exist in the target object are not
loaded.
• Submitting existing load JCL with load control tables that include IDENTITY columns does not
require column remapping even when additional columns have been added to the target table.
• Any additional columns added to the target table will require default values to be defined to Db2.
• If you leave the CMD field blank and the target column is defined as NOT NULL WITH DEFAULT,
File-AID/RDX will use the Db2 default.
• If you leave the CMD field blank and the target column is defined as NULL, the default is NULL.
• If you are using the Db2 LOAD Utility and a source column that allows NULLs matches a target
column that does not, File-AID/RDX will not automatically map the two columns.
• If you are using the Db2 LOAD Utility and a target column is defined as NOT NULL, you must
map a source column to it.
Figure 248. Db2 Column Mapping Screen After Some Column Assignments
In the example shown in Figure 248 the extracted source table has four (4) columns. The literal
definitions L04 and L05 were added during the current column mapping session. They can be
assigned to more than one target column. Columns 2, 3, and 4 were matched automatically to the
target columns with the same name, type and length.
See Column/Field Mapping Rules on page 448 for more detailed information about column to
column mapping.
Initially, all objects are displayed. You may use the HIDE command to control which objects are
hidden from the display.
For Db2 objects, use this screen to specify and modify the Db2 database, tablespace, and storage
group information for the Db2 tables and indexes to be loaded based on the extracted data. See
452 File-AID/RDX Reference
Generating CREATE DDL on page 463 for more information on how File-AID/RDX creates new Db2
tables.
1. File-AID/RDX only creates Db2 objects for which the complete DDL information
has been captured in the extract file.
2. If the extract file includes data extracted from Db2 views, File-AID/RDX will load
the view data into a target view only if the view already exists. If the target view
does NOT exist, File-AID/RDX will create the view as a Db2 table based on the
extracted CREATE VIEW DDL, without an index.
3. The auto-create feature of Load does not support creating Temporal Tables.
4. The auto-create feature of Load does not support creating multi-volume
datasets for any MVS dataset type.
For VSAM objects, use this screen to specify an alternate index, if the source MVS object has one. You
also have the choice to exclude non-primary indexes. File-AID/RDX does not support alternate
indexes for IAM files.
After completing the target environment information, press END to return to the Load Menu.
During the execution phase of the Load function, File-AID/RDX will attempt to create the object(s)
that are marked for creation as specified on this screen.
Global Settings
The upper portion of this screen allows you to specify settings that apply to all listed Db2 or MVS
objects.
(No) The space allocation parameters for objects to be created will be the same as for the
source objects at their original creation.
(MVS objects only) File-AID/RDX will calculate the space allocation for new target MVS files
based on the extracted data.
(Db2 objects only) File-AID/RDX will calculate the space allocation for new target Db2
objects based on the extracted data.
(Both Db2 and MVS objects) File-AID/RDX will calculate the space allocation for new Db2
and MVS target objects based on the extracted data.
This field sets the status globally. You can also set the status for individual objects. The plus (+)
sign indicates that the status has been changed for one or more individual objects.
(Yes) File-AID/RDX will only create the target objects without loading any of the extracted
data.
Lower Portion
The lower portion of this screen contains a list of Db2 and/or MVS objects in the target environment
corresponding to the extracted (source) objects. If there are more entries on the list than will fit in
the screen, you can scroll the fields in the lower portion of the screen up and down using standard
scrolling commands (see Scrolling on page 31).
Db2 objects to be loaded are listed in hierarchal and alphabetical order, starting with the database,
listing all tablespaces within that database, and all tables in the tablespace. If a table is to be created,
it also lists all indexes, views, aliases, and synonyms for the table.
Objects are only listed if they already exist in the target environment or the
extract file contains their create DDL (see also Capture create DDL during
extract for on page 340).
CMD
Enter the line commands in this column to edit the individual target objects.
Type
The object type is indicated in the next column:
The following object types are only displayed if their corresponding table is marked to be created:
Object Name
Displays the fully qualified name of the object to be loaded. If it is a Db2 table it includes the
creator ID of the owner of the table.
You can modify the entries in this column directly. Simply type the new name over the one
displayed or use the S line command. You can also modify the target object name in the Source to
Target Mapping screen (Load Option 2). There, you can modify the value in the Target field.
SHOW
Displays the result of the SHOW primary command. Depending on the specified parameter, the
column name changes to and displays the associated Db2 DATABASE, STOGROUP, or
TABLESPACE for the appropriate Db2 objects. See SHOW on page 460 for the command
description and Figure 255 on page 462 for an example. This column is blank until you enter a
SHOW command.
Status
Displays a status message for the object to be loaded. See Table 26 for a list of possible messages
not listed in Table 30. When there are multiple messages for an object, only the first is displayed
C
(Create Object) Displays a Y to indicate that the object will be created during the load process.
Blank indicates that the object already exists, or is an implicit tablespace.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
CHANGE (C)
The CHANGE command allows you to globally update the object names displayed in the list.
Specify the change’ from string’ and change ‘to string’ in the CHANGE Command Window.
When you enter the CHANGE command, File-AID/RDX displays the CHANGE Command
Window as shown in Figure 250. Enter the Change ‘from string’ and the Change ‘to string’ values
you want to change globally for all displayed object names, then press END to execute the change
and exit the window.
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
Press END to process,
When the SHOW STOGROUP is in effect and you enter the CHANGE command, File-AID/RDX
displays the CHANGE Command Window as shown in Figure 251. Enter the Change ‘from string’
and the Change ‘to string’ values you want to change globally. In Field to Change, specify what
fields the change should act on, either O for all displayed object names, or S for stogroup names.
Then press END to execute the change and exit the window.
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
Field to change ===> O (O = Object Name; S = Stogroup Name)
Press END to process,
456 File-AID/RDX Reference
END
The END command returns to the Load Menu. There are no operands associated with this
command.
EXCLUDE (EX)
Enter the EXCLUDE command in the COMMAND line to exclude select target objects in the
displayed list. Use this command in conjunction with the U (Unexclude) line command or
UNEXCLUDE primary command when you have a long list of target objects displayed and you
want to include only a few target objects in the load.
File-AID/RDX preserves the hierarchy of the objects when excluding and unexcluding them.
A lower object cannot be unexcluded as long as its higher object is excluded.
Example: You exclude all Db2 objects with the EXCLUDE primary command which also
excludes all databases, tablespaces, tables, and indexes, etc. Before you can unexclude a table
with the U line command, you must unexclude its database and tablespace with the U line
command.
DB2 MVS
INDEX VSAM
ALIAS AIX
SYNONYM PATH
VIEW NONVSAM
When entered without a parameter, EXCLUDE displays the Exclude Command Window. See
Figure 252 for an example.
Select the object status and/or object types to exclude, then press END to exit the window.
Enter Y to exclude all Db2 objects from the load. Enter N and all Db2 objects will not be
excluded.
The exclude settings for the following Db2 object types are only activated
when Exclude All DB2 objects is set to N.
Indexes
Enter Y to exclude all Db2 indexes. Enter N to unexclude all Db2 indexes.
Aliases
Enter Y to exclude all Db2 aliases. Enter N to unexclude all Db2 aliases.
Synonyms
Enter Y to exclude all Db2 synonyms. Enter N to unexclude all Db2 synonyms.
Views
Enter Y to exclude all Db2 views. Enter N to unexclude all Db2 views.
Enter Y to exclude all MVS objects from the load. Enter N and all MVS objects will not be
excluded.
The exclude settings for the following MVS object types are only activated
when Exclude All MVS objects is set to N.
VSAM
Enter Y to exclude all VSAM files. Enter N to unexclude all VSAM files.
458 File-AID/RDX Reference
VSAM AIX
Enter Y to exclude all VSAM alternate indexes. Enter N to unexclude all VSAM alternate
indexes.
VSAM PATH
Enter Y to exclude all VSAM paths. Enter N to unexclude all VSAM paths.
Non-VSAM
Enter Y to exclude all sequential (non-VSAM) files. Enter N to unexclude all sequential files.
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.
HIDE (H)
Use the HIDE command to control which object types to hide from the displayed list. See also
RESET (RES) on page 460.
AC (AutoCreate) EXCLude
EXISTing ERR
DB2 TABle
INDex VSAM
ALIas AIX
SYNonym PATH
VIew NONVsam
TS (TableSpace)
When entered without a parameter, HIDE displays the Hide Command Window. See Figure 253
for an example.
Select the object status and/or object types to hide or redisplay, then press END to exit the
window.
Enter Y to hide all objects that are marked with a special error status. Enter N to (re)display
all objects that are marked with a special error status.
By Object Status
Auto-create objects
Enter Y to hide all objects that File-AID/RDX will create during the load. Enter N to
(re)display all objects to be created.
Existing objects
Enter Y to hide all objects that already exist in the target environment. Enter N to (re)display
all existing objects.
Excluded objects
Enter Y to hide all objects that are excluded from the load. Enter N to (re)display all excluded
objects.
By Object Type
Databases
Enter Y to hide all Db2 databases. Enter N to (re)display all Db2 databases. Enter R (restore)
to redisplay only those hidden databases whose lower level objects are not hidden.
Tablespaces
Enter Y to hide all Db2 tablespaces. Enter N to (re)display all Db2 tablespaces. Enter R
(restore) to redisplay only those hidden tablespaces whose lower level objects are not hidden.
Tables
460 File-AID/RDX Reference
Enter Y to hide all Db2 tables. Enter N to (re)display all Db2 tables. Enter R (restore) to
redisplay only those hidden tables whose lower level objects are not hidden.
Indexes
Enter Y to hide all Db2 indexes. Enter N to (re)display all Db2 indexes.
Aliases
Enter Y to hide all Db2 aliases. Enter N to (re)display all Db2 aliases.
Synonyms
Enter Y to hide all Db2 synonyms. Enter N to (re)display all Db2 synonyms.
Views
Enter Y to hide all Db2 views. Enter N to (re)display all Db2 views.
VSAM
Enter Y to hide all VSAM files. Enter N to (re)display all VSAM files. Enter R (restore) to
redisplay only those hidden VSAM files whose lower level objects are not hidden.
VSAM AIX
Enter Y to hide all VSAM alternate indexes. Enter N to (re)display all VSAM alternate indexes.
VSAM PATH
Enter Y to hide all VSAM paths. Enter N to (re)display all VSAM paths.
Non-VSAM
Enter Y to hide all sequential (non-VSAM) files. Enter N to (re)display all sequential files.
REFRESH (R)
Refreshes the list of objects of the Target Environment screen (Figure 249 on page 451). Use the
REFRESH command after changes to the listed objects have an influence on the hierarchal and
alphabetical order of the display.
REPORT (REP)
Prints the logical contents of the display. This report includes all of the displayable lines
formatted like the current view.
RESET (RES)
Use the RESET command to return all hidden objects to the display. See also HIDE (H) on page
458 for a list of parameters.
SHOW
The SHOW command alters the contents of the SHOW column in the Target Environment screen
(Figure 249 on page 451). Depending on the specified parameter, the SHOW column can display
the associated database, tablespace or stogroup information for the appropriate Db2 objects in
the list. SHOW without a parameter displays the Show Command Window.
Load 461
NOne
STgroup
DB (DataBase)
TS (TableSpace)
File-AID/RDX ------------- SHOW COMMAND ----------------------
Command ===>
Data to display Primary Command:
in SHOW column ===> N ( N = None; SHow None
S = Stogroup; SHow Stogroup
D = Database; SHow DB
T = Tablespace) SHow TS
Specify which Db2 information you want to display in the SHOW column, then press END to exit
the window.
(Stogroup) Displays the name of the Db2 storage group associated with the listed Db2
table or index.
(Database) Displays the name of the Db2 database associated with the listed Db2 table or
tablespace.
(Tablespace) Displays the name of the Db2 tablespace associated with the listed Db2
table.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 255 for an example. SIZE is a toggle switch so enter SIZE again to return to the
original format.
462 File-AID/RDX Reference
UNEXCLUDE (UNEX)
Enter the UNEXCLUDE command in the Command line to include all excluded source/target
objects in the load again. Use this command in conjunction with the X (Exclude) line command
or EXCLUDE primary command when you have a long list of source/target objects displayed and
you want to reverse previous exclude commands.
When entered without a parameter, UNEXCLUDE displays the “Unexclude Command Window”.
The window displays the same object types as the “Exclude Command Window”. See Figure 252
for an example.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
E (Edit)
(Obsolete, replaced by the S line command) Enter the E (Edit) line command for each object you
want to view or change. Depending on the object, File-AID/RDX will invoke the appropriate
Create/Edit screen.
I (Information)
The I (Information) line command display the statements that will be used to create the object.
For Db2 objects that will be the DDL, for MVS VSAM objects it will be the IDCAMS DEFINE, and
for non-VSAM it will be the DD statement. I is only valid for objects marked to be created.
S (Select)
Enter the S (Select) line command for each object you want to view or change. Depending on the
object, File-AID/RDX will invoke the appropriate Create/Edit screen.
Load 463
X (Exclude)
Enter the X (Exclude) line command for each object you want to exclude from the current load
request. Primary indexes may not be excluded.
U (Unexclude)
Enter the U (Unexclude) line command for each excluded object you want to include again in the
Auto Create process.
• Column information is used unaltered. File-AID/RDX does not create Distinct types (UDTs). If the
source UDT does not exist in the target system, File-AID/RDX will create the columns using only
the UDT’s built-in data type.
• FIELDPROC and VALIDPROC information is used in the CREATE DDL unaltered.
• Primary key information is used unaltered. File-AID/RDX generates an index that reflects the
primary key.
• The table name is modified to reflect the table name specified on the Target Environment screen.
• The IN statement is modified to reflect the database and tablespace specified on the Target
Environment screen.
• EDITPROC and OBID statements are not used to build the CREATE DDL.
File-AID/RDX saves foreign key information from extracted tables and adds it to new tables using
ALTER statements after the new tables have been created.
For all indexes for all tables in the extract file, File-AID/RDX uses certain information as follows:
• The index creator name is modified to match the table creator name specified on the Target
Environment screen.
• Column and cluster information is used unaltered.
• Partition information is used if the tablespace associated with the new table is partitioned.
Otherwise, partition information is ignored.
• The ON statement is modified to reflect the table name specified on the Target Environment
screen.
• USING information is used unaltered.
• USING information is not used to build the CREATE DDL.
After File-AID/RDX successfully creates all the tables and indexes, it executes ALTER statements to
add referential constraints. Constraints are added only to tables that are part of the load. Constraints
added to tables within the load are used unaltered.
Use this screen to update the target Db2 database information. After you view or modify the database
information, press END to return to the Target Environment screen.
When loading from an extract file created with a Release earlier than 4.0, the
database must already exist in the target environment.
Source Object
SSID
Displays the Db2 subsystem ID as specified in the extract file.
Location
Displays the remote Db2 location name as specified in the extract file.
Database
Displays the name of the source Db2 database as specified in the extract file.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
Database
Specify the name of the Db2 database of the Target Environment. If the database does not exist in
the Target Environment, File-AID/RDX will create it during the load process.
Load 465
This field is prefilled with the database name specified in your current profile or, if none is in the
profile, with the database specified in the extract file. If you are using a saved load request, this
field is prefilled with the database specified in the load request.
STOGROUP
Specify the Db2 storage group in which the database resides. The storage group must already
exist. This field is prefilled with the storage group value specified in your profile or the extracted
storage group value.
BUFFERPOOL
Specify the Db2 buffer pool name associated with the database. This field is prefilled with the
extracted value.
INDEXBP
Specify the Db2 index buffer pool name associated with the database. This field is prefilled with
the extracted value.
Use this screen to update the Db2 tablespace information. After you view or modify the tablespace
information, press END to return to the Target Environment.
When loading from an extract file created with a Release earlier than 4.0, the
tablespace must already exist in the target database, or use the implicit
tablespace function.
Source Object
SSID
Displays the Db2 subsystem ID as specified in the extract file.
Location
Displays the remote Db2 location name as specified in the extract file.
Database
Displays the name of the source Db2 database as specified in the extract file.
Tablespace
Displays the name of the Db2 tablespace as specified in the extract file.
TS Type
Displays the tablespace type as specified in the extract file. See also Table 31. Valid types are:
Simple
Partitioned
Partitioned tablespace. The number of partitions are shown in the NUMPARTS field.
Segmented
NUMPARTS
Displays the number of partitions as specified in the extract file.
Load 467
MAXPARTITIONS
Displays the maximum number of partitions for a partition-by-growth universal tablespace (UTS)
as specified in the extract file. The MAXPARTITIONS field displays in place of the NUMPARTS
field for a partition-by-growth universal tablespace.
SEGSIZE
Displays the segment size of the tablespace, if the tablespace is segmented.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
Database
Displays the name of the Db2 database of the Target Environment. You can only change it to an
existing database or one to be created that is in the Target Environment list. To use a new
database name please specify at the database level.
Tablespace
Specify the name of the Db2 tablespace of the Target Environment. If the tablespace does not
exist in the Target Environment, File-AID/RDX will create it during the load process.
TS Type
Displays the tablespace type as specified in the extract file. See also Table 32. Valid types are:
Simple
Partitioned
Partitioned tablespace. The number of partitions are shown in the NUMPARTS field. You
can change the number of partitions in the NUMPARTS field. To change the partition
attributes, issue the PART primary command.
Segmented
Segmented tablespace. The segment size is shown in the SEGSIZE field. You can change
the segment size in the SEGSIZE field.
468 File-AID/RDX Reference
NUMPARTS
If this is to be a partitioned tablespace, enter the number of partitions. This field is protected as
long as the target tablespace is an existing one. Once you change the target tablespace to a non-
existing one, you can then enter the desired number of partitions. This field MUST NOT BE
BLANK OR ZERO before attempting to define the partitions using the PARTITION command.
MAXPARTITIONS
Specify the maximum number of partitions for a partition-by-growth universal tablespace (UTS).
The actual maximum partition size allowed is dependent on the DSSIZE and Page size defined for
the Tablespace. The MAXPARTITIONS field displays in place of the NUMPARTS field for a
partition-by-growth universal tablespace.
SEGSIZE
If this is to be a segmented tablespace, enter the desired segment size. This field MUST NOT BE
BLANK OR ZERO before attempting to define the partitions using the PARTITION command.
Load 469
STOGROUP
Specify the Db2 storage group in which the new tablespace will reside. The storage group must
already exist. This field is prefilled with your profile’s value or the extracted value, if the profile
value is blank.
PRIQTY(K)
Primary Quantity. Specify the number of storage units allocated for the file in which your
tablespace is to reside.
SECQTY(K)
Secondary Quantity. Specify how much more space should be allocated for the file if it exceeds
the primary quantity.
BUFFERPOOL
Specify the Db2 buffer pool name associated with the tablespace. This field is prefilled with the
extracted value.
FREEPAGE
Specify how often the system should leave a free page when the tablespace is updated.
PCTFREE
Specify how much of each page to leave free when the tablespace is updated.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
PARTITION (PART)
Displays the Tablespace Partition Definition screen which lets you define the attributes for each
tablespace partition.
LimitKey (LK)
Displays the Limit Key Definition screen (Figure 261 on page 477) which lets you define the limit
key value for each logical partition, if the tablespace is partitioned.
470 File-AID/RDX Reference
Table 31 shows what types of tablespaces are created in each Db2 Version.
Table 32 shows what changes are valid for changing the type of tablespace.
Use this screen to update the Db2 tablespace partition information. After you view or modify the
tablespace partition information, press END to return to the Create Tablespace screen.
Database
Displays the name of the Db2 database of the Target Environment where the tablespace will
reside.
Target NUMPARTS
Displays the number of partitions for the target tablespace.
Tablespace
Displays the name of the Db2 tablespace of the Target Environment for which you want to
specify partition information.
Source NUMPARTS
Displays the number of partitions as specified in the extract file.
equally over all partitions. It overrides the status set with the Automatic Space Calculation field
in the Target Environment screen.
Partition Fields
By default, partition 1 is used as the model partition. If all partitions have the same values as the
model, no other partitions are displayed. Only partitions that are different from the model are
displayed in the scrollable area below the model partition. Use the line commands to insert, repeat,
or delete partitions that have different values than the model.
PART
For the model, it is the first partition of the source. In the list of differing partition definitions, it
displays the number of each partition that is different from the model partition.
STOGROUP
Specify the Db2 storage group in which the new tablespace partition will reside. The storage
group must already exist. This field is prefilled with the extracted storage group value.
PRIQTY(K)
Specify the number of storage units allocated for the file in which your tablespace partition is to
reside.
SECQTY(K)
Specify how much more space should be allocated for the file for the new tablespace partition if it
exceeds the primary quantity.
FREEPAGE
Specify how often the system should leave a free page when the tablespace partition is updated.
PCTFREE
Specify how much of each page to leave free when the tablespace partition is updated.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
Load 473
CHANGE (C)
The CHANGE command allows you to globally update the entry fields for the partition
definition. Specify the change ’from string’ and change ‘to string’ values in the CHANGE
Command Window - Partition Definition and select the fields to change.
When you enter the CHANGE command, File-AID/RDX will pop up the CHANGE Command
Window as shown in Figure 259. Enter the Change ‘from string’ and the Change ‘to string’ values
you want to change globally for all displayed partitions, then press END to execute the change
and exit the window.
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
Act on the following fields:
STOGROUP ===> N ( Y = Yes, N = No)
PRIQTY(K) ===> N
SECQTY(K) ===> N
FREEPAGE ===> N
PCTFREE ===> N
ENDER to process and return
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 255 for an example. SIZE is a toggle switch so enter SIZE again to return to the
original format.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
I (Insert)
Enter the I (Insert) line command to insert a different partition definition after the current
partition. The inserted partition(s) are based on the model partition. To insert more than 1
partition, enter the number of partitions with the I line command (nnn = 1 - 999). Then modify
the partition values as required.
I
nnn
474 File-AID/RDX Reference
D (Delete)
Enter the D (Delete) line command to delete a partition definition in the list of different
partitions from the model. To delete more than 1 partition, enter the number of partitions with
the D line command (nnn = 1 - 999).
D
nnn
R (Repeat)
Enter the R (Repeat) line command to repeat a partition definition in the list of different
partitions from the model. To repeat a partition definition more than once, enter the number of
repetitions with the R line command (nnn = 1 - 999).
R
nnn
Create/Edit DB2 Table
The Create DB2 Table screen shown in Figure 260 is displayed when you enter the S (Select) line
command on a Db2 table in the Target Environment screen. This screen lets you modify the create
table information from the extract file to your new target environment.
Use this screen to update the Db2 table information for the Db2 table to be loaded. After you modify
the table information, press END to return to the Target Environment.
If the Db2 table, as specified on this screen, does not exist in the Target Environment, File-AID/RDX
will attempt to create and then load the Db2 table during the execution phase of the Load function.
Load 475
Source Object
SSID
Displays the Db2 subsystem ID of the “Source Environment” as specified in the extract file.
Location
Displays the remote Db2 location name of the “Source Environment”as specified in the extract
file.
Table Name
Displays the full Db2 source table name, including creator ID of the table, as specified in the
extract file.
Partitioned
Indicates whether the table is in a partitioned tablespace or not.
NUMPARTS
Displays the number of partitions.
MAXPARTITIONS
Displays the maximum number of partitions for a partition-by-growth universal tablespace (UTS).
The actual maximum partition size allowed is dependent on the DSSIZE and Page size defined for
the Tablespace. The MAXPARTITIONS field displays in place of the NUMPARTS field for a
partition-by-growth universal tablespace.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
Creator
Specify the creator ID of the table. This field is prefilled with the target creator ID for Db2 objects
as specified in the Load Object Specifications or Source to Target Mapping screen.
476 File-AID/RDX Reference
Table Name
Specify the name of the table. This field is prefilled with the extracted table name or as specified
in the Source to Target Mapping screen.
When the source table is a Temporal Table, File-AID/RDX does not support
creating the target Temporal Table, instead, File-AID/RDX creates a regular
table. To load into a Temporal Table, it must already exist in the target
environment.
Database
Displays the name of the Db2 database where the table resides in the Target Environment. This
field is protected for tables that already exist in the target environment. If the target table does
not exist, you can change the database only to an existing database or one to be created that is in
the Target Environment list. To use a new database name please specify it at the database level.
Tablespace
Displays the name of the Db2 tablespace of the Target Environment for the table. This field is
protected for existing tables. If the target table does not exist, you can change the tablespace
field. If the tablespace does not exist in the Target Environment, File-AID/RDX will create it
during the load process.
Blank out the tablespace field and File-AID/RDX generates DDL to create the
tablespace implicitly as long as only one table is associated with the tablespace and it’s
a non-partitioned tablespace. The current SQLID must have the proper Db2 authority
to create the tablespace in the execution phase.
Partitioned
Indicates whether the table is in a partitioned tablespace or not. Must be No for implicit
tablespace.
NUMPARTS
Displays the number of partitions.
MAXPARTITIONS
Specify the maximum number of partitions for a partition-by-growth universal tablespace (UTS).
The actual maximum partition size allowed is dependent on the DSSIZE and Page size defined for
the Tablespace. The MAXPARTITIONS field displays in place of the NUMPARTS field for a
partition-by-growth universal tablespace.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
LimitKey (LK)
Displays the Limit Key Definition screen which lets you define the limit key value for each logical
partition, if the tablespace is partitioned.
Load 477
Index
Displays the Db2 index name only if LimitKey command was issued from the Create Index
screen.
Table
Displays the full Db2 object name, including creator ID of the table for which the limit key
information is to be defined.
Partitioning fields
Displays the Db2 column names that are used in the partitioned index/tablespace.
If the index has an expression (IX_EXTENSION_TYPE field in SYSINDEXES equals 'S'), the
expression(s) are listed here instead of the index columns.
Target NUMPARTS
Displays the number of partitions for the target tablespace.
Source NUMPARTS
Displays the number of partitions as specified in the extract file.
478 File-AID/RDX Reference
PART
Displays the number of each partition.
Values
Specify the limit key value for each partition. This is an expandable field to allow specifying a
value longer than a single line.
Primary Commands
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 255 for an example. SIZE is a toggle switch so enter SIZE again to return to the
original format.
Use this screen to update the Db2 index information for the Db2 table and index to be created. After
you modify the index information, press END to return to the Target Environment.
Source Object
SSID
Displays the Db2 subsystem ID of the extracted Db2 data.
Load 479
Location
Displays the remote Db2 location name of the extracted Db2 data.
Index name
Displays the Db2 index name as it appears in the extract file.
Table Name
Displays the full Db2 object name, including creator ID of the table for which the index
information was extracted.
Index columns
Displays the Db2 column names that are used in the index.
If the index has an expression (IX_EXTENSION_TYPE field in SYSINDEXES equals 'S'), the
expression(s) are listed here instead of the index columns.
Index Type
Displays the index type as specified in the extract file. Valid types are:
Non-Partitioned
Simple tablespace (No partitions).
Partitioning Index
Index-based partitioning. The number of partitions are shown in the NUMPARTS field.
NUMPARTS
Displays the number of partitions.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
480 File-AID/RDX Reference
Table Name
Displays the full Db2 object name, including creator ID of the table for which the index
information applies.
Index Creator
Specify the creator ID of the index. This field is prefilled with the target creator ID for Db2
objects as specified in the Load Object Specifications or Source to Target Mapping screen.
Index Name
Specify the name of the index. This field is prefilled with the extracted index name as specified or
modified in the Load Object Specifications screen.
Index Type
Displays the index type as specified in the extract file. Valid types are:
Non-Partitioned
Partitioning Index
Index-based partitioning. The number of partitions are shown in the NUMPARTS field.
Data partitioned secondary index. The number of partitions are shown in the
NUMPARTS field.
NUMPARTS
Displays the number of partitions.
STOGROUP
Specify the Db2 storage group in which the new index will reside. The storage group must already
exist. This field is prefilled with the extracted storage group value.
PRIQTY
Number of kilobytes to be allocated for the file where your index will reside.
Load 481
SECQTY
Amount of space (in kilobytes) to be allocated for the file if it exceeds the primary quantity.
BUFFERPOOL
Specify the Db2 buffer pool name associated with the index. This field is prefilled with the
extracted value.
FREEPAGE
Specify the rate at which a page is left free when the index is loaded or reorganized.
PCTFREE
Specify the percentage of each page left free when the index is loaded or reorganized.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
PARTITION (PART)
Displays the Index Partition Definition screen which lets you define the attributes for each index
partition, if the tablespace is partitioned.
LimitKey (LK)
Displays the Limit Key Definition screen (Figure 261 on page 477) which lets you define the limit
key value for each logical partition, if the tablespace is partitioned.
Use this screen to update the Db2 index partition information. After you view or modify the index
partition information, press END to return to the Create Index screen.
Index
Displays the name of the index.
Target NUMPARTS
Displays the number of partitions.
Table
Displays the full Db2 object name, including creator ID of the table for which the index
information applies.
Source NUMPARTS
Displays the number of partitions.
Partition Fields
By default, partition 1 is used as the model partition. For table-controlled partitioning, the highest
partition of the source is used as the model partition. If all partitions have the same values as the
model, no other partitions are displayed. Only partitions that are different from the model are
displayed in the scrollable area below the model partition. Use the line commands to add or delete
partitions that have different values than the model.
PART
For the model, it displays the number of the source partition used for the model. In the list of
differing partition definitions, it displays the number of each partition that is different from the
model partition.
STOGROUP
Specify the Db2 storage group in which the new tablespace partition will reside. The storage
group must already exist. This field is prefilled with the extracted storage group value.
PRIQTY(K)
Specify the number of storage units allocated for the file in which your tablespace partition is to
reside.
SECQTY(K)
Specify how much more space should be allocated for the file for the new tablespace partition if it
exceeds the primary quantity.
FREEPAGE
Specify how often the system should leave a free page when the tablespace partition is updated.
PCTFREE
Specify how much of each page to leave free when the tablespace partition is updated.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
CHANGE (C)
The CHANGE command allows you to globally update the entry fields for the partition
definition. Specify the change’ from string’ and change ‘to string’ in the CHANGE Command
Window - Partition Definition and select the fields to change. See CHANGE Command Window
on page 473 for a description.
484 File-AID/RDX Reference
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 255 for an example. SIZE is a toggle switch so enter SIZE again to return to the
original format.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
I (Insert)
Enter the I (Insert) line command to insert a different partition after the current partition. The
inserted partition(s) are based on the model partition. To insert more than 1 partition, enter the
number of partitions with the I line command (nnn = 1 - 999). Then modify the partition values
as required.
I
nnn
D (Delete)
Enter the D (Delete) line command to delete a partition definition in the list of different
partitions from the model. To delete more than 1 partition, enter the number of partitions with
the D line command (nnn = 1 - 999).
D
nnn
R (Repeat)
Enter the R (Repeat) line command to repeat a partition definition in the list of different
partitions from the model. To repeat a partition definition more than once, enter the number of
repetitions with the R line command (nnn = 1 - 999).
R
nnn
Create/Edit Db2 Alias
The Create Alias screen shown in Figure 264 on page 485 is displayed when you enter the S (Select)
line command on a Db2 alias in the Target Environment screen. This screen lets you modify the
create alias information from the extract file to your new target environment.
Load 485
Use this screen to update the Db2 alias information. After you view or modify the alias information,
press END to return to the Target Environment screen.
Source Object
SSID
Displays the Db2 subsystem ID of the “Source Environment”.
Location
Displays the remote Db2 location name of the “Source Environment”.
Alias name
Displays the alias name as extracted.
Table name
Displays the table name of the extracted alias name.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
Table name
Displays the target table name for the alias.
Creator
Specify the creator name for the new alias name.
486 File-AID/RDX Reference
Alias name
Specify the name for the alias in the target environment.
Use this screen to update the Db2 synonym information. After you view or modify the synonym
information, press END to return to the Target Environment.
Source Object
SSID
Displays the Db2 subsystem ID of the “Source Environment”.
Location
Displays the remote Db2 location name of the “Source Environment”.
SQLID
Displays the SQL ID as extracted for the synonym.
Synonym name
Displays the synonym name as extracted.
Table name
Displays the table name of the extracted synonym name.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Load 487
Location
Displays the remote Db2 location name of the Target Environment.
Table name
Displays the target table name for the synonym.
SQLID
Specify the creator name for the new synonym name.
Synonym name
Specify the name for the synonym in the target environment.
Use this screen to update the Db2 view information. After you view or modify the view information,
press END to return to the Target Environment.
Source Object
SSID
Displays the Db2 subsystem ID of the “Source Environment”.
Location
Displays the remote Db2 location name of the “Source Environment”.
View name
Displays the view name as extracted.
488 File-AID/RDX Reference
Table name
Displays the table name of the extracted view.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
Table name
Displays the target table name for the view.
Creator
Specify the creator name for the new view name.
View name
Specify the name for the view in the target environment.
Use this screen to update the Db2 view information. After you view or modify the view information,
press END to return to the Target Environment.
Load 489
Source Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
View name
Displays the view name as extracted.
Table name
Blank, as there are more than one table.
Target Object
SSID
Displays the Db2 subsystem ID of the Target Environment.
Location
Displays the remote Db2 location name of the Target Environment.
Table name
Blank, as there are more than one table.
Creator
Specify the creator name for the new view name.
View name
Specify the name for the view in the target environment.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
TABLE (TAB)
Displays the “Tables Within View” screen which lists the tables that are part of the complex view.
490 File-AID/RDX Reference
Review the list of tables for the complex view, then press END to exit the screen.
Use this screen to update the MVS file information to be loaded. After you modify the MVS file
information, press END to return to the Target Environment screen.
Source Object:
File Name
Displays the name of the MVS file as specified in the extract file.
Load 491
Target Object:
File Name
Displays the name of the MVS file as specified on the Target Environment screen. You can also
change the file name in this field.
Management Class
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.
Storage Class
Specify the SMS storage class to use for the allocation of the file. The storage class describes the
hardware requirements of the file.
Generic Unit
Specify the device type on which the new file will reside. The names of these devices are
installation dependent.
Volume serial
Specify the volume serial of the direct access device that contains the file.
Data Class
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.
Space units
Specify one of the following storage unit types depending on how the file size is expressed:
TRK - Tracks
CYL - Cylinders
BLK - Blocks
KB - Kilobytes
MB - Megabytes
492 File-AID/RDX Reference
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.
Record length
Specify a logical record length, in bytes, of the records to be stored in the file. File-AID/RDX
validates this value with the record format and block size.
Block size
Specify the physical record length, in bytes, of the blocks to be stored in the file. File-AID/RDX
validates this value with the record format and record length.
File-AID/RDX supports loading to Sequential (PS) files greater than 65,535 tracks
(DSNTYPE=LARGE) when the MVS Operating System also supports them.
Allocation of a datasets with DSNTYPE=LARGE will not be supported. Loading to a
DSNTYPE=LARGE file is supported as long as the target object exists. If the source object is
defined as DSNTYPE=LARGE and the Target object is to be auto-created, a warning message
will be issued to notify that the DSNTYPE=LARGE definition will be dropped.
Use this screen to update the VSAM cluster to be created. After you modify the cluster information,
press END to return to the Target Environment screen.
Load 493
During the execution phase of the Load function, File-AID/RDX will attempt to create the VSAM
cluster as specified on this screen.
Source Object:
Cluster
Displays the name of the cluster as specified in the extract file.
Target Object:
Cluster
Displays the name of the VSAM cluster as specified on the Target Environment screen. You can
also change the cluster name in this field.
Data component
Displays the name of the data component as it will be in the new target environment. It reflects
the new cluster name and low level qualifier.
Index component
Displays the name of the index component as it will be in the new target environment. It reflects
the new cluster name and low level qualifier.
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.
494 File-AID/RDX Reference
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.
Any SMS file allocation problems are indicated with an IDCAMS Error
Message Display screen.
Space Allocation
Specify the required storage space for the file components in both the DATA Component and INDEX
Component columns. The default values are used when you leave these fields blank. The INDEX
component can be specified on a generic unit or volume that is different from the DATA component.
Volume serial
Specify the volume serial of the direct access device that contains the file.
When using SMS and allocating a non-SMS managed file, a Volume serial is required.
Units
Specify one of the following storage unit types depending on how the file size is expressed:
TRK - Tracks
CYL - Cylinders
REC - Records
Primary Qty
Specify the primary allocation quantity as specified in the space units field.
Secondary Qty
Specify the secondary allocation quantity as specified in the space units field.
Release 1 and above). The IAM subsystem(s) must be fully operational and IDCAMS must support
IAM. IAM files are processed the same as their respective VSAM types (KSDS, ESDS) in all functions.
Data extracted from an IAM file in the source environment can also be loaded to a standard VSAM file
in the Target Environment as long as the target object exists. Data extracted from a VSAM file in the
source environment can be loaded to an IAM file in the Target Environment as long as the target
object exists.
IAM files exist as fixed or variable length files. Due to a constraint in the information available to
File-AID/RDX from the IAM Access Method, all files are currently handled as variable length files. If
the length is changed on an IAM file which is truly fixed, File-AID/RDX will display an error message.
Use this screen to update the VSAM alternate index information for the VSAM file and alternate
index to be created. After you modify the index information, press END to return to the Target
Environment screen.
During the execution phase of the Load function, File-AID/RDX will attempt to create the VSAM
alternate index as specified on this screen.
Base cluster
Displays the name of the extracted cluster to be indexed. VSAM requires that the base cluster of
an alternate index be defined as non-reusable.
496 File-AID/RDX Reference
Cluster
Specify the fully qualified name of the new VSAM alternate index to be created. This field is
prefilled with the extracted name.
Data component
Displays the name of the data component as extracted.
Index component
Displays the name of the index component as extracted.
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.
Load 497
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.
Any SMS file allocation problems are indicated with an IDCAMS Error
Message Display screen.
Space Allocation
Specify the required storage space for the file components in both the DATA Component and INDEX
Component columns. The default values are used when you leave these fields blank. The INDEX
component can be specified on a generic unit or volume that is different from the DATA component.
Volume serial
Specify the volume serial of the direct access device that contains the file.
When using SMS and allocating a non-SMS managed file, a Volume serial is required.
Units
Specify one of the following storage unit types depending on how the file size is expressed:
TRK - Tracks
CYL - Cylinders
BLK - Blocks
Primary Qty
Specify the primary allocation quantity as specified in the space units field.
Secondary Qty
Specify the secondary allocation quantity as specified in the space units field.
Use this screen to update the VSAM path information for the VSAM file to be created. After you
modify the path information, press END to return to the Target Environment screen.
During the execution phase of the Load function, File-AID/RDX will attempt to create the VSAM path
as specified on this screen.
Base cluster
Displays the name of the extracted cluster.
Use this screen to specify whether or not existing data should be deleted before objects are loaded
and whether or not rows with matching data (duplicate keys) should be replaced.
For MVS objects, you may also select the option to delete an existing target file and redefine it before
loading data.
The body of this screen consists of an upper portion and a lower portion.
Upper Portion
The upper portion of the screen consists of the following fields:
Load 499
Insert/Load Option
Displays which Db2 load option you selected on the Load Object Specifications screen:
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.
Lower Portion
The lower portion of the screen consists of a list of objects that File-AID/RDX will load. If there are
more entries on the list than will fit on the screen, you can scroll the list up and down using standard
scrolling commands. See Scrolling on page 31 for more information.
Object Name
Displays the fully qualified name of the object to be loaded. If it is a Db2 object it includes the
creator ID of the owner of the table and index that will be loaded.
Type
The object type is indicated in the next column
– DB2
– File (MVS)
Record Count
Indicates the number of records (rows) to be loaded into each target object.
Del ALL
Specify whether File-AID/RDX should delete ALL of the data residing in the target objects before
it loads data from the extract file. For Db2 tables, Db2 delete rules are in effect.
Yes File-AID/RDX generates a step in the JCL to delete all rows from the specified object
before loading data.
You cannot specify Yes in this field for objects marked to be created; they do not exist
and, therefore, do not contain data.
No Indicates that the data is to be loaded into objects without deleting existing rows.
Note: When loading into a SYSTEM TEMPORAL table that already contains data, you
must consider potential data conflicts when NOT replacing all data in the table. The
conflicts can occur because of duplicate values in the three timestamp columns that are
part of SYSTEM TEMPORAL tables.
500 File-AID/RDX Reference
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.
For Db2:
If the target Db2 table has a unique index, data from the extract file will replace existing
data in the target table.
No For MVS:
If the target object is indexed and an existing target record has a unique key that
matches the data from the extract file, the data from the extract file will be discarded.
For Db2:
If the target table has a unique index and an existing target row has a unique key that
matches the data from the extract file, the data from the extract file will be discarded. If
the target table does not contain a unique index and rows to be loaded already exist, no
data will be discarded.
Del/Def
MVS files only. Specify whether 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 Appends data to the existing target object.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
END
The END command returns to the Load Menu.
CHANGE (C)
The CHANGE command allows you to globally change the value (YES or NO) for all selected
fields (Del All, Replace Matches, or Del/Def) displayed in the list. Specify the change’ from string’
and change ‘to string’ in the CHANGE Command Window.
When globally changing the Del/Def value to YES, File-AID/RDX changes only the values for MVS
objects as this field is protected for Db2 objects.
When you enter the CHANGE command, File-AID/RDX displays the CHANGE Command
Window as shown in Figure 274 on page 501. Enter the Change ‘from string’ and the Change ‘to
string’ values (either YES or NO) you want to change globally for all selected fields to act upon.
Select the fields (Y) the CHANGE command should be applied to, then press END to execute the
change and exit the window.
Load 501
File-AID/RDX -------------- CHANGE COMMAND -------------------
Command ===>
Change ALL occurrences of "from string" value to "to string"
From string ===>
To string ===>
Act on the following fields:
Del All ===> N ( Y = Yes, N = No)
Replace Matches ===> N ( Y = Yes, N = No)
Del / Def ===> N ( Y = Yes, N = No)
CAN to cancel
END to process and return to Load Options
From string
Enter the current From (old) string, YES or NO, you want to change to the To (new) string in the
fields to act on.
To string
Enter the To (new) string, YES or NO, you want to replace the From (old) string with in the fields
to act on.
Del All
Enter Y if the global change is to be applied to the Del All field for all objects.
Replace Matches
Enter Y if the global change is to be applied to the Replace Matches field for all objects.
Del / Def
Enter Y if the global change is to be applied to the Del / Def field for all objects.
Processing Options
The Processing Options screen shown in Figure 275 is displayed when you select Option 5 from the
Load Menu.
502 File-AID/RDX Reference
Use this screen to specify processing options for MVS files and Db2 tables to be loaded with the SQL
insert or Db2 load utility option.
When the load option is Db2, use this screen to specify whether or not you want Db2 logging in
effect during the load of the Db2 objects and whether or not existing data should be deleted before
Db2 tables and/or MVS file are loaded.
Extract File
Displays the name of the file from which data will be loaded.
Objects to Load
Displays whether the load includes Db2 only, or MVS only, or both Db2 and MVS objects.
Log Option
Specify which log option to use during the execution of the Db2 LOAD utility for the Db2
objects.
2
Load 503
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.
Yes Save rows that cannot be inserted or updated in the discard file.
No Do not save rows that cannot be inserted or updated.
The discard file can be used as input to the load process if a previous load job was completed
normally, but rows were discarded. See SQL INSERT Load JCL on page 523.
504 File-AID/RDX Reference
Press Enter to process the file information. The saved request will also appear in your Load Reference
List (see Load Reference List on page 413).
The body of the Save Load Request screen consists of the following fields:
File Name
Specify the name of the file where you want to save the load request. You can save the request to
existing files. Existing files must conform to the format outlined for the 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 load request.
Description
Enter a short description of the load request. This description is displayed in the Load Menu and
the Load Reference List. Using this description is a helpful way to document your load request.
Load 505
SAVE Confirmation
When saving an Extract or Load request File-AID/RDX checks to see if the member already exists. If
the member already exists, the Save Confirmation window (Figure 277 on page 505) displays:
Save Confirmation
COMMAND ===>
The following member exists and will be replaced:
Request File ....: ‘TSOID01.FRSAMP.EXTCRIT’
Member to be Deleted: TESTA
ENTER to confirm Save and replace existing member
END return to Save Request enter a different member name
View JCL
The ISPF/PDF VIEW - File-AID/RDX Generated JCL screen shown in Figure 278 is displayed when you
select Option 7, from the Load Menu.
VIEW - File-AID/RDX Generated JCL --------------------------- COLUMNS 001 072
COMMAND ===> SCROLL ===> CSR
You are now editing the JCL that File-AID/RDX has generated to perform
the required function. Change this JCL as desired before submitting.
SYSIN data is contained in: TSOID01.RDX.FBCNTL.D060202.T115332
TSOID01.RDX.VBCNTL.D060202.T115332
000004 //* XFRJLOAD
000005 //*SQLID TSOID01 IS AUTHORIZED FOR ALL LOAD STEPS
000006 //* XFRJSTRT
000007 //*-------------------------------------------------------------------
000008 //* CLEAN1ST: - THIS STEP WILL ENSURE THAT ALL TEMPORARY FILES
000009 //* USED IN THIS JOB ARE DELETED.
000010 //* - THIS ALLOWS FOR KEEPING AND RERUNNING THE JOB EVEN IF
000011 //* SUBSEQUENT STEPS FAIL.
000012 //* - THIS JCL IS ALSO RESTARTABLE AT ANY STEP BY CODING
000013 //* RESTART=XXXXXXXX ON THE JOBCARD. (XXXXXXXX = STEPNAME)
000014 //*-------------------------------------------------------------------
000015 //CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
000016 //SYSPRINT DD SYSOUT=*
000017 //SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
000018 DELETE TSOID01.RDX.SPLIT002.D130424.T105223
000019 DELETE TSOID01.RDX.SORT003.D130424.T105223
000020 DELETE TSOID01.RDX.SPLIT003.D130424.T105223
Use this screen to view and edit the load JCL generated by File-AID/RDX. Submit this JCL with the
SUBMIT command or select Option 8, Submit JCL, from the Load Menu to perform the load.
If you want to save this JCL, use the ISPF/PDF CREATE or REPLACE command before you exit this
screen. Otherwise, File-AID/RDX deletes this file and other temporary files, including the control card
PDSEs (prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix and prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix) (see also
Control Card Cleanup and CLEANCTL—File Cleanup (IEFBR14) - Optionalon page 509, page 523, and
page 535).
EOJ (page 83). If the job option is set to NO, File-AID/RDX control card PDSEs and EXTPARMS
parameter files created in the load and delete jobs will NOT be deleted. Keeping the datasets until all
steps run successfully allows for the restarting of the JCL at any step.
Periodically, you may want to manually delete the control card PDSEs and EXTPARMS parameter files
that are no longer needed for saved jobs to be resubmitted.
View REXX
The ISPF/PDF Edit screen shown in Figure 279 is displayed when you select Option 7, from the Load
Menu and the Execute Load interactively (online) status has been set to ON with the MODE primary
command.
Use this screen to view or edit the extract REXX statements generated by File-AID/RDX.
Submit JCL
Select Option 8, from the Load Menu after you have completed specifying all your load options and
are ready to submit your load request to perform the load.
You will receive a confirmation message that your job has been submitted.
Execute REXX
When the Execute Load Interactively (online) status has been set to ON with the MODE primary
command, select Option 8, from the Load Menu after you have completed specifying all your load
options to execute your load request to perform the interactive load.
Which of the steps described below File-AID/RDX includes in the load job
depends on:
This step creates any new tables and indexes that did not exist at the time of the interactive
phase of the Load function. The extract file being used must contain DDL for the tables and
indexes to be created.
See Generating CREATE DDL on page 463 for more information about how File-AID/RDX creates
new tables.
508 File-AID/RDX Reference
This step deletes any existing files that are to be created in this job. This enables you to keep and
rerun a JCL stream.
This step checks user authorizations for subsequent steps and separates the extract file into
multiple files, one file per table to be loaded.
Steps 4 through 7 are generated and executed for each table to be loaded.
This step is generated when you request that data be deleted from a table before the load on the
Load Options screen and the table resides in a tablespace that contains multiple tables. If the
table to be loaded is the only table in the tablespace, the LOAD Utility parameter, REPLACE, is
used to delete rows from the table. This step deletes rows from a table before data is loaded.
If the table exists in a tablespace with multiple tables and the table has any dependents, File-
AID/RDX generates and executes an ALTER statement to drop foreign keys from dependent tables
prior to deleting rows. After deleting rows, File-AID/RDX generates and executes another ALTER
statement to recreate the foreign keys.
This step executes the REPAIR utility for tablespaces after all data has been deleted from tables in
a previous step.
A tablespace will be placed in copy pending status when a table is loaded with the LOG Option
parameter set to 3 (repair).
For more information about this Db2 utility, see the IBM Db2 Command and Utility Reference.
This step sorts a file containing the data to be loaded in the associated LOADnnn step.
The sort sequence is based on the clustering index for that table. If no clustering index exists, sort
sequence is based on the first defined unique index for that table. If no unique index exists, sort
sequence is based on the first-defined index for that table.
This step is generated and executed for each table to be loaded (SORT), or once for all files to be
loaded (ICETOOL).
This step loads the data into a table from the sorted file generated in the SORT step. The RESUME
NO parameter is used when rows are to be deleted from a table. The RESUME YES parameter is
used when rows are not to be deleted from a table. The REPLACE parameter is used when rows are
to be deleted from a table and no other tables exist in the tablespace.
A return code of 4 may be acceptable. However, it is advisable to check any return code not equal
to 0. Any return code greater than 4 will stop subsequent steps from running.
For more information about this Db2 utility, see the IBM Db2 Command and Utility Reference.
This step executes the REPAIR utility for required tablespaces. Required tablespaces are those
tablespaces that will be placed in copy pending or checking pending status by either the load or
delete steps and will be used by subsequent DELTE steps.
A tablespace containing a dependent table will be placed in check pending status when the
dependent table is loaded.
Load 509
A dependent table’s tablespace will be placed in check pending status when the dependent table’s
parent rows are deleted.
A tablespace will be placed in copy pending status when a table is loaded with the LOG Option
parameter set to 3 (repair).
For more information about this Db2 utility, see the IBM Db2 Command and Utility Reference.
This step executes the CHECK DATA utility for all tablespaces that could possibly have a CHECK
PENDING restriction set by the IBM Db2 LOAD utility.
A return code of 4 may be acceptable. However, it may also indicate tablespaces are left in a
CHECK PENDING status. It is advisable to check the output from any return code not equal to 0.
For more information about this Db2 utility, see the IBM Db2 Command and Utility Reference.
This step invokes the COPY utility for all tablespaces included in the load if Log Option 1 (see
Specify DB2 Load Utility Options on page 502) is not specified in the Load Utility control cards.
For more information about this Db2 utility, see the IBM Db2 Command and Utility Reference.
This step deletes all File-AID/RDX temporary files used in this job. Keeping these files until all
steps run successfully allows for the restarting of the JCL at any step.
This step deletes the File-AID/RDX control card PDSEs. Whether step CLEANCTL is commented
out or executed is determined by the global job option Delete in-stream data datasets at EOJ (page
83). If the job option is set to NO, File-AID/RDX control card PDSEs created in the load and delete
jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows for the
restarting of the JCL at any step.
This step deletes the File-AID/RDX EXTPARMS parameter file. Whether step CLEANEXT is
commented out or executed is determined by the global job option Delete in-stream data datasets
at EOJ (page 83). If the job option is set to NO, File-AID/RDX EXTPARMS files created in the load
and delete jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows
for the restarting of the JCL at any step.
Figure 281. Db2 Load Utility Load JCL (continues on next page)
//* XFRJLOAD
//* XFRJCREA
//* --------------------------------------------------------------------
//* CREATE:- CREATE TABLES AND INDEXES
//* --------------------------------------------------------------------
//CREATE EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,7,B)
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTRACT DD DSN=Extract file,
// DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSUDUMP DD SYSOUT=(*)
//TPTPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2CREAT),
DISP=SHR
//*-------------------------------------------------------------------
//* DELTEnnn:- DELETE ALL ROWS FROM TABLE TSOID01.ORDER_TABLE
//*-------------------------------------------------------------------
//DELTEnnn EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,4,B)
//*
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//RDXSQLCD DD SYSOUT=(*)
//SYSOUT DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//DLETEIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DELTEnnn),
// (DISP=SHR)
//* XFRJSTRT
//*-------------------------------------------------------------------
//* CLEAN1ST: - THIS STEP WILL ENSURE THAT ALL TEMPORARY FILES
//* USED IN THIS JOB ARE DELETED.
//* - THIS ALLOWS FOR KEEPING AND RERUNNING THE JOB EVEN IF
//* SUBSEQUENT STEPS FAIL.
//* - THIS JCL IS ALSO RESTARTABLE AT ANY STEP BY CODING
//* RESTART=XXXXXXXX ON THE JOBCARD. (XXXXXXXX = STEPNAME)
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-sort-control-file
DELETE File-AID-split-file
DELETE File-AID-check-file
DELETE File-AID-image-copy-file
SET MAXCC=0
SET LASTCC=0
/*
Load 511
Figure 282. Db2 Load Utility Load JCL (continues on next page)
//* --------------------------------------------------------------------
//* LDDRV:- LOAD DRIVER
//* THE FOLLOWING IS PERFORMED IN THIS STEP.
//* - CHECK USERS AUTHORITY TO RUN ALL THE STEPS.
//* - ENSURE TABLES EXIST.
//* - SPLIT EXTRACT FILE INTO SEPARATE LOAD FILES.
//* --------------------------------------------------------------------
//LDDRV EXEC PGM=XFREXEC,COND=(4,LT),REGION=8192K,
// PARM=(FR,3,B)
//*
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTRACT DD DSN=extract-file,
// DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//*
//CHCKDATA DD DSN=TSOID01.prefix.CHECK.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920),
// SPACE=(TRK,(1,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//*
//IMAGECPY DD DSN=TSOID01.prefix.IMAGECPY.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920),
// SPACE=(TRK,(1,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//* XFRJSTR1
//SPLITnnn DD DSN=TSOID01.prefix.SPLITnnn.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=VB,LRECL=302,BLKSIZE=0),
// SPACE=(TRK,(5,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SRTCDnnn DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(SRTCDnnn),
// (DISP=SHR)
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSUDUMP DD SYSOUT=(*)
//TPTPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2LCT),
// (DISP=SHR)
512 File-AID/RDX Reference
Figure 283. Db2 Load Utility Load JCL (continues on next page)
/* XFRJSORT
//*-------------------------------------------------------------------
//* SORTnnn:- SORT INPUT FILE FOR LOAD STEP LOADnnn
//*-------------------------------------------------------------------
//SORTnnn EXEC PGM=SORT,COND=(4,LT)
//*
//STEPLIB DD DSN=SYS1.SORTLIB,
// DISP=SHR
//SYSOUT DD SYSOUT=(*)
//DFSPARM DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(DFSPARM),
// (DISP=SHR)
//$ORTPARM DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix($ORTPARM),
// (DISP=SHR)
//SORTIN DD DSN=File-AID-split-file,
// DISP=(OLD,KEEP,KEEP)
//SORTOUT DD DSN=File-AID-sort-file
// DCB=(RECFM=VB,LRECL=302,BLKSIZE=0),
// SPACE=(TRK,(5,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SORTWK01 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SORTWK02 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SORTWK03 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SYSIN DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(SRTCDnnn),
// DISP=SHR
//*-------------------------------------------------------------------
//* LOADnnn:- LOAD STEP FOR TABLE TSOID01.CUSTOMER_TABLE
//*-------------------------------------------------------------------
//LOADnnn EXEC PGM=DSNUTILB,PARM='DSN,TSOID01',
// REGION=8192K,COND=(4,LT)
//*
//STEPLIB DD DSN=DB2-load-library,DISP=SHR
//SORTOUT DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK01 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK02 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK03 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK04 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSUT1 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSERR DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSMAP DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSREC DD DISP=(OLD,KEEP,KEEP),
// DSN=File-AID-sort-file
//COPYnnn DD DSN=TSOID01.prefix.IMAGEnnn.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=VB,LRECL=27994,BLKSIZE=27998,DSORG=PS),
// SPACE=(27998,(20,10),RLSE),
// UNIT=SYSDA,VOL=SER=PRD900,
// DISP=(NEW,CATLG,DELETE)
//SYSPRINT DD SYSOUT=(*)
//UTPRINT DD SYSOUT=(*)
//SYSIN DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(LOADnnn),
// (DISP=SHR)
/*
//*-------------------------------------------------------------------
//* CHCKDATA:- RUN CHECK DATA TO CHECK TABLESPACES FOR VIOLATIONS
//* OF REFERENTIAL CONSTRAINTS.
//* - CHECK DATA IS ONLY RUN AGAINST TABLESPACES THAT MAY
//* BE IN CHECK PENDING STATUS.
//* - THE "SCOPE ALL" PARAMETER IS USED.
//*-------------------------------------------------------------------
//CHCKDATA EXEC PGM=DSNUTILB,PARM='DSN,TSOID01',
// REGION=8192K,COND=(4,LT)
//*
//STEPLIB DD DSN=DB2-load-library,DISP=SHR
//SYSPRINT DD SYSOUT=(*)
//UTPRINT DD SYSOUT=(*)
//SORTOUT DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK01 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK02 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK03 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK04 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSUT1 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSERR DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSIN DD DSN=TSOID01.prefix.CHECK.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,KEEP,KEEP)
//*
Load 513
//*-------------------------------------------------------------------
//* IMAGECOPY:- THE COPY UTILITY IS RUN AGAINST TABLESPACES THAT HAVE
//* BEEN PLACED IN COPY PENDING STATUS.
//* - TABLESPACES ARE PLACED IN COPY PENDING BY SPECIFYING
//* "LOG NO" DURING THE LOAD PROCESS.
//* - A FULL IMAGECOPY WILL BE MADE.
//*-------------------------------------------------------------------
//IMAGECPY EXEC PGM=DSNUTILB,PARM='DSN,TSOID01',
// REGION=8192K,COND=(4,LT)
//*
//STEPLIB DD DSN=DB2-load-library,DISP=SHR
//SYSPRINT DD SYSOUT=(*)
//UTPRINT DD SYSOUT=(*)
//SORTOUT DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK01 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK02 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK03 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SORTWK04 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSUT1 DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//SYSERR DD UNIT=SYSDA,SPACE=(16384,(20,20),,,ROUND)
//COPYnnn DD DSN=TSOID01.prefix.IMAGEnnn.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=VB,LRECL=27994,BLKSIZE=27998,DSORG=PS),
// SPACE=(27998,(2,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SYSIN DD DSN=TSOID01.prefix.IMAGECPY.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,KEEP,KEEP)
//* XFRJLDND
//*-------------------------------------------------------------------
//* CLEANLST: - THIS STEP WILL PERFORM A DELETE OF ALL TEMPORARY
//* FILES USED IN THIS JOB.
//* - KEEPING THE FILES UNTIL ALL STEPS RUN SUCCESSFULLY
//* ALLOWS FOR THE RESTARTING OF THE JCL AT ANY STEP.
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-sort-control-file
DELETE File-AID-split-file
DELETE File-AID-check-file
DELETE File-AID-image-copy-file
SET MAXCC=0
SET LASTCC=0
/*
//*
//*-------------------------------------------------------------------
//* CLEANCTL: - THIS STEP WILL PERFORM A DELETE OF THE TWO CNTL
//* DATASETS USED BY THIS JOB FOR THE SYSIN DATA.
//* - THE DATASETS ARE ONLY DELETED IF ALL THE PREVIOUS
//* STEPS RUN SUCCESSFULLY; THIS ALLOWS FOR RESTARTING
//* OF THE JOB AT ANY STEP.
//*-------------------------------------------------------------------
//* NOTE! - THIS STEP IS CONDITIONED ON AN OPTION ON THE GLOBAL
//* OPTIONS SCREEN
/*-------------------------------------------------------------------
//CLEANCTL EXEC PGM=IEFBR14,COND=(4,LT)
//*
//DFBPDSE DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//DVBPDSE DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
/*-------------------------------------------------------------------
//CLEANEXT EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048 XFRJCLXT
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE extract-parms-file,
SET MAXCC=0
SET LASTCC=0
//*
//* /*XFRJCLXT*/
//
514 File-AID/RDX Reference
The parameter information in the PARM field on the EXEC statement for the CREATE step must have
the following format:
Create DDL
Member DB2CREAT in the SYSIN control card PDSE contains the DDL for tables and indexes to be
created (see Figure 285)
Load 515
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 35:
Each source/target pair is identified by its table control number and for each, there are two tables.
The first table contains the following information:
Table 37. Load Control Table—Source and Target Table Information (Continued)
Field Name Description
DEL For T: tables only. Indicates whether or not rows should be deleted before the load is
executed.
Y Delete rows before loading using the DELTEnnn step.
N Do not delete rows before loading.
R Delete rows using LOAD utility’s REPLACE parameter.
DEP For TT: tables only. Indicates whether or not File-AID/RDX should attempt to replace (update)
existing rows from the target table with rows from the source table.
Y Yes
N No
ROW COUNT For T: tables only. Identifies the number of rows to be loaded into the target table.
N or Y Represents the D record supplement indicator (see also Product Record — 0 on page 378).
N or Y Represents the extract IMPLICITLY HIDDEN columns indicator (see also Extract IMPLICITLY
HIDDEN columns on page 251).
N, C or V Represents the compression indicator (see also Compress on page 339).
E or U Represents the encoding indicator (see also DB2 Format on page 339).
REP=N or Y Represents the replace matches indicator (see also Replace Matches on page 500).
TC The target creator ID.
TT The target table; the table to be loaded.
CN Table control number; corresponds to the Hnnn records in the extract file.
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 35:
FIXDLnnn
This step uses the standard Db2 REPAIR utility to repair a tablespace due to previous delete step. Refer
to the IBM Db2 Command and Utility Reference for a full description of how to set up this step.
LOADnnn
This step uses the standard Db2 LOAD utility.
The SYSREC DD must reference the OUTPUT file from the corresponding SORT step. Refer to the IBM
Db2 Command and Utility Reference for a full description of how to set up this step. The load data is
contained in member LOADnnn of the SYSIN control card PDSE (see Figure 287).
Load 521
LOAD DATA
REPLACE
RESUME NO
COPYDDN COPYnnn
ENFORCE NO
LOG NO
INTO TABLE TSOID01.CUSTOMER_TABLE
(
CUSTOMER_NUMBER POSITION(17)
CHAR (6)
,
COMPANY_NAME POSITION(23)
CHAR (30)
,
ADDRESS POSITION(53)
CHAR (30)
,
CITY POSITION(83)
CHAR (25)
,
STATE POSITION(108)
CHAR (2)
,
ZIP_CODE POSITION(110)
CHAR (9)
,
COUNTRY POSITION(119)
CHAR (20)
,
AREA_CODE POSITION(139)
CHAR (3)
,
TELEPHONE_NUM POSITION(142)
CHAR (7)
,
CONTACT_NAME POSITION(149)
CHAR (30)
,
CONTACT_TITLE POSITION(179)
CHAR (30)
NULLIF (1:2) = X'FFFF',
CONTACT_ADDR POSITION(209)
CHAR (30)
NULLIF (3:4) = X'FFFF',
CONTACT_CITY POSITION(239)
CHAR (25)
NULLIF (5:6) = X'FFFF',
CONTACT_STATE POSITION(264)
CHAR (2)
NULLIF (7:8) = X'FFFF',
CONTACT_ZIP POSITION(266)
CHAR (9)
NULLIF (9:10) = X'FFFF',
CONTACT_COUNTRY POSITION(275)
CHAR (10)
NULLIF (11:12) = X'FFFF',
CONTACT_AREA_CD POSITION(285)
CHAR (3)
NULLIF (13:14) = X'FFFF',
CONTACT_TELEPHONE POSITION(288)
CHAR (7)
NULLIF (15:16) = X'FFFF'
)
RPAIRnnn
This step uses the standard Db2 REPAIR utility. Refer to the IBM Db2 Command and Utility Reference for
a full description of how to set up this step.
CHCKDATA
This step uses the standard Db2 CHECK utility.
The SYSIN DD must reference the same file referenced by the CHCKDATA DD in the LDDRV step.
Refer to the IBM Db2 Command and Utility Reference for a full description of how to set up this step.
522 File-AID/RDX Reference
IMAGECPY
This step uses the standard Db2 COPY utility.
The SYSIN DD must reference the same file referenced by the IMAGECPY DD in the LDDRV step.
Refer to the IBM Db2 Command and Utility Reference for a full description of how to set up this step.
COPYnnn
This step uses the Db2 Inline Image Copy utility. Refer to the IBM Db2 Command and Utility Reference
for a full description of how to set up this step.
Return Codes
An execution return code (RC) appears in the output listing.For return codes other than 0, 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 without error.
4 Job ran to completion without error, warnings issued.
8 Job ran with error. Subsequent job steps stopped.
16 Severe error, job aborted.
Which of the steps described below File-AID/RDX includes in the load job
depends on:
This step creates any new tables and indexes that did not exist at the time of the interactive
portion of the Load function. The extract file being used must contain DDL for the tables and
indexes to be created.
See Generating CREATE DDL on page 463 for more information about how File-AID/RDX creates
new tables.
This step deletes any existing files that are to be created in this job. This enables you to keep and
rerun a JCL stream.
This step checks user authorization for subsequent steps and separates the extract file into
multiple files, one file per table to be loaded.
This step sorts file(s) containing the data to be loaded in the associated LDSQLIN step.
Load 523
The sort sequence is based on the clustering index for that table. If no clustering index exists, sort
sequence is based on the primary index for that table. If no primary index exists, sort sequence is
based on the first-defined index for that table.
This step is generated and executed for each table to be loaded (SORT), or once for all files to be
loaded (ICETOOL).
This step is generated when you specify Yes in the Delete ALL Existing Data field on the SQL
Insert Load Option screen. Db2 delete rules are in effect for this step.
This step generates and executes the SQL INSERT and UPDATE statements to load data into tables
from the sorted files created in step 4. If you specified Yes in the Replace Matches field on the
Insert/Load Option screen and the target table contains a unique key, File-AID/RDX will replace
existing data in the target table with data from the extract file. If you specified No in the Replace
Matches field and the target table contains a unique key, File-AID/RDX will discard data that
already exists in the target table.
This step deletes all File-AID/RDX temporary files used in this job. Deleting these files in the last
job step enables the job to be restarted in any prior step.
This step deletes the File-AID/RDX control card PDSEs. Whether step CLEANCTL is commented
out or executed is determined by the global job option Delete in-stream data datasets at EOJ (page
83). If the job option is set to NO, File-AID/RDX control card PDSEs created in the load and delete
jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows for the
restarting of the JCL at any step.
This step deletes the File-AID/RDX EXTPARMS parameter file. Whether step CLEANEXT is
commented out or executed is determined by the global job option Delete in-stream data datasets
at EOJ (page 83). If the job option is set to NO, File-AID/RDX EXTPARMS files created in the load
and delete jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows
for the restarting of the JCL at any step.
//* --------------------------------------------------------------------
//* CREATE:- CREATE TABLES AND INDEXES.
//* --------------------------------------------------------------------
//CREATE EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,7,B)
//*
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTRACT DD DSN=extract-file,
// DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSUDUMP DD SYSOUT=(*)
//TPTPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2CREAT),
DISP=SHR
//* XFRJSTRT
//*-------------------------------------------------------------------
//* CLEAN1ST: - THIS STEP WILL ENSURE THAT ALL TEMPORARY FILES
//* USED IN THIS JOB ARE DELETED.
//* - THIS ALLOWS FOR KEEPING AND RERUNNING THE JOB EVEN IF
//* SUBSEQUENT STEPS FAIL.
//* - THIS JCL IS ALSO RESTARTABLE AT ANY STEP BY CODING
//* RESTART=XXXXXXXX ON THE JOBCARD. (XXXXXXXX = STEPNAME)
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-split-file
SET MAXCC=0
SET LASTCC=0
/*
//*
//* --------------------------------------------------------------------
//* LDDRV:- LOAD DRIVER
//* THE FOLLOWING IS PERFORMED IN THIS STEP.
//* - CHECK USERS AUTHORITY TO RUN ALL THE STEPS
//* - ENSURE TABLES EXIST.
//* - SPLIT EXTRACT FILE INTO SEPARATE LOAD FILES.
//* --------------------------------------------------------------------
//LDDRV EXEC PGM=XFREXEC,COND=(4,LT),REGION=8192K,
// PARM=(FR,3,B)
//*
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTRACT DD DSN=extract-file,
// DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//*
//DISCARDS DD DSN=File-AID-discard-file,
// DCB=(RECFM=VB,LRECL=302,BLKSIZE=306,DSORG=PS),
// SPACE=(TRK,(1,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//*
Load 525
Figure 289. SQL Insert Load JCL (continues on the next page)
//* XFRJSTR1
//SPLITnnn DD DSN=File-AID-split-file,
// DCB=(RECFM=VB,LRECL=302,BLKSIZE=0),
// SPACE=(TRK,(5,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SRTCDnnn DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(SRTCDnnn),
// DISP=SHR
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2LCT),
// (DISP=SHR)
//*
//*-------------------------------------------------------------------
//* SORTnnn:- SORT INPUT FILE FOR TABLE TSOID01.CUSTOMER_TABLE
//*-------------------------------------------------------------------
//SORTnnn EXEC PGM=SORT,COND=(4,LT)
//*
//STEPLIB DD DSN=SYS1.SORTLIB,
// DISP=SHR
//SYSOUT DD SYSOUT=(*)
//DFSPARM DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(DFSPARM),
// (DISP=SHR)
//$ORTPARM DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix($ORTPARM),
// (DISP=SHR)
//SORTIN DD DSN=File-AID-split-file,
// DISP=(OLD,KEEP,KEEP)
//SORTOUT DD DSN=File-AID-sort-file,
// DCB=(RECFM=VB,LRECL=103,BLKSIZE=27998),
// SPACE=(27998,(2,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SORTWK01 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SORTWK02 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SORTWK03 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SYSIN DD DSN=TSOID01.prefix.FBCNTS.Dnnnnnn.Tnnnnnn.suffix(SRTCDnnn),
// DISP=(OLD,KEEP,KEEP)
//*
//*-------------------------------------------------------------------
//* DELETE:- DELETE ROWS FROM SPECIFIED TABLES
//*-------------------------------------------------------------------
//DELETE EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,6,B)
//*
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2LCT),
// (DISP=SHR)
//DLRPT DD SYSOUT=(*)
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//*
526 File-AID/RDX Reference
//*-------------------------------------------------------------------
//* LOAD SQL INSERT:- LOAD TO TABLES USING SQL INSERT
//*-------------------------------------------------------------------
//LDSQLIN EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,5,B)
//*
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2LCT),
// (DISP=SHR)
//LOADIN DD DSN=TSOID01.prefix.SORTnnn.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,KEEP,KEEP)
//XCPTNRPT DD SYSOUT=(*)
//TOTLSRPT DD SYSOUT=(*)
//COMMTRPT DD SYSOUT=(*)
//RDERRORS DD SYSOUT=(*)
//SYSOUT DD SYSOUT=(*)
//DISCARDS DD DSN=TSOID01.DISCARD,
// DISP=MOD
//SYSPRINT DD SYSOUT=(*)
//SYSUDUMP DD SYSOUT=(*)
//TPTPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//* XFRLDND
//*-------------------------------------------------------------------
//* CLEANLST: - THIS STEP WILL PERFORM A DELETE OF ALL TEMPORARY
//* FILES USED IN THIS JOB.
//* - KEEPING THE fileS UNTIL ALL STEPS RUN SUCCESSFULLY
//* ALLOWS FOR THE RESTARTING OF THE JCL AT ANY STEP.
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-split-file
SET MAXCC=0
SET LASTCC=0
/*
//*
//*-------------------------------------------------------------------
//* CLEANCTL: - THIS STEP WILL PERFORM A DELETE OF THE TWO CNTL
//* DATASETS USED BY THIS JOB FOR THE SYSIN DATA.
//* - THE DATASETS ARE ONLY DELETED IF ALL THE PREVIOUS
//* STEPS RUN SUCCESSFULLY; THIS ALLOWS FOR RESTARTING
//* OF THE JOB AT ANY STEP.
//*-------------------------------------------------------------------
//* NOTE! - THIS STEP IS CONDITIONED ON AN OPTION ON THE GLOBAL
//* OPTIONS SCREEN
/*-------------------------------------------------------------------
//CLEANCTL EXEC PGM=IEFBR14,COND=(4,LT)
//*
//DFBPDSE DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//DVBPDSE DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//*-------------------------------------------------------------------
//* CLEANCTL: - THIS STEP WILL PERFORM A DELETE OF THE EXTPARMS
//* DATASETS USED BY THIS JOB FOR.
//* - THE DATASETS ARE ONLY DELETED IF ALL THE PREVIOUS
//* STEPS RUN SUCCESSFULLY; THIS ALLOWS FOR RESTARTING
//* OF THE JOB AT ANY STEP.
//*-------------------------------------------------------------------
//* NOTE! - THIS STEP IS CONDITIONED ON AN OPTION ON THE GLOBAL
//* OPTIONS SCREEN
/*-------------------------------------------------------------------
//CLEANEXT EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048 XFRJCLXT
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE extract-parms-file,
SET MAXCC=0
SET LASTCC=0
//*
//* /*XFRJCLXT*/
//
Load 527
The parameter information in the PARM field on the EXEC statement for the CREATE step must have
the following format:
Create DDL
Member DB2CREAT in the SYSIN control card PDSE contains the DDL for tables and indexes to be
created (see Figure 291).
528 File-AID/RDX Reference
--
--CREATE TABLE/INDEX DDL FOR: TSOID02.CUSTOMER_TABLE
--
CREATE TABLE TSOID02.CUSTOMER_TABLE
(CUSTOMER_NUMBER CHAR(6) NOT NULL WITH DEFAULT,
COMPANY_NAME CHAR(30) NOT NULL WITH DEFAULT,
ADDRESS CHAR(30) NOT NULL WITH DEFAULT,
CITY CHAR(25) NOT NULL WITH DEFAULT,
STATE CHAR(2) NOT NULL WITH DEFAULT,
ZIP_CODE CHAR(9) NOT NULL WITH DEFAULT,
COUNTRY CHAR(20) NOT NULL WITH DEFAULT,
AREA_CODE CHAR(3) NOT NULL WITH DEFAULT,
TELEPHONE_NUM CHAR(7) NOT NULL WITH DEFAULT,
CONTACT_NAME CHAR(30) NOT NULL WITH DEFAULT,
CONTACT_TITLE CHAR(30),
CONTACT_ADDR CHAR(30),
CONTACT_CITY CHAR(25),
CONTACT_STATE CHAR(2),
CONTACT_ZIP CHAR(9),
CONTACT_COUNTRY CHAR(10),
CONTACT_AREA_CD CHAR(3),
CONTACT_TELEPHONE CHAR(7),
PRIMARY KEY (CUSTOMER_NUMBER)
) IN DATABASE TSOID01H;
--
CREATE UNIQUE INDEX TSOID02.CUST_IDX
ON TSOID02.CUSTOMER_TABLE
(CUSTOMER_NUMBER ASC)
CLUSTER
SUBPAGES 4
BUFFERPOOL BP0
CLOSE YES;
--
--CREATE TABLE/INDEX DDL FOR: TSOID02.CONTACT_TABLE
--
CREATE TABLE TSOID02.CONTACT_TABLE
(CUSTOMER_NUMBER CHAR(6) NOT NULL WITH DEFAULT,
CONTACT_ID CHAR(2) NOT NULL WITH DEFAULT,
CONTACT_NAME CHAR(30) NOT NULL WITH DEFAULT,
TITLE CHAR(30),
CONTACT_CODE CHAR(4) NOT NULL WITH DEFAULT,
ADDRESS CHAR(30) NOT NULL WITH DEFAULT,
CITY CHAR(25) NOT NULL WITH DEFAULT,
STATE CHAR(2) NOT NULL WITH DEFAULT,
ZIP_CODE CHAR(9) NOT NULL WITH DEFAULT,
COUNTRY CHAR(20) NOT NULL WITH DEFAULT,
AREA_CODE CHAR(3) NOT NULL WITH DEFAULT,
TELEPHONE_NUM CHAR(7) NOT NULL WITH DEFAULT,
PRIMARY KEY (CUSTOMER_NUMBER,
CONTACT_ID)
) IN DATABASE TSOID01H;
--
CREATE UNIQUE INDEX TSOID02.CONT_IDX
ON TSOID02.CONTACT_TABLE
(CUSTOMER_NUMBER ASC,
CONTACT_ID ASC)
CLUSTER
SUBPAGES 4
BUFFERPOOL BP0
CLOSE YES;
--
--ALTER TO ADD FOREIGN KEYS TO ALL TABLES
--
ALTER TABLE TSOID02.CONTACT_TABLE
ADD FOREIGN KEY
(CUSTOMER_NUMBER)
REFERENCES TSOID02.CUSTOMER_TABLE
ON DELETE CASCADE;
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 45:
• The LRECL and BLKSIZE parameters must be large enough to hold the extracted records.
• The SPACE parameters must be large enough to hold all extracted records.
SRTCDnnn Control card used by File-AID/RDX to sort each split file before the data is loaded into a table.
• One member (SRTCDnnn) for each table in the control card PDSE.
• RECFM must be F or FB. LRECL must be 80.
SYSOUT Output class for error messages and reports.
RDXSQLCD Output class for detailed SQL error information from Db2.
SYSPRINT Standard output stream.
SYSTERM Output class for runtime errors.
TPTPRINT Standard output stream for optional diagnostics.
SYSIN File-AID/RDX’s Load Control Table (member DB2LCT). Used to verify authorities and identify
tables that need to be created. See Db2 Load Control Table for more information.
Each source/target pair is identified by its table control number and for each, there are two tables.
The first table contains the following information:
Table 47. Db2 Load Control Table—Source and Target Table Information
Field Name Description
SC: The source table creator ID
ST: The source table name
TI: Table information
For TT: tables only. Indicates whether or not rows should be deleted before the load is executed.
DEL Y Delete rows before loading using the DELETE step.
N Do not delete rows before loading.
Load 531
Table 47. Db2 Load Control Table—Source and Target Table Information (Continued)
Field Name Description
For TT: tables only. Indicates whether or not File-AID/RDX should attempt to replace (update) existing
rows from the target table with rows from the source table.
DEP
Y Yes
N No
Row Count For TT: tables only. Identifies the number of rows to be loaded into the target table.
N or Y Represents the D record supplement indicator (see also Product Record — 0 on page 378).
Represents the extract IMPLICITLY HIDDEN columns indicator (see also Extract IMPLICITLY HIDDEN
N or Y
columns on page 251).
N, C or V Represents the compression indicator (see also Compress on page 339).
E or U Represents the encoding indicator (see also DB2 Format on page 339).
REP=N or Y Represents the replace matches indicator (see also Replace Matches on page 500).
TC: The target table creator ID
TT: The target table name
Table Control Number
Cnnn: The table control number has the prefix C for Create.
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 49:
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 53:
Return
Description
Code
0 Job ran to completion without error.
4 Job ran to completion without error, warnings issued.
8 Job ran with error. Subsequent job steps stopped.
16 Severe error, job aborted.
This step creates any new VSAM clusters that did not exist at the time of the interactive portion
of the Load function.
This step also deletes the existing VSAM clusters if the Delete/Define load option was set to YES.
This step deletes the existing non-VSAM files if the Delete/Define load option was set to YES.
4. FILEALLC—Allocates the Non-VSAM files that did not exist during the interactive load process or
that have been deleted when the Delete/Define option was set to YES. (IDCAMS)
5. CLEAN1ST—File Cleanup (IDCAMS)
This step deletes any existing files that are to be created in this job. This enables you to keep and
rerun a JCL stream.
This step checks user authorization for subsequent steps and separates the extract file into
multiple files, one file per object to be loaded.
This step sorts a file containing the data to be loaded in the associated LDMVSIN step.
The sort sequence is based on the clustering index for that object. If no clustering index exists,
sort sequence is based on the primary index for that object. If no primary index exists, sort
sequence is based on the first-defined index for that object.
This step is generated and executed for each object to be loaded (SORT), or once for all files to be
loaded (ICETOOL).
This step generates and executes the DELETE and INSERT statements to load data into objects
from the sorted files created in step 4. If you specified YES in the Del All column for an object, all
data in that file will be deleted before the extracted data will be inserted.
If you specified Yes in the Replace Matches field on the Insert/Load Option screen and the target
object contains a unique key, File-AID/RDX will replace existing data in the target object with
data from the extract file. If you specified No in the Replace Matches field and the target object
contains a unique key, File-AID/RDX will discard data that already exists in the target object.
This step deletes all File-AID/RDX temporary files used in this job. Deleting these files in the last
job step enables the job to be restarted in any prior step.
This step deletes the File-AID/RDX control card PDSEs. Whether step CLEANCTL is commented
out or executed is determined by the global job option Delete in-stream data datasets at EOJ (page
83). If the job option is set to NO, File-AID/RDX control card PDSEs created in the load and delete
jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows for the
restarting of the JCL at any step.
This step deletes the File-AID/RDX EXTPARMS parameter file. Whether step CLEANEXT is
commented out or executed is determined by the global job option Delete in-stream data datasets
at EOJ (page 83). If the job option is set to NO, File-AID/RDX EXTPARMS files created in the load
and delete jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows
for the restarting of the JCL at any step.
//* XFRJLOAD
//* --------------------------------------------------------------------
//* VSAMALOC - PRE-ALLOC VSAM FILES FOR JES3
//*
//* COPYRIGHT (C) 1994-2010 BY COMPUWARE CORPORATION,
//* ALL RIGHTS RESERVED.
//* --------------------------------------------------------------------
//*
//VSAMALOC EXEC PGM=IDCAMS,COND=(4,LT)
//DDnnn DD DSN=TSOID01.FRSAMP.PARTTABL,
// DISP=(MOD,CATLG,KEEP),
// UNIT=SYSDA,
// SPACE=(TRK,(0))
//* --------------------------------------------------------------------
//* VSAMCRTE - DELETES AND / OR DEFINES VSAM FILES
//* --------------------------------------------------------------------
//VSAMCRTE EXEC PGM=IDCAMS,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
//SYSIN DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(VSAMCRTE),
// DISP=SHR
/*
//* --------------------------------------------------------------------
//* FILEALLC - ALLOCATES NON VSAM FILES
//* --------------------------------------------------------------------
//*
//FILEALLC EXEC PGM=IDCAMS,COND=(4,LT)
//*
//DDnnn DD DSN=TSOID02.C086.TEST.OBJC.SEQ,
// DCB=(RECFM=FB,LRECL=16,BLKSIZE=27984,DSORG=PS),
// SPACE=(TRK,(1,5),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,CATLG)
//* XFRJSTRT
//*-------------------------------------------------------------------
//* CLEAN1ST: - THIS STEP WILL ENSURE THAT ALL TEMPORARY FILES
//* USED IN THIS JOB ARE DELETED.
//* - THIS ALLOWS FOR KEEPING AND RERUNNING THE JOB EVEN IF
//* SUBSEQUENT STEPS FAIL.
//* - THIS JCL IS ALSO RESTARTABLE AT ANY STEP BY CODING
//* RESTART=XXXXXXXX ON THE JOBCARD. (XXXXXXXX = STEPNAME)
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-split-file
DELETE File-AID-sort-control-file
DELETE File-AID-MVS-info-file
SET MAXCC=0
SET LASTCC=0
/*
Load 537
//* --------------------------------------------------------------------
//* LDDRV:- LOAD DRIVER
//* THE FOLLOWING IS PERFORMED IN THIS STEP.
//* - CHECK USERS DB2 AUTHORITY TO RUN ALL THE STEPS.
//* - ENSURE TABLES EXIST.
//* - SPLIT EXTRACT FILE INTO SEPARATE LOAD FILES.
//* --------------------------------------------------------------------
//LDDRV EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,3,B)
//*
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTRACT DD DSN=extract-file,
// DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//*
//MVSINFO DD DSN=TSOID01.prefix.MVSIN.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920,DSORG=PS),
// SPACE=(TRK,(1,9),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//DDnnn DD DSN=TSOID02.C086.TEST.OBJC.SEQ,
// DISP=SHR
//*
//DISCARDS DD DSN=TSOID02.DISCARD.C86,
// DCB=(RECFM=VB,LRECL=309,BLKSIZE=27998,DSORG=PS),
// SPACE=(27998,(2,20),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//* XFRJSTR1
//SPLITnnn DD DSN=TSOID01.prefix.SPLITnnn.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=VB,LRECL=309,BLKSIZE=27998,DSORG=PS),
// SPACE=(27998,(1,9),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SRTCDnnn DD DSN=TSOID01.prefix.SRTCDnnn.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=80,DSORG=PS,BUFNO=1),
// SPACE=(TRK,(1,9),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//MVSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(MVSLCT),
// DISP=SHR
//* XFRJSORT
//*---------------------------------------------------------------------
//* SORTnnn:
//* - SORT INPUT FILE FOR TSOID02.C086.TEST.OBJD.KSDS
//*---------------------------------------------------------------------
//SORTnnn EXEC PGM=SORT,COND=(4,LT)
//*
//STEPLIB DD DSN=SYS1.SORTLIB,
// DISP=SHR
//SYSOUT DD SYSOUT=(*)
//DFSPARM DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(DFSPARM),
// DISP=SHR
//$ORTPARM DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix($ORTPARM),
// DISP=SHR
//SORTIN DD DSN=TSOID01.prefix.SPLIT003.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,KEEP,KEEP)
//SORTOUT DD DSN=TSOID01.prefix.SORT003.Dnnnnnn.Tnnnnnn.suffix,
// DCB=(RECFM=VB,LRECL=309,BLKSIZE=27998,DSORG=PS),
// SPACE=(27998,(1,9),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
538 File-AID/RDX Reference
//SORTWK01 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SORTWK02 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SORTWK03 DD UNIT=SYSDA,
// SPACE=(19069,(00003),,,ROUND),
// DISP=(NEW,DELETE,DELETE)
//SYSIN DD DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix(SRTCDnnn),
// DISP=(OLD,KEEP,KEEP)
//* XFRJMVSI
//*-------------------------------------------------------------------
//* LOAD MVS FILES
//*-------------------------------------------------------------------
//LDMVSIN EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,C,B)
//STEPLIB DD DSN=Combined-File-AID/RDX-load-libraries,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//MVSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(MVSLCT),
// DISP=(OLD,KEEP,KEEP)
//LOADIN DD DSN=TSOID01.prefix.SPLITnnn.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,KEEP,KEEP)
//DDnnn DD DSN=TSOID02.C086.TEST.OBJC.SEQ,
// DISP=(MOD,KEEP,KEEP)
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//XCPTNRPT DD SYSOUT=(*)
//TOTLSRPT DD SYSOUT=(*)
//COMMTRPT DD SYSOUT=(*)
//RDERRORS DD SYSOUT=(*)
//SYSOUT DD SYSOUT=(*)
//DISCARDS DD DSN=TSOID02.DISCARD.C86,
// DISP=MOD
//SYSPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//* XFRJLDND
//*-------------------------------------------------------------------
//* CLEANLST: - THIS STEP WILL PERFORM A DELETE OF ALL TEMPORARY
//* FILES USED IN THIS JOB.
//* - KEEPING THE FILES UNTIL ALL STEPS RUN SUCCESSFULLY
//* ALLOWS FOR THE RESTARTING OF THE JCL AT ANY STEP.
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-split-file
DELETE File-AID-sort-control-file
DELETE File-AID-MVS-info-file
SET MAXCC=0
SET LASTCC=0
/*
//*
//*-------------------------------------------------------------------
//* CLEANCTL: - THIS STEP WILL PERFORM A DELETE OF THE TWO CNTL
//* DATASETS USED BY THIS JOB FOR THE SYSIN DATA.
//* - THE DATASETS ARE ONLY DELETED IF ALL THE PREVIOUS
//* STEPS RUN SUCCESSFULLY; THIS ALLOWS FOR RESTARTING
//* OF THE JOB AT ANY STEP.
//*-------------------------------------------------------------------
//* NOTE! - THIS STEP IS CONDITIONED ON AN OPTION ON THE GLOBAL
//* OPTIONS SCREEN
/*-------------------------------------------------------------------
//CLEANCTL EXEC PGM=IEFBR14,COND=(4,LT)
//DFBPDSE DD DSN=DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//DVBPDSE DD DSN=DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//CLEANEXT EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048 XFRJCLXT
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE extract-parms-file,
SET MAXCC=0
SET LASTCC=0
/*
//* /*XFRJCLXT*/
Load 539
VSAMALOC
Pre-allocates VSAM files for JES3 (IDCAMS)
DELETE -
TSOID02.C086.TEST.OBJD.KSDS
DEFINE CLUSTER -
(NAME(TSOID02.C086.TEST.OBJD.KSDS) -
BUFFERSPACE(37376) -
INDEXED -
KEYS(25 15) -
MANAGEMENTCLASS(@NONSTD@) -
OWNER(TSOID02) -
RECORDSIZE(50 150) -
SHAREOPTIONS(3 3) -
SPEED -
STORAGECLASS(STDNOCSH)) -
DATA(NAME(TSOID02.C086.TEST.OBJD.KSDS.DATA) -
TRACKS(15 5) -
CONTROLINTERVALSIZE(4096)) -
INDEX(NAME(TSOID02.C086.TEST.OBJD.KSDS.INDEX)
CONTROLINTERVALSIZE(1024))
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 58:
• The LRECL and BLKSIZE parameters must be large enough to hold the extracted records.
• The SPACE parameters must be large enough to hold all extracted records.
SRTCDnnn Control card used by File-AID/RDX to sort each split file before the data is loaded into an object.
• One member (SRTCDnnn) for each table in the control card PDSE.
• RECFM must be F or FB. LRECL must be 80.
SYSOUT Output class for error messages and reports.
RDXSQLCD Output class for detailed error information.
SYSPRINT Standard output stream.
SYSTERM Output class for runtime errors.
TPTPRINT Standard output stream for optional diagnostics.
MVSIN File-AID/RDX’s Load Control Table (member MVSLCT in the MVSIN control card PDSE). Used to
verify authorities and identify objects that need to be created. See also MVS Load Control Table.
Each source/target pair is identified by its object control number and for each, there are two tables.
The first table contains the following information:
Table 60. Load Control Table—Source and Target Object Information (Continued)
Field Name Description
DEL For T: files only. Indicates whether or not records should be deleted before the load is executed.
Y Delete records before loading.
N Do not delete records before loading.
Rep For T: files only. Indicates whether or not File-AID/RDX should attempt to replace (update) existing
records from the target file with records from the source file.
Y Yes
N No
Row Count For T: files only. Identifies the number of records to be loaded into the target file.
I/O Exit For T: files only. Identifies the use of I/O exit routines to load data into the target file.
S For T: files only. N or Y. Represents the D record supplement indicator (see also Product Record — 0 on
page 378).
The parameter information in the PARM field in the EXEC statement must have the format as shown
in Table 62:
Return
Description
Code
0 Job ran to completion without error.
4 Job ran to completion without error, warnings issued.
8 Job ran with error. Subsequent job steps stopped.
16 Severe error, job aborted.
• Tablespaces
• Restartability
• Reusing the Discard File
• Use of Views in Load
• Db2 Privileges
• Load Reports
Tablespaces
Tablespaces are affected during the File-AID/RDX Db2 load processing by the following:
• whether a tablespace may or may not have been placed in CHECK PENDING or COPY PENDING
status by the Db2 Load Utility or the Delete step.
If you leave the Tablespace field on the Target Environment screen blank, File-AID/RDX generates
DDL to create the tablespace implicitly. Implicit tablespace is not valid for multi-table or partitioned
tablespaces. The current SQLID must have the proper Db2 authority to create the tablespace in the
execution phase.
Single-Table Tablespaces
When rows are to be deleted before loading a table in a tablespace with only one table, the LOAD
utility with the REPLACE parameter is used. Such a tablespace, therefore, does not require a separate
DELETE step or a RPAIRnnn step to reset the CHECK PENDING status.
Multi-Table Tablespaces
When rows are to be deleted before loading a table in a tablespace with more than one table, File-
AID/RDX generates a separate DELETE step. This DELETE step deletes rows only from the table you
specified for load.It does not affect other tables in the tablespace.
Some tablespaces may have been placed in CHECK PENDING status by the load or delete step.
Because tablespaces might be used in subsequent steps and cannot be in CHECK PENDING status, the
RPAIRnnn step generated by File-AID/RDX resets the CHECK PENDING status.
The CHECK utility step is generated as a step in the load JCL only if File-AID/RDX determines that
one or more tablespaces to be loaded might be given the CHECK PENDING restriction. The CHECK
utility control cards are generated in the LDDRV step of the load process. The SCOPE ALL parameter
is also used in this step.
It is possible for a table to be left in a COPY PENDING status if LOG OPTION 2 was used in the LOAD
utility. A Db2 Copy utility step is generated in the load JCL if you specified 2 in the Log Option field
on the Db2 Load Utility Load Options screen. The Copy utility control cards are generated in the
LDDRV step of the load process.
Restartability
File-AID/RDX enables you to restart a failed load job from any particular step except LOADDRV. If a
load job fails during the LOADDRV step, you must restart the load job from the CLEAN1ST step.
The procedure to restart the load job depends on whether you selected the Db2 Load Utility or SQL
Insert load option.
546 File-AID/RDX Reference
RESTART=xxxxxxxx
where xxxxxxxx is the name of the step at which you want to restart the job.
SQL Insert
The JCL generated for the SQL Insert load job is step-restartable. To restart an SQL Insert load job:
RESTART=xxxxxxxx
where xxxxxxxx is the name of the step at which you want to restart the job.
If the job failed during the LDSQLIN step, you must restart the job at the LDSQLIN step and then
continue with Step 2.
2. Examine the Commit Report. Find the last report entry value in the Restart Point column of the
Commit Report. This value has the following format:
'RESTART=yyyyyyyy/zzzzzzzz'
where yyyyyyyy is the number of rows committed and zzzzzzzz is the number of rows discarded.
File-AID/RDX uses these values to determine where processing should restart.
3. Edit the DD EXTPARMS dataset and modify the line containing RESTART
RESTART=00000000/00000000 with the values from step 2.
4. Determine whether or not the load job stopped because the maximum rows to discard limit was
reached. To do this, examine the load job output for File-AID/RDX error E336 or E187. These
errors indicate that the limit set by Max Rows to Discard parameter was reached. In this case,
increase the Max Rows to Discard parameter for the LDSQLIN step. Max Rows to Discard is the
fourteenth parameter in the LDSQLIN EXEC statement PARM field (directly preceding the Restart
Point Indicator).
5. Submit the JCL.
Discarded records are written to the discard file when you specify YES in the Save Discarded Rows
field on the SQL Insert Processing Options screen. The discard file is modeled after the extract file
with similar attributes and contents, such as header, create, map, and data records. The discard data
records are those that have been discarded because of RI constraints, duplicate rows, etc.
Load 547
To reuse the discard file as input for the interactive phase of the Load function, you must step
through the interactive phase specifying the name of the discard file in the File Name field on the
Load Specifications screen.
If you reuse the discard file as input for the interactive phase, be sure to
specify a new discard file during the interactive phase.
– File-AID/RDX displays view names as target objects on the Column Mapping and Target
Environment screens
– File-AID/RDX creates the views as tables, if the views don't exist in the Target Environment
– The target view must be a single table view
– You can type over target names with the name of an existing view
– The target view must be a single table view
If you are loading data to an existing table or view, any target columns that are not mapped to source
columns will be filled with default values.
– File-AID/RDX displays view names as target objects on the Column Mapping and Target
Environment screens
– File-AID/RDX creates the views as tables, if the views don't exist in the Target Environment
– The target view must be a single table view
– If the target views do exist in the Target Environment, you must change the load method to
SQL; File-AID/RDX will not allow loading into views with the Db2 load utility
Db2 Privileges
During the interactive portion of the load process, you specify the Db2 objects that are involved in
the load process.File-AID/RDX generates the JCL regardless of the user’s Db2 privileges. This enables a
user with limited Db2 privileges to generate the load JCL, while a user with more Db2 privileges, such
as a DBA, can submit the load JCL.
If you are unauthorized to use Db2 utilities, Compuware suggests using SQL Insert processing.
When generating the JCL, File-AID/RDX inserts comments regarding Db2 privileges at the beginning
of the JCL. These comments indicate that the current SQLID either has authorization for all load
steps, or lacks specific Db2 authority (see the example in Figure 298 on page 548).
548 File-AID/RDX Reference
The execution phase of the load function, which actually executes the File-AID/RDX load JCL,
requires the user to have all relevant Db2 privileges. See The Load Process on page 507 for more
details regarding each step in the JCL.
CREATE step
• SYSADM or SYSCTRL.
• DBADM, DBCTRL, DBMAINT for the database where the tables are to be created.
• CREATETAB privilege for the database where tables are to be created.
• USE OF an existing tablespace where tables are to be created.
• CREATETS privilege for the database where tables are to be created when implicitly creating a
tablespace. This indicates authority to use the database default STOGROUP and bufferpool.
LDDRV step
DELTE step
This step executes DELETE and ALTER statements. To execute this step one of the following privileges
is required:
• SYSADM.
• DBADM for the database where tables to be loaded exist.
• ALTER and DELETE privileges for the table to be deleted.
• If a table has dependents, ALTER privilege on the table to be deleted and on the dependents of
the table to be deleted.
• Ownership of the table and of dependent tables.
LOAD step
To execute the Db2 LOAD utility requires one of the following privileges:
• SYSCTRL or SYSADM.
• DBADM, DBCTRL or LOAD privilege for the database where tables are to be loaded.
• Ownership of the table.
Load 549
RPAIR step
To execute the Db2 REPAIR utility requires one of the following privileges:
• SYSCTRL or SYSADM.
• DBADM or DBCTRL privilege for the database.
• REPAIR privilege for the database.
CHCKDATA step
To execute the Db2 CHECK utility requires one of the following privileges:
IMAGECPY step
To execute the Db2 COPY utility requires one of the following privileges:
• SYSCTRL or SYSADM.
• DBADM, DBCTRL, or DBMAINT privilege for the database.
• IMAGECPY privilege for the database.
CREATE step
• SYSADM or SYSCTRL.
• DBADM, DBCTRL, DBMAINT for the database where the tables are to be created.
• CREATETAB privilege for the database where tables are to be created.
• USE OF an existing tablespace where tables are to be created.
• CREATETS privilege for the database where tables are to be created when implicitly creating a
tablespace. This indicates authority to use the database default STOGROUP and bufferpool.
LDDRV step
DELETE step
To execute this step for a table requires one of the following privileges:
To execute this step for a view requires one of the following privileges:
LDSQLIN step
To execute SQL INSERT statements for a table requires one of the following privileges:
550 File-AID/RDX Reference
To execute SQL UPDATE statements for a table requires one of the following privileges:
To execute SQL INSERT statements for a view requires one of the following privileges:
To execute SQL UPDATE statements for a view requires one of the following privileges:
Load Reports
File-AID/RDX generates the reports described below during the load process:
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
• The SQLID used for the load request.
The SQL Insert - DB2 Authority Report provides the following information:
Error
Lists the File-AID/RDX error message associated with the object in error.
Target
Lists the name of the target object the error applies to.
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
• The SQLID used for the load request.
The DB2 Load - DB2 Authority Report provides the following information:
Error
Lists the File-AID/RDX error message associated with the object in error.
Target
Lists the name of the target object the error applies to.
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
• The Db2 subsystem ID.
The Create DB2 Target Environment Report lists all Db2 objects created for the load request with
status and action columns.
Status
A list of messages indicating the success or failure of the action. If status is failed, the error
message is listed in the following line.
Action
A list of Db2 operations taken for the Db2 object.
Object Name
A list of objects that were not created during the load.
554 File-AID/RDX Reference
Error
The File-AID/RDX error message associated with the object that was not created successfully.
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
ID
The File-AID/RDX extract object identifier for the object to be loaded.
Yes Delete all rows from the specified object before loading data.
Load 555
New Indicates that objects are to be created; they do not exist and, therefore, do not contain
data to be deleted.
No Indicates that the data is to be loaded into objects without deleting all existing rows.
Delete/Define
(MVS files only) Indicates whether or not File-AID/RDX deletes the target file and then redefines
it before it loads data from the extract file.
Yes File-AID/RDX deletes the object and then creates it again before loading data.
No File-AID/RDX appends data to the existing target object.
Replace Matches
When adding data to an object that is not empty and the INSERT operation fails because the row
or record already exists, this setting indicates whether or not the data should be replaced.
For Db2:
If the target Db2 table has a unique index, data from the extract file replaces existing
data in the target table.
No For MVS:
If the target object is indexed and an existing target record has a unique key that
matches the data from the extract file, the data from the extract file is discarded.
For Db2:
If the target table has a unique index and an existing target row has a unique key that
matches the data from the extract file, the data from the extract file is discarded. If the
target table does not contain a unique index and rows to be loaded already exist, no
data is discarded.
Extracted Rows
Indicates the number of extracted records (rows) to be loaded into each target object.
Source
Name of the source object from which records were extracted.
Target
Name of the target object to be loaded.
At the end of the Pre-Load Summary Report, messages summarize how many total records will be
loaded into the number of total objects, as well as, how many objects are in the extract file, including
the number of objects with no records extracted.
556 File-AID/RDX Reference
The SQL Insert: DB2 Totals Report report consists of the following columns:
Inserted
The number of rows inserted into each object.
Replaced
The number of rows updated in each object.
Discarded
The number of extracted rows not loaded, but discarded, for each object.
Load Object
A list of the objects to which rows will be inserted.
The MVS Load - MVS Totals Report consists of the following columns:
Inserted
The number of records inserted into each file.
Replaced
The number of records updated in each file.
Discarded
The number of extracted records not loaded, but discarded, for each file.
Load Object
A list of the files to which records are loaded.
The SQL Insert: DB2 Committed Rows Report displays the location of the tables into which rows were
inserted and the commit interval you specified in the Commit Every Nth Row field on the
Processing Options screen. In addition, the SQL Insert: DB2 Committed Rows Report contains the
following columns:
Target Table
A list of the tables to which rows have been committed. Entries in this column are arranged such
that each grouping represents the tables to which rows were committed within any given commit
interval.
Restart Point
For each group of rows committed in a given commit interval, this column displays the values for
the RESTART parameter in the DD EXTPARMS dataset necessary to restart the load job without
causing errors.
Committed
Displays the number of rows committed at each commit interval. If you specified a value other
than an asterisk (*) in the Maximum Rows to Discard field on the SQL Insert Processing Options
screen and you reach that value, the last entry in this column may contain a number less than
the commit interval.
Load 559
The SQL Insert - DB2 Delete Report displays the location of the tables from which rows were deleted.
In addition, it contains the following columns:
Rows
The number of rows deleted from each table.
If the number of rows shows -1, it indicates that Db2 executed a mass delete
from a table in a segmented tablespace.
The DB2 Load - DB2 Delete Report displays an execution message for each table from which rows
were deleted. The following are possible messages:
The SQL Insert: DB2 Discard Report lists all target objects for which rows were discarded.
Target Object
The name of the target object the discarded record came from.
For each target object, The SQL Insert: DB2 Discard Report displays the following columns:
Error
The SQLCODE or File-AID/RDX error code indicating the error that caused the row to be
discarded.
Record
The "Record Number" indicates the relative data record within the Discard File, the line number
when viewing the file.
562 File-AID/RDX Reference
ID
The File-AID/RDX extract object identifier for the object to be loaded.
Source Column
If the error that caused the row to be discarded was a column mapping error, this column
contains the name of the source column in error.
Target Column
If the error that caused the row to be discarded was a column mapping error, this column
contains the name of the target column in error.
The MVS Load: VSAM Discard Report lists all target objects for which records were discarded.
Target Object
The name of the target object the discarded record(s) came from.
The MVS Load: VSAM Discard Report for each object consists of the following columns:
Error
The File-AID/RDX error code indicating the error that caused the record to be discarded.
Load 563
Record
The "Record Number" indicates the relative data record within the Discard File, the line number
when viewing the file.
ID
The File-AID/RDX extract object identifier for the object to be loaded.
Delete
Overview
Option 4, Delete, enables you to delete the data you have previously extracted from the source
objects. The related objects can be KSDS type VSAM files and/or Db2 tables or views. File-AID/RDX
determines which rows should be deleted based on the contents of a File-AID/RDX extract DASD or
tape file that you specify.
1. Before you can delete using an extract file on tape you must specify an
extract summary file (see Extract File Specification on page 573).
2. When your extract file contains Db2 records extracted from Db2 Image
Copy datasets, the Delete operation will be executed against the active
Db2 tables and not the Image Copy datasets.
3. Disguised extract files cannot be used for the Delete functions as the
disguised records will not match the source records as extracted.
The interactive phase takes place online and consists of a series of File-AID/RDX screens that prompt
you for information about the extract file and delete processing options. You can also save the
specified delete information as a Delete Request file. Using this information, File-AID/RDX builds JCL
that you can edit and save before you submit it for execution.
During the execution phase, File-AID/RDX performs the delete processing in batch mode. At the end
of the execution phase, File-AID/RDX produces reports that summarize the results of the delete
processing.
The reference list for Delete includes all entries of the Load reference list plus all existing Delete
requests. When selecting a load request for the delete process, File-AID/RDX uses only the extract file
name from the selected list entry to start the on-line delete process (the selected request entry must
be a valid load or delete request).
File-AID/RDX adds a delete request to the list when a delete request is saved from the Delete
Processing Options Screen.
In addition, whenever you have successfully executed an extract, File-AID/RDX places an entry with
the extract file name into the delete reference list. However, extracts that originate from the “Single
Panel Extract” function are not included in the Delete Reference List.
You can also create a new delete request with the NEW command, or open a request file with the
REQUEST command to select the extract file for the delete process (the selected request entry must
be a valid load request).
Refer to Option G—Global User Defaults on page 82 for how to set the maximum number of list
entries for the reference list.
The reference list is stored in your personal USER profile. If your USER profile
file (‘userid.midlevlqualifier.PROFILE’) does not exist, File-AID/RDX will create
your USER profile when you are saving an extract or load request.
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 load requests. Use the S line
commands to start a delete request based on the extract file specified for the selected entry.
Delete 567
Request
Name of the delete or load request (member name in the saved delete or load request file). A
blank entry means the request was saved to a sequential file or that it is an automatic entry after
executing an extract.
RT
Request Type. Identifies the delete or load 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 load request was last saved or the extract was completed. 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 delete request without any changes. The request must be a saved delete or load
request (RT must be D or L). File-AID/RDX validates the request before submitting the JCL for the
delete request.
The G line command is not available if the delete request includes objects
with XML and/or LOB columns. Use the S line command to process the
delete request.
I (Info)
Displays the Request Details screen, which provides more comprehensive information about the
load request. See Figure 311 for an example.
L (Lock)
Protects this entry from rolling off the reference list.
S (Select)
Selects this request and displays the Delete Confirmation screen prefilled with the information
from the request.
U (Unlock)
Does not protect this entry from rolling off the reference list.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
Delete 569
DETAIL (D)
Expands the one-line display for each request into a two-line display. The additional line shows
the request description. See Figure 312 for an example. DETAIL is a toggle switch so enter DETAIL
again to return to the original format.
Find
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 delete request from an existing extract file. Use the NEW command to open extract
files created with File-AID/RDX prior to Release 3.0 that don’t have any saved load requests
associated with them, yet.
REQUEST (REQ)
Opens a saved request file. Refer to Request File Member List on page 570 for more information.
File-AID/RDX uses the default value as specified in your current profile. If your profile doesn’t
include a request file, File-AID/RDX prompts for one.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 313 on page 570 for an example. SIZE is a toggle switch so enter SIZE again to
return to the original format.
570 File-AID/RDX Reference
• Enter the REQUEST primary command on the Delete Reference List screen.
This screen displays the member list of a saved request file. Use one of the line commands to select a
member for your delete request.
If you select a member that does not contain valid delete request information, File-AID/RDX will
issue a message. Select a different member or issue the NEW or REFERENCE command to start
another delete request.
If you want to delete from an extract file created prior to Release 3.0, use the
NEW command to initiate a new delete request. Then you can enter the
name of the extract file to be used.
Request File
If you didn’t specify a name with the REQUEST command, the request file name comes from your
current profile. Enter a new file name to change to a different saved request file and File-
AID/RDX will display its member list.
The lower part of the screen displays a listing of the file’s members.
Delete 571
Member
Member name in the saved delete, extract, or load request file. The member names are displayed
in alphabetical order.
Description
Text that was entered in the Description field when the delete, extract, or load request or extract
criteria was created. If you left the field blank during the request creation, 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 315).
G (Go)
Submits this delete request without any changes. The request must be a saved delete or load
request (RT must be D or L). File-AID/RDX validates the request before submitting the JCL for the
delete request.
The G line command is not available if the delete request includes objects
with XML and/or LOB columns. Use the S line command to process the
delete request.
R (Rename)
Rename the request member. The Rename Confirmation window (Figure 316) allows you to enter
a new name for the request file member.
572 File-AID/RDX Reference
Rename Confirmation
COMMAND ===>
Request File ....: ‘TSOID01.FRSAMP.EXTCRIT’
Member to be Renamed: TESTA
New Member name ===>
ENTER to confirm rename
END to return to Request File Member List
S (Select)
Selects this request and displays the Delete Confirmation screen prefilled with all the
information from the selected request.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 317 for an example. SIZE is a toggle switch so enter SIZE again to return to the
original format.
REFERENCE
opens your delete reference list. Refer to Delete Reference List on page 566 for more information.
Delete 573
• Enter the NEW command in either the Delete Reference List or the Request File Member List.
Use this screen to specify the name of the extract file on which you want to base the delete and
optionally, the extract summary file. Press ENTER to continue to the Delete Confirmation (Summary
File usage = N or E), Create New File (Summary File usage = C), or the ISPF/PDF EDIT Screen
(Summary File usage = U).
Extract File
Specify the name of the File-AID/RDX extract file on which you want to base the delete. An
asterisk (*) or pattern displays a selection list. The extract file must be in the format that File-
AID/RDX creates during extract. See Extract File on page 44 and File-AID/RDX Extract File on
page 377 for information about the format of the extract file.
When the extract contains an XML column, more rows may be deleted
than expected, since the XML column is not part of the WHERE clause
on the delete.
N None - Specify N when the extract file is on disk and a summary file is not needed.
574 File-AID/RDX Reference
E Existing - Specify E when the summary file for this particular extract file already exists.
File-AID/RDX continues with the Delete Confirmation.
C Create - Specify C when you want File-AID/RDX to create the summary file for the above
extract file. File-AID/RDX then starts a batch job that extracts header and trailer
information from the extract file. After the batch job to create the summary file has
finished, you can continue the delete request for this extract file.
File-AID/RDX will display the Create New File screen (see Create New File) to allocate the
new file.
U Update - Specify U when you want File-AID/RDX to update an existing summary file for
the above extract file. File-AID/RDX then starts a batch job that extracts header and trailer
information from the extract file. After the batch job to update the summary file has
finished, you can continue the delete request for this extract file.
Summary File
Specify the name for the summary file (previously known as tape control file) that contains the
information for the above extract file that’s stored on tape, cartridge, or disk. The summary file is
required for extract files on tape or cartridge, it’s optional for extract files on disk. If your extract
file is a multi-volume file, a summary file can speed up processing as it contains the header and
trailer information for the extract. An asterisk (*) or pattern displays a selection list.
The summary file is the same for both Load and Delete processes. Therefore,
you may use a summary file created with the LOAD Option for deleting rows
based on the same extract tape file.
Edit JCL
The ISPF/PDF EDIT screen shown in Figure 319 is displayed when you select to have File-AID/RDX
create or update the summary file on the Extract File Specification screen.
Use this screen to edit and submit the extract summary JCL generated by File-AID/RDX.
Delete 575
If you want to save this JCL, use the ISPF/PDF CREATE or REPLACE command before you exit this
screen. Otherwise, File-AID/RDX deletes this file.
Submit this JCL to create the summary file with the extract header and trailer information. File-
AID/RDX will return to the Delete Reference List or Request File Member List where you entered the
NEW command.
Delete Confirmation
The Delete Confirmation screen shown in Figure 320 is displayed after you specified the extract file
to be used for the delete request.
Use this screen to view information about the data to be deleted. The fields on this screen are display-
only—you cannot modify any values on this screen. Use the NEXT command to proceed.
In addition to the screen title and COMMAND field, the heading lines on this screen contain the
following field:
SSID
Displays the ID of the Db2 subsystem in which the tables and views that contain rows to be
deleted exist.
Object Name
Displays the fully qualified name of the object from which to delete. If it is a Db2 object it
includes the location and creator ID of the table. MVS object names are fully qualified and
enclosed in single quotes (’).
OBj Type
The object type is indicated in the next column
• DB2
576 File-AID/RDX Reference
Status
If File-AID/RDX cannot find an object from which rows are to be deleted, it displays the message
Object not found.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
NEXT
The NEXT command invokes the Delete Processing Options screen.
Use this screen to specify how often a Db2 COMMIT should be issued, whether or not tables should
be locked during delete processing, and options related to discarding rows that could not be deleted.
Use the NEXT command to proceed.
Yes Save rows that cannot be deleted in the discard file. If you specify Yes, you
must also specify a file in the File for Discarded Rows field.
No Do not save rows that cannot be deleted.
Save a Request
Specify whether or not to save the delete request to a request file.
Yes Save the current delete request information to a request file. File-AID/RDX
presents the Save Delete Request panel (Figure 323 on page 579) where
you identify the delete request file to save your request to.
No Do not save the current delete request.
After you save the request in the Save Delete Request panel (Figure 323 on
page 579), the Delete Processing Options Screen is redisplayed with this
field set to 'No'. Each time you set the field to 'Yes' you have the option of
creating another saved delete request or replacing the existing request.
Primary Commands
The following File-AID/RDX-specific primary command is valid on this screen:
578 File-AID/RDX Reference
NEXT
The NEXT command invokes the next screen in the delete process. If you specified a discard file
that does not exist, the Discard File Allocation pop-up window is displayed next. If you specified
a discard file that already exists, the Edit Delete JCL screen is displayed. There are no operands
associated with this command.
Use this window to specify the characteristics of the discard file to be allocated. Press ENTER to
proceed.
Discard File
Displays the name of the file to which discarded rows will be written. See Discard File on page 45
for more information about the discard file.
VOLSER
Specify the volume serial number of the file. A volume serial number is optional.
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. You can specify BLKSIZE=0 for systems that support it. This
causes the system to determine an optimum block size.
Delete 579
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.
Primary Commands
The following File-AID/RDX-specific primary command is valid in the Discard File Allocation
window.
NEXT
Opens an edit session on the Delete JCL generated by File-AID/RDX. There are no operands
associated with this command.
Press Enter to process the file information. The saved request will also appear in your Delete
Reference List (see Delete Reference List on page 566).
The body of the Save Delete Request screen consists of the following fields:
580 File-AID/RDX Reference
File Name
Specify the name of the file where you want to save the delete request. You can save the request
to existing files. Existing files must conform to the format outlined for the 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 delete request.
Description
Enter a short description of the delete request. This description is displayed in the Delete
Reference List. Using this description is a helpful way to document your delete request.
After you save the request, the Delete Processing Options Screen is
redisplayed with this field set to 'NO'.
SAVE Confirmation
When saving an Extract, Delete or Load request File-AID/RDX checks to see if the member already
exists. If the member already exists, the Save Confirmation window (Figure 324) displays:
Save Confirmation
COMMAND ===>
The following member exists and will be replaced:
Request File ....: ‘TSOID01.FRSAMP.EXTCRIT’
Member to be Deleted: TESTA
ENTER to confirm Save and replace existing member
END return to Save Request enter a different member name
Use this screen to edit and submit the delete JCL generated by File-AID/RDX.
If you want to save this JCL, use the ISPF/PDF CREATE or REPLACE command before you exit this
screen. Otherwise, File-AID/RDX deletes this file and other temporary files, including the control card
PDSEs (prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix and prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix) (see Control
Card Cleanup on page 581).
Submit this JCL with the SUBMIT command to perform the delete.
Periodically, you may want to manually delete the control card PDSEs and EXTPARMS parameter files
that are no longer needed for saved jobs to be resubmitted.
582 File-AID/RDX Reference
This step ensures that all temporary files used in this job are deleted. This enables you to keep
and rerun a JCL stream.
This step ensures that the tables from which data is to be deleted exist. In addition, this step
checks user authorization for subsequent steps and separates the extract file into multiple files,
one file per table to be deleted.
This step deletes data from the tables listed on the Delete Confirmation screen.
The DELETE step uses Db2 SQL with all the data that was extracted included in the WHERE
clause. File-AID/RDX deletes rows based on exact matches instead of index values.
File-AID/RDX determines the order in which to delete rows such that rows from dependent tables
are deleted first. Then, rows from parent tables are deleted. This continues until all rows are
either deleted or discarded.
This step deletes all File-AID/RDX temporary files used in this job. Deleting these files in the last
job step enables the job to be restarted in any prior step.
This step deletes the File-AID/RDX control card PDSEs. Whether step CLEANCTL is commented
out or executed is determined by the global job option Delete in-stream data datasets at EOJ (page
83). If the job option is set to NO, File-AID/RDX control card PDSEs created in the load and delete
jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows for the
restarting of the JCL at any step.
This step deletes the File-AID/RDX EXTPARMS parameter file. Whether step CLEANEXT is
commented out or executed is determined by the global job option Delete in-stream data datasets
at EOJ (page 83). If the job option is set to NO, File-AID/RDX EXTPARMS files created in the load
and delete jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows
for the restarting of the JCL at any step.
//* XFRJDLT1
//*SQLID TSOID01 IS AUTHORIZED FOR ALL THE DELETE STEPS
//* XFRJSTRD
//*-------------------------------------------------------------------
//* CLEAN1ST: - THIS STEP WILL ENSURE THAT ALL TEMPORARY FILES
//* USED IN THIS JOB ARE DELETED.
//* - THIS ALLOWS FOR KEEPING AND RERUNNING THE JOB EVEN IF
//* SUBSEQUENT STEPS FAIL.
//* - THIS JCL IS ALSO RESTARTABLE AT ANY STEP BY CODING
//* RESTART=XXXXXXXX ON THE JOBCARD. (XXXXXXXX = STEPNAME)
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-split-file
DELETE File-AID-deletbl-file
DELETE File-AID-discard-file
SET MAXCC=0
SET LASTCC=0
/*
//*
//* --------------------------------------------------------------------
//* DLDRV:- DELETE DRIVER
//* THE FOLLOWING IS PERFORMED IN THIS STEP.
//* - ENSURE TABLES EXIST.
//* - SPLIT EXTRACT FILE INTO SEPARATE DELETE FILES.
//* --------------------------------------------------------------------
//DLDRV EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,9,B)
//*
//STEPLIB DD DSN=File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTRACT DD DSN=TSOID01.FRSAMP.EXTRACT,
// DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//*
//DISCARDS DD DSN=File-AID-discard-file,
// DCB=(RECFM=VB,LRECL=302,BLKSIZE=306,DSORG=PS),
// SPACE=(TRK,(1,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//*
//DELETBL DD DSN=File-AID-loadtbl-file,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920,DSORG=PS),
// SPACE=(TRK,(1,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//*
//SPLITnnn DD DSN=File-AID-split-file,
// DCB=(RECFM=VB,LRECL=119,BLKSIZE=123,DSORG=PS),
// SPACE=(123,(2300,460),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2DCT),
// DISP=SHR
584 File-AID/RDX Reference
//*-XFRDLT2----------------------------------------------------------
//* DELETE: - DELETE FROM TABLES
//*
//* NOTE: WHEN FILE-AID/RDX PERFORMS A DELETE, ALL DB2 DELETE RULES
//* ARE OBSERVED. THE CASCADE AND SET NULL DELETE RULES MAY
//* HAVE AN IMPACT ON WHICH ROWS ARE DELETED AND FROM WHICH
//* TABLES. SEE THE REFERENCE MANUAL FOR MORE DETAILS.
//*
//*-------------------------------------------------------------------
//DELETE EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,8,B)
//*
//STEPLIB DD DSN=File-AID/RDX-load-libraries,DISP=SHR
// DD DSN=DB2-load-library,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//SYSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(DB2DCT),
// DISP=(SHR)
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//DELETEIN DD DSN=TSOID01.prefix.SPLITnnn.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,KEEP,KEEP)
//XCPTNRPT DD SYSOUT=(*)
//TOTLSRPT DD SYSOUT=(*)
//COMMTRPT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSOUT DD SYSOUT=(*)
//DISCARDS DD DSN=TSOID01.DISCARD,
// DISP=MOD
//SYSPRINT DD SYSOUT=(*)
//TPTPRINT DD SYSOUT=(*)
//*
//*-------------------------------------------------------------------
//* CLEANLST: - THIS STEP WILL PERFORM A DELETE OF ALL TEMPORARY
//* FILES USED IN THIS JOB.
//* - KEEPING THE FILES UNTIL ALL STEPS RUN SUCCESSFULLY
//* ALLOWS FOR THE RESTARTING OF THE JCL AT ANY STEP.
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-split-file
DELETE File-AID-deletbl-file
DELETE File-AID-discard-file
SET MAXCC=0
SET LASTCC=0
/*
/*-------------------------------------------------------------------
//CLEANCTL EXEC PGM=IEFBR14,COND=(4,LT)
//DFBPDSE DD DSN=DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//DVBPDSE DD DSN=DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//CLEANEXT EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048 XFRJCLXT
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE extract-parms-file,
SET MAXCC=0
SET LASTCC=0
//*
//* /*XFRJCLXT*/
Delete 585
The parameter information in the PARM field on the EXEC statement for the DLDRV step must have
the following format:
• The LRECL and BLKSIZE parameters must be large enough to hold the extracted records.
• The SPACE parameters must be large enough to hold all extracted records.
SYSOUT Output class for error messages and reports.
RDXSQLCD Output class for detailed SQL error information from Db2.
SYSPRINT Standard output stream.
SYSTERM Output class for runtime errors.
TPTPRINT Standard output stream for optional diagnostics.
SYSIN File-AID/RDX’s Delete Control Table. Used to verify authorities and identify tables from which
data is to be deleted.
The parameter information in the PARM field in the EXEC statement must have the following format:
Table 69. EXEC Statement PARM Field—Delete Step
Default
Parameter Length Description
Value
Product FR 2 File-AID/RDX
Option 8 1 File-AID/RDX option number.
Operating Mode B 1 B : Batch
Delete 587
DD Statement Description
STEPLIB File-AID/RDX load libraries (CXVJLOAD and SXVJLOAD); Db2 load library.
RDXMLIB Library containing File-AID/RDX messages.
SYSIN File-AID/RDX’s Delete Control Table. Used to verify authorities and identify tables from which
rows will be deleted.
EXTPARMS File containing the load parameters (see EXTPARMS File on page 367).
DELETEIN Input file(s) generated during split processing.
XCPTNRPT Output class for Delete Exception Report.
TOTLSRPT Output class for Delete Summary Report.
COMMTRPT Output class for Commit Report.
RDXSQLCD Output class for detailed SQL error information from Db2.
SYSOUT Output class for error messages and reports.
DISCARDS File-AID/RDX discard file.
SYSPRINT Standard output stream.
TPTPRINT Standard output stream for optional diagnostics.
SYSTERM Output class for runtime errors.
Return Codes
An execution return code (RC) appears in the output listing. For return codes other than 0, 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, warnings issued.
8 Job completed with error.
16 Severe error, job aborted.
This step deletes any existing files that are to be created in this job. This enables you to keep and
rerun a JCL stream.
This step checks user authorization for subsequent steps and separates the extract file into
multiple files, one file per object where records are to be deleted.
This step generates and executes the DELETE statements to delete data from the objects.
This step deletes all File-AID/RDX temporary files used in this job.
This step deletes the File-AID/RDX control card PDSEs. Whether step CLEANCTL is commented
out or executed is determined by the global job option Delete in-stream data datasets at EOJ (page
83). If the job option is set to NO, File-AID/RDX control card PDSEs created in the load and delete
jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows for the
restarting of the JCL at any step.
This step deletes the File-AID/RDX EXTPARMS parameter file. Whether step CLEANEXT is
commented out or executed is determined by the global job option Delete in-stream data datasets
at EOJ (page 83). If the job option is set to NO, File-AID/RDX EXTPARMS files created in the load
and delete jobs will NOT be deleted. Keeping the datasets until all steps run successfully allows
for the restarting of the JCL at any step.
//* XFRJDLT1
//*SQLID TSOID01 IS AUTHORIZED FOR ALL THE DELETE STEPS
//* XFRJSTRD
//*-------------------------------------------------------------------
//* CLEAN1ST: - THIS STEP WILL ENSURE THAT ALL TEMPORARY FILES
//* USED IN THIS JOB ARE DELETED.
//* - THIS ALLOWS FOR KEEPING AND RERUNNING THE JOB EVEN IF
//* SUBSEQUENT STEPS FAIL.
//* - THIS JCL IS ALSO RESTARTABLE AT ANY STEP BY CODING
//* RESTART=XXXXXXXX ON THE JOBCARD. (XXXXXXXX = STEPNAME)
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-split-file
DELETE File-AID-MVS-info-file
DELETE File-AID-discard-file
SET MAXCC=0
SET LASTCC=0
/*
//*
//*
//*---------------------------------------------------------------------
//* DLDRV:- DELETE DRIVER
//* THE FOLLOWING IS PERFORMED IN THIS STEP.
//* - ENSURE TABLES EXIST.
//* - SPLIT EXTRACT FILE INTO SEPARATE DELETE FILES.
//*---------------------------------------------------------------------
//DLDRV EXEC PGM=XFREXEC,REGION=8192K,COND=(4,LT),
// PARM=(FR,9,B)
//*
//STEPLIB DD DSN=File-AID/RDX-load-libraries,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTRACT DD DSN=File-AID-extract-file,
// DISP=SHR
//*
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//DISCARDS DD DSN=File-AID-discard-file,
// DCB=(RECFM=VB,LRECL=309,BLKSIZE=27998,DSORG=PS),
// SPACE=(27998,(2,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//MVSINFO DD DSN=File-AID-MVS-info-file,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920,DSORG=PS),
// SPACE=(TRK,(1,1),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//DDnnn DD DSN=MVS-file,
// DISP=SHR
//*
//SPLITnnn DD DSN=File-AID-split-file,
// DCB=(RECFM=VB,LRECL=309,BLKSIZE=27998,DSORG=PS),
// SPACE=(27998,(2,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,DELETE)
//SYSOUT DD SYSOUT=(*)
//RDXSQLCD DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//TPTPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
590 File-AID/RDX Reference
//*-XFRJDLT3----------------------------------------------------------
//* DELETE FROM MVS/KSDS
//*-------------------------------------------------------------------
//DLMVS EXEC PGM=XFREXEC,COND=(4,LT),
// PARM=(FR,E,B)
//*
//STEPLIB DD DSN=File-AID/RDX-load-libraries,DISP=SHR
//RDXMLIB DD DSN=File-AID-message-library,DISP=SHR
//EXTPARMS DD DSN=TSOID01.prefix.PARMS.Dnnnnnn.Tnnnnnn.suffix,
// DISP=SHR
//MVSIN DD DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix(MVSDCT),
// DISP=SHR
//DELETEIN DD DSN=File-AID-splitnnn-file,
// DISP=(OLD,KEEP,KEEP)
//DDnnn DD DSN=MVS-file,
// DISP=(MOD,KEEP,KEEP)
//XCPTNRPT DD SYSOUT=(*)
//TOTLSRPT DD SYSOUT=(*)
//COMMTRPT DD SYSOUT=(*)
//RDERRORS DD SYSOUT=(*)
//SYSOUT DD SYSOUT=(*)
//DISCARDS DD DSN=File-AID-discard-file,
// DISP=MOD
//SYSPRINT DD SYSOUT=(*)
//SYSTERM DD SYSOUT=(*)
//*
//*-------------------------------------------------------------------
//* CLEANLST: - THIS STEP WILL PERFORM A DELETE OF ALL TEMPORARY
//* FILES USED IN THIS JOB.
//* - KEEPING THE FILES UNTIL ALL STEPS RUN SUCCESSFULLY
//* ALLOWS FOR THE RESTARTING OF THE JCL AT ANY STEP.
//*-------------------------------------------------------------------
//CLEAN1ST EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE File-AID-sort-file
DELETE File-AID-split-file
DELETE File-AID-MVS-info-file
DELETE File-AID-discard-file
SET MAXCC=0
SET LASTCC=0
/*
//*
//*-------------------------------------------------------------------
//* CLEANCTL: - THIS STEP WILL PERFORM A DELETE OF THE TEMPORARY
//* SYSIN CNTL PDSE DATASETS USED IN THIS JOB.
//* - KEEPING THE DATASETS UNTIL ALL STEPS RUN SUCCESSFULLY
//* ALLOWS FOR THE RESTARTING OF THE JCL AT ANY STEP.
//* NOTE! - IF THIS JOB IS TO BE RESUBMITTED ON A REGULAR BASIS
//* THIS STEP MUST BE DELETED IN ORDER TO KEEP THE
//* ORIGINAL SYSIN DATA INTACT.
/*-------------------------------------------------------------------
//CLEANCTL EXEC PGM=IEFBR14,COND=(4,LT)
//*
//DFBPDSE DD DSN=DSN=TSOID01.prefix.FBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//DVBPDSE DD DSN=DSN=TSOID01.prefix.VBCNTL.Dnnnnnn.Tnnnnnn.suffix,
// DISP=(OLD,DELETE,DELETE)
//CLEANEXT EXEC PGM=IDCAMS,COND=(4,LT),DYNAMNBR=2048 XFRJCLXT
//SYSPRINT DD SYSOUT=*
//SYSIN DD * IDCAMS DELETE STATEMENTS FOLLOW
DELETE extract-parms-file,
SET MAXCC=0
SET LASTCC=0
//*
//* /* XFRJCLXT*/
Delete 591
The parameter information in the PARM field on the EXEC statement for the DLDRV step must have
the following format:
• The LRECL and BLKSIZE parameters must be large enough to hold the extracted records.
• The SPACE parameters must be large enough to hold all extracted records.
SYSOUT Output class for error messages and reports.
RDXSQLCD Output class for detailed error information.
SYSPRINT Standard output stream.
TPTPRINT Standard output stream for optional diagnostics.
SYSTERM Output class for runtime errors.
MVSIN File-AID/RDX’s Delete Control Table. Used to verify authorities.
*FR.17.02.00 F=2-------- M V S D E L E T E C O N T R O L T A B L E --------
*
*CONTROL NUMBER OF ROWS
*NUMBER FILE NAME TO BE DELETED S
*------- ---------------------------------------------- -------------- -
006 TSOID01.FRSAMP.CONTACTT 18 N
005 TSOID01.FRSAMP.CUSTOMER 15 N
004 TSOID01.FRSAMP.ORDERTAB 33 N
003 TSOID01.FRSAMP.ORDERLIN 49 N
002 TSOID01.FRSAMP.SUPPLIER 32 N
001 TSOID01.FRSAMP.PARTTABL 28 N
/*
The parameter information in the PARM field on the EXEC statement for the DLMVS step must have
the following format:
Table 73. EXEC Statement PARM Field—DLMVS
Parameter Default Description
Length
Value
Product FR 2 File-AID/RDX
Option E 1 File-AID/RDX option number.
Operating Mode B 1 B : Batch
Return
Description
Code
0 Job ran to completion without error.
4 Job ran to completion without error, warnings issued.
8 Job ran with error. Subsequent job steps stopped.
16 Severe error, job aborted.
594 File-AID/RDX Reference
• Db2 Privileges
• Db2 Delete Rules
• Restartability (Db2 only)
• Reusing the Discard File
• Delete Reports.
Db2 Privileges
The SQLID used to submit the Delete JCL is the default SQLID as specified in the load profile (see also
Default SQLID on page 65) and must have one of the privileges listed below.
• SYSADM.
• DBADM for the database where tables or views from which rows are to be deleted reside.
• DELETE privilege for all tables or views from which rows are to be deleted.
• Ownership of the tables and views (and their dependents) from which rows are to be deleted.
File-AID/RDX begins deleting rows from a dependent table, then proceeds with a parent table, and then
its parent table, etc. When File-AID/RDX performs a delete, all Db2 delete rules are observed. CASCADE
and SET NULL delete rules, however, may have an unexpected impact on which rows are deleted and
from which tables.
CASCADE
When File-AID/RDX deletes a row from a parent table, Db2 also deletes all related rows from dependent
tables that have the CASCADE delete rule in effect. If the parent table has dependents that were not
part of the original extract and the CASCADE delete rule is in effect for these relationships, Db2 will
delete rows that were not part of the original extract file. Furthermore, File-AID/RDX will not report on
such rows because they were not in the original extract file.
SET NULL
When File-AID/RDX deletes a row from a parent table, Db2 sets to null the foreign key value of all
related rows in a dependent table for which the SET NULL delete rule is in effect. If these tables are
involved in a cyclical relationship (where Table A is a parent of Table B, Table B is a parent of Table C,
and Table C is a parent of Table A) and the SET NULL delete rule is in effect for one of the
relationships (for example, Table A—Table B relationship,) the following occurs:
1. File-AID/RDX deletes rows from Table A using values from the extract file.
2. Db2 enforces the SET NULL delete rule, setting foreign key values for the corresponding
dependent rows in Table B to null.
3. Based on the extract file, File-AID/RDX successfully deletes rows from Table C.
4. Based on the extract file, File-AID/RDX attempts to delete rows from Table B. The delete is only
partially successful, however. Those rows in Table B whose foreign key values were set to null were
not deleted because their column values no longer match the values in the File-AID/RDX extract
file.
5. File-AID/RDX discards the rows from the extract file for which the delete failed.
Delete 595
The JCL generated for the Delete job is step-restartable. To restart a Delete job:
RESTART=xxxxxxxx
where xxxxxxxx is the name of the step at which you want to restart the job.
If the job failed during the DELETE step, you must restart the job at the DELETE step and then
continue with step 2.
2. Examine the Commit Report. Find the last report entry value in the Restart Point column of the
Commit Report. This value has the following format:
'RESTART=yyyyyyyy/zzzzzzzz'
where yyyyyyyy is the number of rows committed and zzzzzzzz is the number of rows discarded.
File-AID/RDX uses these values to determine where processing should restart.
3. Edit the DD EXTPARMS dataset and modify the line containing RESTART
RESTART=00000000/00000000 with the values from step 2.
4. Determine whether or not the delete job stopped because the maximum rows to discard limit was
reached. To do this, examine the delete job output for File-AID/RDX error E336 or E187. These
errors indicate that the limit set by Max Rows to Discard parameter was reached. In this case,
increase the Max Rows to Discard parameter for the DELETE step. Max Rows to Discard is the
fourteenth parameter in the DELETE EXEC statement PARM field (directly preceding the Restart
Point Indicator).
5. Submit the JCL.
Discarded records are written to the discard file when you specify YES in the Save Discarded Rows
field on the Delete Processing Options screen. The discard file is modeled after the extract file with
similar attributes and contents, such as product, header, base table create, map, data and trailer
records. The discard data records are those that have been discarded because of RI constraints,
duplicate rows, etc.
To reuse the discard file as input for the interactive phase of the Db2 Delete function, you must step
through the interactive phase specifying the name of the discard file in the File Name field on the
Delete Extracted Rows screen. If you use the discard file as input for the interactive phase, be sure to
specify a new discard file during the interactive phase.
Delete Reports
File-AID/RDX generates the reports described below during the delete process. There are seven delete
reports:
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
• The Db2 subsystem ID.
• The SQLID used for the delete request.
Error
Lists the File-AID/RDX error message associated with the object in error.
Target
Lists the name of the target object the error applies to.
• The name of the extract file. If the extract file is a PDS, the member name is also displayed.
• The name of the delete (load) request file. If the request file is a PDS, the member name is also
displayed.
• The Db2 subsystem ID.
ID
The File-AID/RDX extract object identifier for the object from which rows or records will be
deleted.
598 File-AID/RDX Reference
Extracted Rows
The number of rows or records to be deleted from each listed object.
The Delete: DB2 Discard Report lists all target objects for which rows were discarded.
Target Object
The name of the target object the discarded record came from.
The Delete: DB2 Discard Report for each object consists of the following columns:
Error
The SQLCODE or File-AID/RDX error code indicating the error that caused the row to be
discarded.
Delete 599
Record
The "Record Number" indicates the relative data record within the Discard File, the line number
when viewing the file.
ID
The File-AID/RDX extract object identifier for the object to be deleted.
The body of the MVS Delete: VSAM Discard Report lists all target objects for which records were
discarded.
Target Object
The name of the target object the discarded record(s) came from.
The MVS Delete: VSAM Discard Report for each object consists of the following columns:
Error
The File-AID/RDX error code indicating the error that caused the record to be discarded.
Record
The "Record Number" indicates the relative data record within the Discard File, the line number
when viewing the file.
600 File-AID/RDX Reference
ID
The File-AID/RDX extract object identifier for the object to be deleted.
Deleted
The number of rows deleted from each table.
Discarded
The number of rows discarded from each table.
The MVS Delete: MVS Totals Report consists of the following columns:
Deleted
The number of records deleted from each file.
Discarded
The number of records discarded from each file
The Delete: DB2 Committed Rows Report displays either the subsystem or the location of the tables
from which rows were deleted and the commit interval you specified in the Commit Every Nth Row
field on the SQL Insert Processing Options screen. In addition, the Commit Report contains the
following columns:
Target Table
A list of the tables to which rows have been committed. Entries in this column are arranged such
that each grouping represents the tables to which rows were committed within any given commit
interval.
Restart Point
For each group of rows committed in a given commit interval, this column displays the values for
the DELETE RESTART parameter necessary to restart the delete job without causing errors.
Committed
Displays the number of rows committed at each commit interval. If you specified a value other
than an asterisk (*) in the Maximum Rows to Discard field on the SQL Insert Processing Options
screen and you reach that value, the last entry in this column may contain a number less than
the commit interval.
603
Data Privacy
Overview
Option 5, Data Privacy, enables you to disguise extracted data from one or more related objects and
works in conjunction with File-AID/Data Solutions and File-AID Data Privacy. Compuware
recommends installation and/or configuration of the current GA versions of the three products to
take advantage of recent enhancements. File-AID/Data Solutions must be installed at your site to
access Option 5, Data Privacy.
File-AID Data Privacy protects your data by concealing sensitive information while maintaining data
integrity, table relationships, and data format during processing. For example, a female employee
name field can be replaced by a recognizable fictitious female name or a nonsensical set of characters.
File-AID Data Privacy:
File-AID Data Privacy is Compuware's solution for addressing all of your data privacy needs whether
you have files or databases on distributed machines or on a mainframe computer. File-AID Data
Privacy allows you to protect your data by concealing sensitive information while maintaining data
integrity, table relationships, and data format during processing. You can:
Refer to the File-AID Data Privacy documentation on how to define Dynamic Privacy Rules (DPR) that
can be applied to File-AID/RDX extracts. Once the Dynamic Privacy Rules have been defined, you can
disguise data during an extract using File-AID/RDX Option 2 Extract (see also Option 2, Use DPR, of
Disguise Extract File on page 341) or disguise an existing extract file with Option P of the Data
Privacy Menu (see also DPR: Disguise Existing Extract on page 611).
In order to execute batch jobs using File-AID Data Privacy, the job submitter must
have a RACF record with an OMVS segment for z/OS UNIX (or equivalent if using
a different security package). This can be done with BPX.DEFAULT.USER, but note
that z/OS v1.13 is the last release to support BPX.DEFAULT.USER. The
CPUTIMEMAX value in the OMVS segment must be large enough to
accommodate the File-AID Data Privacy jobs being run.
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.
604 File-AID/RDX Reference
File-AID/Data Solutions provide the functionality to disguise data fields through aging, encryption,
translation, data generation, and field exits. For each data field being disguised, disguise criteria must
be defined with the specific details of the disguise action. Disguise criteria can be defined for Db2 and
MVS objects.
The process of defining what data is sensitive and how each field is to be disguised requires careful
planning and should be handled by someone in a privacy administration role.
Once the disguise criteria have been defined they can be stored in the Disguise Criteria File. What
disguise criteria and where it is stored is also included in the Disguise Control File (DCF). The
Disguise Control File can be made available to all users of the product who choose to use that
Disguise Control File. As part of creating an extract request, you have an option to disguise the
extract. When the disguise option is selected and a Disguise Control File specified, all disguise criteria
defined for objects included in the extract will be applied.
What Is Disguise?
There are many different ways to disguise data. The File-AID/Data Solutions product provides disguise
functionality and groups three functions together as disguise functions: encryption, aging and
translation. Encryption is really character substitution where a numeric position is replaced with a
numeric position and an alphabetic position is replaced by an alphabetic position. Aging is used to
disguise date fields by incrementing or decrementing the original date. Translation is replacing the
original data with other data stored in a translate table. There are several different ways to determine
which data from the translate table is used as the replacement value. Translate always uses some data
as input to determine which entry is selected from the translate table and then replaces the data in
the requested fields with data stored in the translate table.
In addition to the three functions identified within File-AID/Data Solutions as disguise techniques,
data generation and field exits are also valid ways to disguise data. Data Generation can generate
sequential or random values appropriate for the data type; it can also generate new values based on a
table of valid values. Field Exits are user written exit routines that can take whatever action is
required to disguise the data.
Which disguise function to use is determined by the three R's of disguise: repeatable, reversible, and
readable. Repeatable means that the same input value must always return the same value or set of
values; the same data from multiple objects or files must be disguised the same. Reversible means that
there must be a way to get back to the original data value. Readable means that the data must look
valid to the human eye; name fields should contain name information not just a random string of
characters.
The first part of this process is deciding what data is considered sensitive data and determining how it
should be disguised. Once the sensitive data fields have been identified it is not always a small task to
locate all the tables and files in which the sensitive data exists. The File-AID/RDX relationship file
can assist you to identify the related objects and fields.
Most likely, you will define disguise criteria for a specific purpose. For example, you establish disguise
rules that are to apply whenever data is moved from the production to any test region. Once a
strategy has been defined and disguise criteria created, many users would likely share the criteria;
every user extracting data from the production environment would be directed to use the defined
disguise rules. Any File-AID/RDX user can create disguise criteria as long as they have authority to
write to the Disguise Control File.
Data Privacy 605
File-AID/RDX and File-AID/Data Solutions are tools for implementing a data protection strategy;
before any disguise criteria can be defined, the customer has to design a data protection strategy. File-
AID/RDX assumes that work has been done and supports the implementation of the strategy.
When related fields are considered sensitive data there are additional planning considerations. It is
your responsibility to choose a disguise method that will produce appropriate results for the related
field. If the related field is a key field, it is likely that the replacement value will need to be unique.
You must choose a technique that produces unique values; encryption and some translate methods
will fulfill this requirement.
Enforcing Disguise
File-AID/RDX does not place restrictions on who is authorized to extract and disguise data. However,
the user running the extract must be able to read the data in order to run the extract. If they can read
the data to extract, they can likely read the data in other ways as well.
It will be a user's responsibility to request the extract file be disguised and to provide the appropriate
Disguise Control File. If the Disguise Control File does not include criteria for an object being
extracted, no disguise will be applied to that object.
File-AID/RDX provides a central point of control for defining disguise criteria and will provide the
necessary layout information to File-AID/Data Solutions. The actual panel on which the criteria are
entered will be a File-AID/Data Solutions panel but the criteria will be stored in a file provided by
File-AID/RDX.
Criteria creation is always done by object. Each object must be uniquely identified, which for Db2
objects includes the location, creator and object name. There can be three different types of criteria:
related, associated and unrelated. File-AID/RDX determines what type of disguise criteria will be
created based on the fields selected for disguising.
Unrelated Criteria
Unrelated criteria is straightforward, it applies to a single object and must be defined for any field in
the object that is to be disguised. Unrelated criteria always applies to a single object and cannot be
shared.
Related Criteria
Related criteria can be more complex because it is defined once and propagated to related fields in
other objects.
Associated Criteria
Associated criteria are always defined on a single unrelated field and can be applied to fields in
different objects; identification of the additional data locations is a manual process.
Any disguise criteria that are not repeatable, or that are not entirely determined by the contents of a
single field, are called complex criteria. This includes any disguise rule for a field based on the
606 File-AID/RDX Reference
contents of another field. It also includes the use of a partial column in a relationship when the
disguise of one part is based on the contents of another part. It also includes the use of the File-
AID/Data Solutions Data Generator because the value generated for the current column is affected by
the value generated for the previous column. Also any rule that involves randomization is complex,
because it is not repeatable across multiple objects.
The Disguise Control File will control all disguise actions and will allow the same set of disguise
specifications to be used with different Relationship Files.
A Disguise Control File contains a set of disguise rules for specific objects. Maintaining multiple
Disguise Control Files provides flexibility in how you choose to manage the disguise process. You
may choose to define different sets of disguise criteria for the same objects by storing them in
different Disguise Control Files. For example, one set of disguise criteria could be defined for
production data being moved to the training subsystem and a different set of disguise criteria could
be defined for production data being moved to the offshore test subsystem. The disguise rules for data
being loaded for training purposes may be much less extensive than the disguise rules required if the
data is to be sent offshore for testing. Multiple Disguise Control Files allow customers to define
protection that is appropriate for the environment where the data will be loaded.
The related, associated and unrelated disguise criteria is stored in the Disguise Criteria File. This
allows the correct disguise criteria to be applied for each object and also allows the same disguise
criteria to be applied to multiple objects for related and associated criteria. At extract time, you
specify the Disguise Control File and all disguise criteria defined for the objects being extracted will
be applied as defined in the DCF.
XML and 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.
When a data driven AR exists in a relationship thread, data that may have been extracted outside of
this data driven relationship, due to other potential relationships, may not be disguised.
Data Privacy 607
Unicode Considerations
DCF Disguise Criteria cannot be created on Unicode columns or fields.
Unicode 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).
GDG Considerations
You can define disguise criteria for the GDG base and specific relative and absolute generations.
When specifying the GDG base without a relative generation as the MVS Filter Object, the Object
Preview will list the GDG base and all the existing GDS with their absolute generations. When
entering the GDG with a relative generation, the name will be treated as a fully qualified name and
the Object Preview will include only the GDS with the relative generation.
This processing allows you to define disguise criteria for the GDG base for absolute generations and
for relative generations.
Define the Disguise Criteria for a GDG object in the same way as the object is extracted (based on the
relationship definition) for the Disguise Criteria to be applied. If the object is extracted as the GDG
base, the Disguise Criteria must be defined for the GDG base. If the object is extracted with the
relative GDS, the Disguise Criteria must be defined for the relative GDS. If the object is extracted with
the absolute GDS, the Disguise Criteria must be defined for the absolute GDS.
The Disguise Control File (DCF) specifies the disguise criteria to be used for the GDG base or specific
generation.
Audit Trail reports include the full GDS name with the absolute generation.
• The relationship file that is the most comprehensive for the objects to be disguised
• One Disguise Control File that will contain the disguise information for all objects to be
disguised (Only use multiple Disguise Control Files when the same objects needs to have
different disguise criteria.)
– Use an existing extract request that includes all or most of the objects to be disguised
608 File-AID/RDX Reference
• Use the most suitable disguise method and criteria for each field to be disguised
• Create Related, Associated, or Unrelated Disguise rules for each object and field to be disguised
• Verify disguised extract results using the File-AID Data Privacy Summary Report and Audit Trail
Report files
• Make the Disguise Control File available for regular File-AID/RDX users by adding it to their SITE
and/or USER profiles. Set RACF security 1 for the Disguise Control File so only authorized users
can make changes, and regular File-AID/RDX users can then use it to execute extract requests
with disguise or disguise already existing extract files.
Regular File-AID/RDX users should request either the File-AID/RDX profile name or the Disguise
Control File name from the Privacy or Security Administrator depending on their Profile Type (i.e.,
SITE, USER, or prefix).
If Dynamic Privacy Rules have been defined with the File-AID Data Privacy component of the Topaz
Workbench, you can disguise extracted data by specifying the Dynamic Privacy Rules Project.
Alternatively, you can define disguise criteria from within File-AID/RDX for the objects containing
sensitive data that you intend to extract and store the disguise information in the Disguise Control
File (DCF).
You can also disguise existing extracts which were created with this or earlier releases of File-
AID/RDX using the disguise information stored in the Disguise Control File (DCF).
For your initial disguise access, you must specify the File-AID/Data Solutions
parameters with Option 3, Parms, before selecting options 1 or 2.
The Data Privacy Menu also includes Data Privacy utilities that allow you to:
1. The Privacy or Security Administrator, or anyone using option 5.1 (Create and Modify Disguise Criteria), requires UPDATE
or greater RACF authority to the Disguise Control File. A “Regular” File-AID/RDX user requires READ or greater RACF
authority to execute the disguise function in batch.
Data Privacy 609
P - Privacy
Select this option to disguise an existing extract file and apply the disguise criteria rules as
defined in the File-AID Data Privacy DPR: Dynamic Privacy Rules Project. File-AID/RDX displays
the DPR: Disguise Existing Extract panel (Figure 340 on page 612).
This option requires installation of Compuware’s File-AID/Data Solutions and File-AID Data
Privacy.
If the file does not exist, use Option 4, Allocate Disguise Control File of the Data Privacy Menu to
allocate a new file (see Allocate Disguise Control File on page 670).
610 File-AID/RDX Reference
1 - Criteria
Select this option when you want to define or modify disguise criteria for objects to be extracted
and disguised. Creating a list of objects is always the first step in creating or modifying disguise
criteria. Use of the object list as the starting point for criteria creation is based on thinking that
criteria will be created for a specific set of objects and having the ability to view these objects
together would be helpful. An object list may contain both Db2 and MVS objects. Your current
profile variable determines which panel displays next, either the Extract Reference List for
Disguise on page 622, Request File Member List Screen on page 626, NEW - DB2 Object Filter on
page 628, or NEW - MVS Object Filter on page 630.
Before selecting this option make sure that you have set the correct File-
AID/Data Solutions parameters with Option 3, Parms, and that the Disguise
Control and Disguise Criteria files already exist. To allocate new Disguise
Control and Disguise Criteria files, use options 4- Control and 5- Criteria.
2 - Disguise
Select this option to disguise an existing extract file and apply the disguise criteria rules as
defined in the DCF: Disguise Control File. File-AID/RDX displays the Disguise Extract File panel
DCF: Disguise Existing Extract on page 665.
This option also allows you to disguise extract files that were created with an earlier version of
File-AID/RDX if you are using disguise criteria rules defined in the Disguise Control File (DCF).
The extract file must can be compressed (see also Compress on page 339), and can be a retained
extract file (see also Retain pre-disguise file on page 342).
It is possible to use a Disguise Control File with different Relationship Files as long as the set of
related objects being disguised has not changed. If there have been changes to the set of related
objects, the disguise rules will not be applied to any added relationships. No error checking will
be done at disguise execution time.
3 - Parms
Select this option to specify File-AID/Data Solutions parameters that File-AID/RDX uses to
properly connect to File-AID/Data Solutions, including:
– The Disguise Criteria File where File-AID/Data Solutions will store the actual disguise criteria
(necessary).
– The Dynamic Privacy Rules Project Name and Repository where File-AID Data Privacy will
store the actual privacy rules.
– The Business Rules dataset File-AID/Data Solutions uses when operating on date fields; it can
also be used by field exits (optional, only needed when applying business rules).
Options 4 through 7 are data disguise file utilities. Enter the option number to select the desired
utility:
4- Control
Displays the Allocate Disguise Control File panel where you can allocate a new Disguise Control
File (DCF). The File-AID/RDX disguise control file is required for the data disguise function and is
the repository that keeps track of all defined disguise criteria for each object.
Data Privacy 611
5- Criteria
Displays the Allocate Disguise Criteria File panel where you can allocate a new Disguise Criteria
File. This file is maintained by File-AID/Data Solutions and is the repository for all detailed
disguise criteria for File-AID/RDX extracts.
6- Validate
The Validate/Update Disguise Control File utility is no longer supported.
7 - Print Control
Displays the Print Disguise Control File panel where you specify to print the contents of the
disguise control file.
A - Print Audit
Displays the Print Disguise Audit Trail panel where you specify to print the disguise audit trail
information for a disguised object.
• Select Option P, Privacy, from the Data Privacy Menu on page 608.
Use this screen to specify information required for the disguise operation using File-AID Data Privacy
Dynamic Privacy Rules, then enter GO to submit the batch job for disguise.
Hint
• Before you submit the disguise job, make sure that the Disguise Control File or the Dynamic
Privacy Rules Project includes the desired disguise criteria for the objects included in the extract
file.
612 File-AID/RDX Reference
Enter the requested file information before viewing the JCL or submitting the disguise job with the
GO command directly:
Extract File
Specify the name of the Extract File that is to be disguised. The extract file can also be a
compressed extract file (see Compress on page 339).
If the Extract File is on tape, specify the name of the Extract Summary File instead of the name of
the Extract File on tape. The Extract Summary File was created when the generated extract was
saved to tape (see Specify Extract “TO” File Information on page 338). If your extract file on tape
was created with an earlier release of File-AID/RDX than 4.8, create a summary file as described in
Extract File Specification on page 419.
Only extract files created with File-AID/RDX Release 4.8 or higher can be disguised using
Dynamic Privacy Rules.
When you had requested an extract with disguise and the disguise step of that extract failed, or
you had also set the option to save the pre-disguise records to a file in a masked format, you can
enter the name of the pre-disguise Extract File here as the extract file to be disguised. You find the
name of the pre-disguise file in the output of the extract job.
The name assigned to the pre-disguise extract file will use the standard File-AID/RDX routine to
generate a "temporary" name. The name will be the user prefix, the mid-level qualifier from the
Profile, the word "EXTRACT" and finally the current date and time fields (i.e. D120128.T055709).
Member
If the file you specified in Extract File is partitioned, you can enter a member name. If you leave
this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up containing a list
of members that match the specified pattern. The only valid pattern character is an asterisk (*).
Data Privacy 613
When the specified disguised extract output is to tape or cartridge, File-AID/RDX automatically
creates a summary file on DASD. The name of the summary file is the one specified in your
profile or, if none is specified there, it is the name of the extract file with SUMMARY replacing
the last node of the extract file name or a truncated form of SUMMARY as to not exceed 44
characters. If the summary file exists, File-AID/RDX will update (overwrite) its content. Refer to
Extract Summary File on page 45 for more information.
Member
If the file you specified in Disguised Extract File is partitioned, you can enter a member name. If
you leave this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member.
VOLSER
If the file specified in Disguised Extract 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 disguise "to" file. You can extract to existing files with a disposition
of OLD. Existing files must conform to the format outlined for the extract file in File-AID/RDX
Extract File on page 377. Specify a disposition of NEW to create a new file.
If you specify NEW in the Disposition field, you must specify the following allocation
parameters in the Create New File screen (Figure 175 on page 334).
Specify the full repository name (up to 128 characters). 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).
This field is prefilled with your current profile’s value (see DPR: Repository Name on page 73) or
global default value (see Option G—Global User Defaults).
Project Name
Specify the name of the Dynamic Privacy Rules Project to be used for this extract. Dynamic
Privacy Rules are created with the File-AID Data Privacy component of the Topaz Workbench. The
Dynamic Privacy Rules Project keeps track of how to apply the privacy rules to which extracted
data element.
614 File-AID/RDX Reference
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. Then select the desired project
from the list (see Privacy Project List on page 74).
This field is prefilled with your current profile’s value (see DPR: Project Name on page 73).
The specified project must exist in the repository you specified in the DPR:
Repository Name field or the message 'Project not found' is
displayed.
Yes. File-AID/RDX creates a separate Audit Trail dataset for each disguised object. The naming
convention for each Audit Trail dataset (Audit Trail File on page 47) is
prefix.RDXA.DnnnBnnn.Dyymmdd.Thhmmss.Msss
Primary Commands
The following primary commands are valid:
GO
Submit the batch job for disguise.
JCL
View the JCL generated for the disguise job prior to submitting the job with the SUBMIT
command (see also View JCL on page 615).
1. 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 Disguise Extract File on
page 341, option 2, Use DPR.
2. The FARULES DD identifies the Privacy Rules Repository name and Dynamic Privacy
Rules Project ID.
The FARULES DD may be allocated to a sequential file or a member of a PDS. The
record length must be fixed 80 bytes.
Data Privacy 615
View JCL
The ISPF/PDF Edit screen shown in Figure 341 on page 615 is displayed when you enter the JCL
command in the DPR: Disguise Existing Extract panel.
Use this screen to view or edit the JCL generated by File-AID/RDX to disguise an existing extract file
with predefined disguise criteria as specified in the Dynamic Privacy Rules Project. Use the SUBMIT
command to submit the extract request for execution. If you want to save this JCL, use the ISPF/PDF
CREATE or REPLACE command before you exit the panel.
If you want the execution log output sent to a file, point XVJPRINT DD at a file (instead of
SYSOUT=*). This file must be allocated with RECFM=FBA, LRECL=133.
Example:
616 File-AID/RDX Reference
//DPRSTAT1 DD DSN=fixed_layout_sequential_file,
// DISP=MOD
//DPRSTAT1 DD DSN=fixed_layout_sequential_file,
// DCB=(RECFM=FB,LRECL=2737,DSORG=PS),
// SPACE=(TRK,(1,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,CATLG)
To view the output file in formatted mode you can use File-AID/MVS Browse or Edit with the
following COBOL record layout describing a record in the output file:
01 DPR-STATISTICS.
15 DPR-COLUMN-NUMBER PIC 9(9) COMP.
15 DPR-NUMBER-CHANGED PIC 9(9) COMP.
15 DPR-NUMBER-INVALID PIC 9(9) COMP.
15 DPR-COLUMN-NAME PIC X(128).
15 DPR-RULE-NAME PIC X(512).
15 DPR-RULE-DESCRIPTION PIC X(512).
15 DPR-LAYOUT PIC X(1573).
DPRSTAT2 DD (CSV)
When you add a DPRSTAT2 DD to a File-AID Data Privacy job and it points at a CSV (Comma
Separated Values) file defined as RECFM=VB,LRECL=2751, at end of job, the file will have the report
information for each column written out as a single record containing all the same report
information but they will be Comma Separated Value (CSV) records.
Example:
//DPRSTAT2 DD DSN=CSV_file,
// DISP=MOD
//DPRSTAT2 DD DSN=CSV_file,
// DCB=(RECFM=VB,LRECL=2751,DSORG=PS),
// SPACE=(TRK,(1,2),RLSE),
// UNIT=SYSDA,
// DISP=(NEW,CATLG,CATLG)
//DPRSDI DD DISP=SHR,DSN=u.data.mysdis
where the existing dataset u.data.mysdis contains the definitions of SDIs that will be used for this
execution.
If the DPRSDI DD is defined in JCL, all SDIs defined in the project will be ignored and replaced with
definitions provided in the override dataset.
If the specified override file does not exist, Message UNABLE TO OPEN
DPRSDI FILE is issued and processing stops with a RC=8.
Data Privacy 617
To do so, insert any of these FAJPATH, FAJOPTS, FAIPADDR, and FAEXPATH DD statements as needed.
For example:
//FAIPADDR DD *
127.372.322.101:4180
/*
//FAJPATH DD *
/usr/lpp/java/J7.1_64.bld111513/
/*
It is also possible to specify more than one debug parameter inline. For example:
//FADEBUG DD *
Level=FINER
Filename=/u/userid/
/*
executionParm=overrideValue
The execution parameter must have been defined in the Topaz Workbench user interface for the
project.
Example:
Your DPR project ‘project1’ includes:
• 2 translate tables, ‘Title table’ and ‘Titles for HR dept’ (Figure 342)
• 2 execution parameters, ‘Parameter1’ identifies the translate table ‘Title table’ and
‘Param2Variable’ identifies variable ‘scramvar’ (Figure 344 on page 619).
At execution time, however, you want to override the defined execution parameters for translate
table ‘Title table’ with the new translate table ‘ABC.NEWTRANS’ and the initial value of variable
‘altscram‘ with the new string ‘789xyz’. The new translate table must have the same characteristics as
the original one.
To do so, insert the following DPRPARMS DD statement in the JCL (inline example):
//DPRPARMS DD *
Parameter1=ABC. NEWTRANS
Param2Variable=789xyz
/*
executionParm=LIST(X)=overrideValueXoverrideValueXoverrideValue
The X variable inside the =LIST( )= parentheses defines the delimiter for the list of values. The
delimiter can be any character. Connect each overridevalue with the defined delimiter.
For example, insert the following DPRPARMS DD statement in the JCL (inline example) to override
the values of the String List named STATE (* is the defined delimiter):
//DPRPARMS DD *
STATE=LIST(*)=MI*OH*RI*CA*MO*IN
/*
This methodology is efficient and sufficient in most scenarios, but there are some scenarios where no
single origin contains all of the values required by the non-origins. When this occurs, it is possible to
direct File-AID to use all objects that contain the necessary fields referenced by the Data Privacy Rule
as origins. This directive is specified by adding to your JCL:
//MULTISRC DD DUMMY
//FAJOPTS DD *
-verbose:sizes
-Dfile.encoding=UTF-8
-Dlog.encoding=IBM1047
If the JAVA options in the File-AID Data Privacy Environment parameters include other site specific
JAVA options, also add them to the FAJOPTS DD statement before submitting the job.
Adding the above FAJOPTS DD statement will override the JAVA options in the File-AID Data Privacy
Environment parameters and make it possible to run an Oracle translation while the log will be
generated in EBCDIC.
An indicator that you need to make this JCL change is when the Data Privacy job ended with the
following error:
However, this general message is not conclusive. Your error log file should have something like the
following:
If you see the above, then you need to insert the FAJOPTS DD statement.
• Two related columns have unlike data types; error may be due to non-normalized data
The disguise audit file for the object contains the before image for the offending records. Print it (see
Print Disguise Audit Trail on page 679) so you can determine whether the discarded records are
needed in your extract file.
The TEST parameter for the disguise (EXDISG) EXEC statement in the EXTPARMS dataset (see
EXTPARMS File on page 367) can be used to change the default behavior. When you set the parameter
Data Privacy 621
to Y, File-AID/RDX will issue a fatal error (RC=8) for this object instead of just discarding the
incomplete disguise records. When set to N, File-AID/RDX will issue warning messages for incomplete
disguise (RC=6) for an object, but continue disguise of object.
Periodically, you may want to manually delete the EXTPARMS parameter files that are no longer
needed for saved jobs to be resubmitted.
• Select Option 1, Criteria, from the Data Privacy Menu on page 608 and your profile set it as the
first Data Privacy panel (see also First Disguise panel on page 74);
or
• Enter the REFerence command on the Request File Member List Screen.
The Extract Reference List for Disguise lists the same extract requests as the Extract Reference List
described on page 213.
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 NEW - DB2 Object Filter
or NEW - MVS Object Filter screen so you can create a new object list.
Refer to Option G—Global User Defaults on page 82 for how to set the maximum number of list
entries for the reference list.
Creating a list of objects is the first step in creating or modifying disguise criteria. Use of the object
list as the starting point for criteria creation is based on thinking that criteria will be created for a
specific set of objects and having the ability to view these objects together would be helpful. An
object list may contain both Db2 and MVS objects.
You create an initial disguise object list either by creating a NEW list with the NEW command, or
extracting the objects from an extract request you select from the Extract Reference List for Disguise,
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.
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.
622 File-AID/RDX Reference
The lower part of the screen displays a listing of your recently referenced extract requests. Use the
line commands to manage the list.
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.
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.
Data Privacy 623
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:
I (Info)
Displays the Request Details screen, which provides more comprehensive information about the
extract request. See Figure 346 for an example.
L (Lock)
Protects this entry from rolling off the extract reference list.
S (Select)
Selects this extract request and adds all non-excluded objects of the request to the initial disguise
object list. Objects excluded from the extract request will not be added to the object list.
U (Unlock)
Does not protect this entry from rolling off the extract reference list.
624 File-AID/RDX Reference
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 347 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 object list based on your current profile. File-AID/RDX displays either the Db2 or
MVS Object Filter screen as set in your profile (see Figure 353 or Figure 354).
You can also include one of the optional parameters, DB2 or MVS, to display the respective New
Object Filter 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 349 for more information.
File-AID/RDX opens the request file specified in your current profile or prompts for the file name
when none is in your profile.
Data Privacy 625
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 348 for an example. Size is a toggle switch, so enter Size again to return to the
original format.
• Select Option 1, Criteria, from the Data Privacy Menu and your profile set the Request File
Member List as the first disguise panel (see also First Disguise panel on page 74);
or
• Enter the REQuest command on the Extract Reference List for Disguise panel
The Request File Member List Screen lists the same extract requests as the Request File Member List -
Size Screen described on page 221.
File-AID/RDX also displays the Request File Member List screen, when your
profile lists the Extract Reference List for Disguise as the first disguise panel,
but the list is empty and your profile includes an extract request file.
Creating a list of objects is the first step in creating or modifying disguise criteria. Use of the object
list as the starting point for criteria creation is based on thinking that criteria will be created for a
specific set of objects and having the ability to view these objects together would be helpful. An
object list may contain both Db2 and MVS objects.
You create an initial disguise object list either by creating a NEW list with the NEW command, or
extracting the objects from an extract request you select from the Request File Member List or from
an extract request off the Extract Reference List for Disguise (REFERENCE command).
This screen displays the member list of a saved extract request file or an extract criteria file created
with File-AID/RDX prior to Release 3.0. Use the S line commands to select an extract request and add
all of its objects to the initial object list.
626 File-AID/RDX Reference
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 for Disguise (page 622).
The lower part of the screen displays a listing of the file’s members.
Member
Member name in the saved extract request file or extract criteria file. The member names are
displayed in alphabetical order.
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 350).
Data Privacy 627
Delete Confirmation
COMMAND ===>
Request File ....: ‘TSOID01.FRSAMP.EXTCRIT’
Member to be Deleted: TESTA
ENTER to confirm delete
END to return to Request File Member List
R (Rename)
Rename the request member. The Rename Confirmation window (Figure 351) allows you to enter
a new name for the request file member.
S (Select)
Selects this extract request and adds all objects included in the request to the initial disguise
object list.
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 object list based on your current profile. File-AID/RDX displays either the DB2 or
MVS Object screen as set in your profile (see Figure 353 or Figure 354).
You can also include one of the optional parameters, DB2 or MVS, to display the respective New
Object Filter screen.
REFERENCE (REF)
Displays your Extract Reference List panel. Refer to Figure 345 on page 622 for more information.
628 File-AID/RDX Reference
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 352 for an example. Size is a toggle switch so enter Size again to return to the
original format.
• Select Option 1, Criteria, from the Data Privacy Menu and your profile set the New - DB2 Object
Filter as the first disguise panel (see also Default NEW object type and First Disguise panel on
page 74);
or
• Enter the NEW command in the Extract Reference List for Disguise or the Request File Member
List screens and your profile specifies that the NEW object type is a Db2 object, or you enter the
DB2 command in the NEW - MVS Object Filter screen.
Use this screen to specify a Db2 object filter to add Db2 objects to your initial object list.
After entering the information for the new DB2 object filter, press ENTER to proceed to the ObjectIn
Preview.
Data Privacy 629
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 objects you specify must exist in the Db2 subsystem
displayed here.
Location
Specify the location of the objects you want to include in the object list if it resides in a remote
Db2 subsystem. The location you enter must be defined in the Db2 system catalog table,
SYSIBM.LOCATIONS.
Leave this field blank if the objects you want included are in the Db2 subsystem in the SSID field.
Creator
Specify the authorization ID of the owner of the objects that you want to include in the object
list. Enter a pattern in this field if you want to include objects from more than one creator. Valid
pattern characters are %, _, and * (see Pattern Characters on page 27).
Table Name
Specify a pattern for the object names you want to include in the object list. Valid pattern
characters are %, _, and * (see Pattern Characters on page 27).
Object Source
Specify whether to search for matching objects to be added to the initial object list in the
relationship file or in the Db2 catalog.
Relationship. File-AID/RDX searches only the relationship file to find matching objects.
Relationship File
Specify the name of the file that contains the referential integrity and application relationship
information you want to use for the object list. In the object list, File-AID/RDX identifies related
objects based only on the relationship definition found in the relationship file.
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
630 File-AID/RDX Reference
MVS (M)
Switches to the NEW - MVS Object Filter panel prefilled with the applicable information from
your profile. Refer to NEW - MVS Object Filter on page 630.
• Select Option 1, Criteria, from the Data Privacy Menu and your profile set the New - MVS Object
Filter as the first disguise panel (see also Default NEW object type and First Disguise panel on
page 74);
or
• Enter the NEW command in the Extract Reference List for Disguise or the Request File Member
List screens and your profile specifies that the NEW object type an MVS file, or you enter the
MVS command in the NEW - DB2 Object Filter screen.
Use this screen to specify a MVS object filter to add MVS objects to your initial object list.
After entering MVS object filter information, press ENTER to proceed to the ObjectIn Preview.
File name
Specify the MVS file name pattern for the objects you want to add to the object list. Valid pattern
character is * (see Pattern Characters on page 27).
Data Privacy 631
OPTIONAL Additional filters for MVS Objects in the Relationship File Area
The following fields are only needed when you want to use the single or XREF record layout
information as additional filters for MVS files to be searched in the relationship file (Object
Source=R). When searching the MVS catalog the record layout fields are ignored.
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 used as filter when layout usage is X. Specify the XREF file name for the MVS object(s) you
want to add to the object list. 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 364 on
page 640.
Member name
Specify the member of the XREF file that contains the layout information for the MVS object(s).
Leave blank or use a pattern to narrow the search, see also Figure 366 on page 642.
Object Source
Specify whether to search for matching objects to be added to the initial object list in the
relationship file or in the MVS catalog.
Relationship. File-AID/RDX searches only the relationship file to find matching objects.
632 File-AID/RDX Reference
Relationship File
Specify the name of the file that contains the referential integrity and application relationship
information you want to use for the object list. In the object list, File-AID/RDX identifies related
objects based only on the relationship definition found in the relationship file.
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
DB2 (D)
Switches to the NEW - DB2 Object Filter panel prefilled with the applicable information from
your profile. Refer to NEW - DB2 Object Filter on page 628.
ObjectIn Preview
The ObjectIn Preview window shown in Figure 355 is displayed any time after you press Enter on
either NEW - DB2 Object Filter or the NEW - MVS Object Filter screens. It displays the results of your
object filter search and allows you to select all, none, or individual objects to be included in your
initial object list.
Use this preview to select only those objects you want to include.
After selecting all desired objects to be included in the object list, press END to proceed to the Data
Disguise - Object List. If you press END without selecting any objects, you proceed to an empty Data
Disguise - Object List.
Object Name
Identifies the name of the objects that match the specified object filter.
Data Privacy 633
Line Commands
The following File-AID/RDX-specific line command is valid:
S (Select)
Selects and marks this object to be included in the object list. Blank out the S marker for
individual objects you don’t want included in the object list. Use in conjunction with the ALL
primary command to mark your selections.
Primary Commands
The following File-AID/RDX-specific primary commands are valid:
ALL
Selects and marks all objects listed in the preview to be included in the object list. Blank out the
S marker for individual objects you don’t want included in the object list. Use in conjunction
with the S line command to mark your selections.
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.
This screen displays the list of the objects, in alphabetical order, that have been filtered into the
Object List. From this list you select an object in order to create or modify disguise criteria for the
object. Disguise criteria are defined for an object and will be applied whenever that object is extracted
and disguise is requested for the extract file.
After selecting all desired objects to be included in the object list, press END to proceed to the Data
Disguise - Column/Field List.
Object Name
Identifies the name of the objects that match the specified object filter.
Disguised Columns/Fields
Displays the names of the columns and fields with disguise criteria defined. This field is a
scrollable field so the entire contents of the field may not be displayed in the area allowed.
Position the cursor on the field and enter the EXPAND command to view the entire field
contents.
Line Commands
The following File-AID/RDX-specific line command is valid:
S (Select)
Selects this object for data disguise and displays the Data Disguise - Column/Field List. If the
selected object is an MVS file for which File-AID/RDX does not have any record layout
information, File-AID/RDX displays the “MVS XREF/Record Layout” window where you must
specify the applicable record layout information.
I (Info)
Displays the Disguised Columns/Fields for each object. Figure 357 displays the disguised
columns/fields with the disguise rule and disguise description for the selected object. The
Disguise Rule field is scrollable, use LEFT and RIGHT commands to view the remainder of the
description field.
O (ObjectOut)
Removes this object from the object list.
R (Related objects)
Searches the relationship file and displays any related objects that are not yet included in the
object list (see Figure 358). Then you can select any of the related objects to be added to the
object list.
Data Privacy 635
L (List DB)
Lists all objects that are in the same database as this object and are not already in the Object List
(see Figure 359). Then you can select any of the objects to be added to the object list.
Primary Commands
The following File-AID/RDX-specific primary commands are valid:
OBJECTIN (OI)
Allows you to add objects to your current object list. This command displays either the “ObjectIn
- DB2 Object Filter” or “ObjectIn - MVS Object Filter” screen. The ObjectIn Filter panels work the
same as the NEW - DB2 Object Filter (Figure 353 on page 628) and NEW - MVS Object Filter
(Figure 354 on page 630) with the exception that the relationship file, Db2 SSID and Db2
Location fields are protected.
OBJECTOUT (OO)
Allows you to remove objects from your current object list. This command displays either the
ObjectOut - DB2 Object Filter (Figure 360 on page 636) or “Object-Out - MVS Object Filter”
screen (Figure 354 on page 630).
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.
636 File-AID/RDX Reference
SIZE (SI)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. SIze is a toggle switch so enter SIze again to return to the original format.
Use this screen to specify a Db2 object filter to remove Db2 objects from your current object list.
After entering the information for the new Db2 object filter, press ENTER to proceed to the
“ObjectOut Preview”.
SSID
Displays the current Db2 subsystem ID.
Location
Displays the current Db2 location.
Creator
Specify the authorization ID of the owner of the objects that you want to remove from the object
list. Enter a pattern in this field if you want to remove objects from more than one creator. Valid
pattern characters are %, _, and * (see Pattern Characters on page 27).
Table Name
Specify a pattern for the object names you want to remove from the object list. Valid pattern
characters are %, _, and * (see Pattern Characters on page 27).
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
Data Privacy 637
MVS (M)
Switches to the NEW - MVS Object Filter panel prefilled with the applicable information from
your profile. Refer to NEW - MVS Object Filter on page 630.
Use this screen to specify an MVS object filter to remove MVS objects from your current object list.
After entering the information for the MVS object filter, press ENTER to proceed to the “ObjectOut
Preview”.
File name
Specify the MVS file name pattern for the objects you want to remove from the object list. Valid
pattern character is * (see Pattern Characters on page 27).
Primary Command
The following File-AID/RDX-specific primary command is valid on this screen:
DB2 (D)
Switches to the ObjectOut - DB2 Object Filter panel prefilled with the applicable information
from your profile. Refer to ObjectOut - DB2 Object Filter on page 636.
ObjectOut Preview
The ObjectOut Preview window shown in Figure 362 is displayed any time after you press enter on
either ObjectOut - DB2 Object Filter or the ObjectOut - MVS Object Filter screens. It displays the
results of your object filter search and allows you to select all, none, or individual objects to be
removed from your current object list.
Use this preview to select only those objects you want to remove.
638 File-AID/RDX Reference
After selecting all desired objects to be removed from the object list, press END to return to the Data
Disguise - Object List.
Object Name
Identifies the name of the objects that match your specified object filter.
Line Commands
The following File-AID/RDX-specific line command is valid:
S (Select)
Selects and marks this object to be removed from the object list. Blank out the S marker for
individual objects you don’t want removed from the object list. Use in conjunction with the ALL
primary command to mark your selections.
Primary Commands
The following File-AID/RDX-specific primary commands are valid:
ALL
Selects and marks all objects listed in the preview to be removed from the object list. Blank out
the S marker for individual objects you don’t want removed from the object list. Use in
conjunction with the S line command to mark your selections.
FIND (F)
Searches the preview 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.
Data Privacy 639
Field Descriptions
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 364 on
page 640.
640 File-AID/RDX Reference
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 366 on page 642.
Figure 364. MVS Catalog Utility File List (for Pattern FAS*.LAY*)
File-Aid/RDX ------------- Catalog Utility File List ---- Select Record Layout
Command ===> SCROLL ===> CSR
----- D A T A S E T N A M E --------------
S TSOID01.FASAMP.LAYOUTS NON-VSAM PRD938
TSOID01.FASAMP2.LAYOUTS NON-VSAM MIGRAT
******************************* Bottom of data ********************************
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.
Data Privacy 641
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.
642 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.
It lists all columns/fields of the selected object along with the assigned disguise rule and rule
description.
Use the available line commands to manage the disguise information for the column.
After you completed all desired disguise criteria for this object, press END to return to Data Disguise -
Object List.
Disguise Object
Identifies the name of the object you selected in the Data Disguise - Object List.
Column/Field Name
Identifies the name of the columns/fields of the object. An asterisk (*) to the right of the column
name indicates a related column.
NULL values will remain NULL even when disguise criteria are applied to the
field. The NULL indicator is not changed so the column will be considered
NULL at load time: the disguised value will not be loaded.
Type(Length)
Displays the column’s or 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.
644 File-AID/RDX Reference
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 Table 8 on page 147 for more information about data types displayed in this column.
Disguise Rule
Identifies the disguise rule and description assigned to the column/field. When the criteria is
stored in a disguise criteria file, File-AID/RDX generates a unique name for each rule and
identifies its mode with a prefix, either A, R or U.
Rules not following this identification pattern are Associated rules for which
the identifier has been changed manually.
Position the cursor on the field and enter the EXPAND command to view the entire field
contents.
Line Commands
The following File-AID/RDX-specific line command is valid:
A (Add/Assign Rule)
Displays the Associated Rules List where you can select an already defined associated disguise rule
or create a new associated rule to assign to this column (see also Associated Rules List on page
646). You can only enter the A line command for a column that does not have a rule assigned to
it, yet.
I (Info)
Displays the disguise information for the selected column. The presented information differs
depending on the type of disguise rule, related, associated, or unrelated. Figure 368 displays the
information for unrelated columns/fields.
Data Privacy 645
S (Select)
Selects this column as a column to be disguised or to modify its existing disguise information.
When you press Enter, File-AID/RDX transfers control over to File-AID/Data Solutions’ Disguise
function where you actually define or modify the disguise criteria for the selected object.
Depending on the column type File-AID/RDX transfers to File-AID/Data Solutions in either
Related, Associated, or Unrelated mode (see also File-AID/Data Solutions Criteria Menu on page
648, File-AID/Data Solutions Criteria Menu on page 648, and File-AID/Data Solutions Criteria
Menu on page 648).
When selecting a column that already has a disguise rule defined for it, you can modify the
disguise criteria as long as the criteria was defined for the selected object and column.
However, when selecting a column with an Associated or Related disguise rule that was defined
using a different object and column, a warning message informs that you can either modify the
criteria using the original object and column or cancel your selection.
U (Unassign Rule)
Removes any disguise rule from this column. Notice the behavior depending on the type of rule:
– Unassigning a rule from a related field will unassign it from all related columns.
– Unassigning a rule from an associated field will only affect that object. However, if
unassigned from the object of origin, (the object used to define the rule), a warning popup
will display all of the places where the rule was applied and the rule will be unassigned from
all the associated objects, unless you cancel the command.
– Unassigning an unrelated rule will remove criteria from all unrelated fields. To remove
criteria from a single unrelated field, cancel the Unassign, then use the S line command to
select the rule and remove the criteria with File-AID/Data Solutions.
Unassigning a rule does not delete it from the criteria file as it might be used by another Disguise
Control File.
Primary Commands
The following File-AID/RDX-specific primary commands are valid:
646 File-AID/RDX Reference
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.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. SIze is a toggle switch so enter SIze again to return to the original format.
SORT (SO)
Sorts the displayed list by the specified display column name.
Associated rules are a special kind of criteria for unrelated fields. The criteria are always defined for a
single field and will be stored separately by associated field. Other objects can share this type of
criteria. The same field can exist in multiple objects even though the fields are not related. Associated
rules allow the criteria to be defined once and applied to the other objects where the same data exists.
You must manually identify the objects and fields that are to share the associated criteria with the A
line command; File-AID/RDX does not provide automated identification assistance.
Associated rules are like related criteria but instead of the Relationship File identifying where the
criteria are to be applied, you identify the data locations. Any changes made to associated disguise
criteria will apply to all objects that share the criteria.
File-AID/Data Solutions provides disguise options that are repeatable, but it is up to you to choose a
disguise method that will return the same replacement value in all objects if the values are to be
consistent across objects.
The Associated Rules List lists all currently defined associated rules. You can select an existing rule or
create a new one. The associated rule must match the column type and length of the selected column.
Use the available line commands to manage the associated rules for the column.
Data Privacy 647
After you selected an existing or defined and selected a new rule, press END to return to Data
Disguise - Column/Field List.
Column/Field
Identifies the name of the column/field for which you entered the A line command in the Data
Disguise - Column/Field List.
Disguise Object
Identifies the name of the object you selected in the Data Disguise - Object List.
Disguise Rule
Identifies the defined disguise rule by its member name in the Disguise Criteria File and displays
the disguise rule description as entered during the disguise creation.
Use the SCROLL LEFT and SCROLL RIGHT commands to view descriptions that are longer than
the display field.
Type
Displays the column’s or field’s data type. See Table 8 on page 147 for more information about
data types displayed in this column.
Length
Displays the column’s or field’s data length.
Line Commands
The following File-AID/RDX-specific line command is valid:
648 File-AID/RDX Reference
I (Info)
Displays the disguise information for the selected associated rule.
S (Select)
Assigns this associated rule to the column/field and returns to the Data Disguise - Column List
with the selected rule assigned to the column/field.
Primary Commands
The following File-AID/RDX-specific primary commands are valid:
NEW
Allows you to define a new associated criteria rule for this column. When you press Enter, File-
AID/RDX transfers control over to File-AID/Data Solutions’ Disguise function in associated mode.
There you actually define the new associated disguise criteria (see Criteria Menu - Associated
Mode on page 654). After defining the new associated rule, you return to the Data Disguise -
Column List with the new rule assigned to the column.
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.
SIZE (SI)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. SIze is a toggle switch so enter SIze again to return to the original format.
SORT (SO)
Sorts the displayed list by the specified column name.
Regardless of the mode, the presented disguise criteria options are a subset of all available File-
AID/Data Solutions functions that are most likely to be used to disguise data for related extracts. You
can use the MENU primary command to view to all available options of the File-AID/Data Solutions
Criteria Menu.
As File-AID/RDX provides all the layout information and disguise criteria file and member names, all
you need to do is specify the disguise criteria for the selected object.
Data Privacy 649
The disguise criteria is stored in the disguise criteria file. The Disguise Control File (DCF) keeps track
of where the disguise criteria is stored.
Consult your File-AID/Data Solutions User Reference Manual on how to specify the disguise information.
File-AID/Data Solutions -17.02.00- Criteria Menu --- ---- CREATE NEW CRITERIA
OPTION ===>
G GLOBAL - GLOBAL Fields 0 fields
1 DATE AGING - Aging criteria 0 sets
4 TRANSLATOR - Data Translator criteria 0 sets
5.1 GENERATOR - Data Generator criteria 0 sets
5.2 PATTERN - Pattern Data Generation 0 sets
6 FIELD EXITS - Utilities criteria 0 sets
7 DATA ENCRYPTION - Data Encryption Criteria 0 sets
8 REPLACE - Data Replace Criteria 0 sets
Disguise Object. . . : DSN8710.EMP
Column. . . . . . .: LASTNAME
Associated Rule ===> A0000001
Description . . ===> DSN8710.EMP:LASTNAME
Commands: VIEW, SAVE, END, CANCEL, MENU
After you complete defining all the disguise criteria for the selected object column/field, press END to
return to the File-AID/RDX Data Disguise - Column List.
G - GLOBAL
Displays the Define Global Fields Screen, shown in Figure 375 on page 658, and enables you to
view, define and change user global fields (user variables). It lists all existing user variables in the
entered order and displays blank lines for definition of additional user variables. Global fields
must start with & (ampersand) and they are retained in the order entered.
1 - DATA AGING
Displays the File-AID/Data Solutions Aging Criteria screen (see Figure 376 on page 658). Aging
criteria enables you to age dates in data records displayed with a record layout. To specify an
aging criterion, choose a date field and enter a relational operator of +, -, R, or FM a numeric
value in the century, year, month, and/or days field, and the appropriate date pattern. Leave the
relational operator blank for fields not involved in the aging criteria. Use = in the RO field to
replicate the last entered criteria.
650 File-AID/RDX Reference
4 - TRANSLATOR
Displays the File-AID/Data Solutions Data Translator Criteria screen (see Figure 382 on page 661).
The Data Translator feature translates data values in one or more fields based on a translate table
containing lookup and/or result values. The Translator function accesses the translate table based
on values from the fields specified on the formatted panel in five different ways:
– Binary search (S): Sorts the values internally and performs a binary search thereby speeding
up processing.
– Key search (K): Your search field matches the key field when your table file is a KSDS (Keyed
Sequential Dataset). If the entire table fits into memory, the key search functions identical to
the Binary Search. If there is insufficient memory the table is directly accessed by key.
– Direct row pointer search (D): The search field is hashed to a random number between 1
and the number of rows in the table. The resulting number determines the row to be used. No
value in the table matches the original search field.
– Hash to a key search (H): Similar in function to the Direct Row Pointer Key search except
that the random number is used to perform the Key search. The search field is hashed to a
random number between 1 and the number of rows in the table. For the Hash function to
work, the key of the VSAM file must be numeric with leading zeros, start with 1, and
increment by 1 for each row.
– Unique key search (U): Each different input value will return a different entry number
which will then be used to access the replacement values from the translate table. This will
produce unique replacement values as long as the translate table contains unique
replacement values.
When the corresponding row is determined, the Translator function returns the result values and
uses them to replace the specified output field value.
5.1 - GENERATOR
Displays the File-AID/Data Solutions Data Generator Criteria screen (see Figure 383 on page 661).
The Data Generator feature is used to fill fields with new data values. You may use the Data
Generator to fill new fields with test data, or to replace live data that may be sensitive production
information that should not be used in test. Data can be generated for numeric and character
fields by using one of four methods: sequential, random, pattern masking, or by picking valid
values from another file. An object of an ODO/REFER is non-selectable.
The Data Generation function can also be used to generate new records into a new file without
specifying an input file from which to model the records. A Layout containing an ODO/REFER
CANNOT be used.
5.2 - PATTERN
Displays the File-AID/Data Solutions Pattern Data Generator Criteria screen (see Figure on page
661). The Data Pattern Generator feature is used to fill fields with new data values. You may use
the Data Pattern generator to fill new fields with test data, or to replace live data that may be
sensitive production information that should not be used in test. Data can be generated for
unsigned numeric and character fields by using one of two methods: sequential & random.
The Data Generation function can also be used to generate new records into a new file without
specifying an input file from which to model the records. A Layout containing an ODO/REFER
CANNOT be used.
Data Privacy 651
6 - FIELD EXITS
Displays the File-AID/Data Solutions Field Exit Criteria screen (see Figure 385 on page 662).
Formatted field exit criteria enables you to define and process both Data Solutions-defined and
user-defined business function data conversions. Field exits distributed with Data Solutions
perform the following business functions: Addition, Data Analysis, Date Analysis, Division,
European currency conversion, Encryption/decryption, Field Replacement, Multiplication, Test
date generator, Resequencing, Subtraction, and Use global area.
To specify a formatted field exit criterion, choose a data field and enter the EX relational
operator, valid parameters for the exit in the PARAMETERS field, and the name of the exit in the
EXIT NAME field. If you enter EP in the RO field, Data Solutions displays the Field Exit
Parameters screen. If you leave the EXIT NAME field blank, Data Solutions displays the List of
Available Field Exits screen. Leave the relational operator blank for fields not involved in the
aging criteria.
Use the INPUT, INSERT, or REPEAT primary command to specify multiple sets of change criteria.
When multiple sets are specified, Data Solutions applies them separately in the order specified.
In addition, you can make the change process contingent on the field values in the record
through the use of selection criteria. Simply enter the SELECT primary command on the
Formatted Field Exit Criteria screen to display the Formatted Selection Criteria screen.
7 - DATA ENCRYPTION
Displays the File-AID/Data Solutions Data Encryption Criteria screen (see Figure 386 on page
663). The Data Encryption function simplifies the process of encrypting and decrypting a data
file. It transforms a field value to mask the original value and is useful when creating test files
from production files.
File-AID/Data Solutions uses encryption/decryption exits to define and process both Data
Solutions-defined and user-defined encryption routines. Simply choose a routine for a particular
field from Data Solution's list of Available Encryption/Decryption Exits. With the use of selection
criteria, you can assign an encryption routine to a field based on the data in that field or on the
data in another field in the record.
The original data characteristics are maintained (i.e. valid packed fields or punctuation in
character fields). In addition, unique values are maintained so that the key field remains unique.
This permits you to decrypt the encrypted data to its original value.
8 - REPLACE
Displays the File-AID/Data Solutions Data Replace Criteria screen. It allows you to specify a
replace value (R) or source (FF for field-to-field) for the specified field.
The status column to the right of each option identifies the number of criteria sets the have been
defined for the current criteria rule with each criteria option.
652 File-AID/RDX Reference
Status
Displays the status of the various types of criteria associated with the criteria dataset listed on the
top line of this screen and the disguise rule for the current disguise object:
n fields
Specifies the number of global variable fields that have been defined. These user defined
variables are available for use by any of the sets within the criteria.
n sets
Specifies the number of sets that are specified for change criteria. A set of change criteria is
defined as a single expression that can lead to the selection of a record. A set may test for one
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:
CANCEL (CAN)
Returns to the File-AID/RDX Data Disguise - Column List without saving any criteria
information.
END
Saves the current change criteria in the criteria dataset you specified in the File-AID/Data
Solutions Parameters and returns to the File-AID/RDX Data Disguise - Column List.
MENU
Displays all options of the File-AID/Data Solutions Criteria Menu so you can access the remaining
File-AID/Data Solutions Criteria Menu options. The MENU command is a toggle switch so enter
MENU again to return to the previous display format.
These additional options are available from the expanded criteria menu:
2.2 - TRIANGULATION
Displays the File-AID/Data Solutions Triangulation Criteria screen (see Figure 378 on page
659). Euro Triangulation enables you to convert from one local currency into another using
Euro values to triangulate and control the conversion in accordance with ECU guidelines. An
audit report can be generated to document the changes, including the intermediate Euro
values.
3.2 - VALIDATION
Displays the File-AID/Data Solutions Validation Criteria screen (see Figure 380 on page 660).
Validation Analysis enables you to validate data based on data type or the actual values
within the record. You may specify the "valid" values for a field online or in an external file.
Validation processes include alpha, alphanumeric, and numeric data checking.
When invalid data is found in any of the fields of a record, a user-specified return code is set
indicating the validation process failed.
You can determine how the values are analyzed. You may supply a list of values for Data
Solutions to search for and report only those values found within the field.
RETURN
Saves the current change criteria in the criteria dataset you specified in the File-AID/Data
Solutions Parameters and returns to the File-AID/RDX Primary Option Menu.
654 File-AID/RDX Reference
SAVE
Saves the current criteria in the criteria dataset you specified in the File-AID/Data Solutions
Parameters.
See Disguise Criteria Dataset Specification on page 663 for more information.
It is highly recommended you use separate criteria files for disguise criteria created
through the File-AID/RDX interface and name them in such a way as to easily recognize
them as such. As the layout information for the File-AID/RDX extract object may be
different from the information you would provide with the stand-alone File-AID/Data
Solutions, the disguise process may not produce valid and repeatable results.
VIEW
Displays the View Criteria screen, which summarizes the options and criteria sets into a scrollable
display.
Here you select the desired disguise option(s) and identify the associated rule with a meaningful
description as you can change the generated name to a more descriptive associated rule name.
File-AID/Data Solutions -17.02.00- Criteria Menu --- ---- CREATE NEW CRITERIA
OPTION ===>
G GLOBAL - GLOBAL Fields 0 fields
1 DATE AGING - Aging criteria 0 sets
4 TRANSLATOR - Data Translator criteria 0 sets
5.1 GENERATOR - Data Generator criteria 0 sets
5.2 PATTERN - Pattern Data Generation 0 sets
6 FIELD EXITS - Utilities criteria 0 sets
7 DATA ENCRYPTION - Data Encryption Criteria 0 sets
8 REPLACE - Data Replace Criteria 0 sets
Disguise Object. . . : DSN8710.EMP
Column. . . . . . .: LASTNAME
Associated Rule ===> A0000001
Description . . ===> DSN8710.EMP:LASTNAME
Commands: VIEW, SAVE, END, CANCEL, MENU
Data Privacy 655
After you completed all desired disguise criteria for this object, press END to exit File-AID/Data
Solutions and return to the Data Disguise - Column/Field List.
Disguise Object
Identifies the name of the object you selected in the Data Disguise - Object List.
Column Name
Identifies the name of the columns/fields of the object you selected in the Data Disguise -
Column/Field List.
Associated Rule
Identifies the disguise rule member name in the Disguise Criteria file. When creating a new rule
File-AID/RDX assigns a unique name (Annnnnnn) in the current disguise criteria file. You can
change the generated name to a more descriptive associated rule name. This field only displays
when criteria is stored in the Disguise Criteria file.
Description
Displays the disguise rule description as entered during the disguise creation. By default, it
includes the word ASSOCIATED for associated mode, followed by the column/field and object
name. You can change the generated description to better reflect your disguise criteria.
Here you select the desired disguise option(s) and identify the related rule with a meaningful
description.
When you select a disguise option, File-AID/Data Solutions enters the respective criteria screen.
In the criteria screens, all columns are displayed and can be used as search
or select values. However, only the selected, related column/field can be
replaced.
656 File-AID/RDX Reference
File-AID/Data Solutions -17.02.00- Criteria Menu --- --- CREATE NEW CRITERIA
OPTION ===> 4
G GLOBAL - GLOBAL Fields 0 fields
1 DATE AGING - Aging criteria 0 sets
4 TRANSLATOR - Data Translator criteria 0 sets
5.1 GENERATOR - Data Generator criteria 0 sets
5.2 PATTERN - Pattern Data Generation 0 sets
6 FIELD EXITS - Utilities criteria 0 sets
7 DATA ENCRYPTION - Data Encryption Criteria 0 sets
8 REPLACE - Data Replace Criteria 0 sets
Disguise Object. .: DSN8710.EMP
Column. . . . . : EMPNO
Related Rule : R0000001
Description ===> RELATED EMPNO:DSN8710.EMP
Commands: VIEW, SAVE, END, CANCEL, MENU
After you completed all desired disguise criteria for this object, press END to exit File-AID/Data
Solutions and return to Data Disguise - Object List.
Disguise Object
Identifies the name of the object you selected in the Data Disguise - Object List.
Column
Identifies the name of the column/field of the object you selected in the Data Disguise -
Column/Field List. For a related rule, you can only replace the value of the related column/field,
but you may search/select on other fields.
Related Rule
Identifies the disguise rule member name that applies to the related column/field. File-AID/RDX
generates the name and you cannot change it. This field only displays when criteria is stored in
the Disguise Criteria file.
Description
Displays the disguise rule description as entered during the disguise creation. By default, it
includes the word RELATED for related mode, followed by the related column/field and object
name. You can change the generated description to better reflect your disguise criteria.
Here you select the desired disguise option(s) and identify the unrelated rule with a meaningful
description. The column name is not displayed as you can specify disguise criteria for more than one
column/field.
File-AID/Data Solutions -17.02.00- Criteria Menu --- --- CREATE NEW CRITERIA
OPTION ===> 4
G GLOBAL - GLOBAL Fields 0 fields
1 DATE AGING - Aging criteria 0 sets
4 TRANSLATOR - Data Translator criteria 0 sets
5.1 GENERATOR - Data Generator criteria 0 sets
5.2 PATTERN - Pattern Data Generation 0 sets
6 FIELD EXITS - Utilities criteria 0 sets
7 DATA ENCRYPTION - Data Encryption Criteria 0 sets
8 REPLACE - Data Replace Criteria 0 sets
Disguise Object. .: DSN8710.EMP
Unrelated Rule : U0000001
Description ===> Unrelated DSN8710.EMP
Commands: VIEW, SAVE, END, CANCEL, MENU
After you completed all desired disguise criteria for this object, press END to exit File-AID/Data
Solutions and return to Data Disguise - Object List.
Disguise Object
Identifies the name of the object you selected in the Data Disguise - Object List.
Unrelated Rule
Identifies the disguise rule member name that applies to the selected object. File-AID/RDX
generates the name and you cannot change it. This field only displays when criteria is stored in
the Disguise Criteria file.
Description
Displays the disguise rule description as entered during the disguise creation. By default, it
includes the word UNRELATED for unrelated mode, followed by the object name.
Refer to Chapter 14, “Criteria (S)” in the File-AID/Data Solutions User Reference Manual for detail information
on how to create user global fields.
658 File-AID/RDX Reference
Refer to Chapter 4, “Date Aging (1)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create date aging criteria.
Refer to Chapter 5, “Euro Tools (2)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create Euro conversion criteria.
Data Privacy 659
After you defined the Euro conversion criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 5, “Euro Tools (2)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create Euro triangulation criteria.
After you defined the Euro triangulation criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 6, “Data Analyzer (3)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create date analysis criteria.
After you defined the date analysis criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 6, “Data Analyzer (3)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create validation criteria.
After you defined the validation criteria, press END to return to the File-AID/Data Solutions Criteria
Menu.
Refer to Chapter 6, “Data Analyzer (3)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create data analysis criteria.
After you defined the data analysis criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 7, “Translator (4)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create data translator criteria.
After you defined the data translator criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 8, “Generator (5)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create data generator criteria.
After you defined the data generator criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 8, “Generator (5)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create data generator criteria.
662 File-AID/RDX Reference
After you defined the pattern data generator criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 9, “Field Exits (6)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create field exit criteria.
After you defined the field exit criteria, press END to return to the File-AID/Data Solutions Criteria
Menu.
Refer to Chapter 10, “Data Encryption (7)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create data encryption criteria.
Data Privacy 663
After you defined the data encryption criteria, press END to return to the File-AID/Data Solutions
Criteria Menu.
Refer to Chapter 11, “Data Replace (8)” in the File-AID/Data Solutions User Reference Manual for detail
information on how to create data replace criteria.
After you defined the data replace criteria, press END to return to the File-AID/Data Solutions Criteria
Menu.
Figure 388. File-AID/Data Solutions Change Criteria Dataset Specification - New Criteria
Unrelated Rule
Identifies the rule number (member name) of the Criteria file that stores the current disguise
criteria. File-AID/RDX generates the name and you cannot change it, unless it’s an associated
rule.
or
Related Rule
Identifies the rule number (member name) of the Criteria file that stores the current disguise
criteria. File-AID/RDX generates the name and you cannot change it, unless it’s an associated
rule.
or
Associated Rule
Identifies the rule number (member name) of the Criteria file that stores the current disguise
criteria. File-AID/RDX generates the name and you can change it, as it’s an associated rule.
• Select Option 2, Disguise, from the Data Privacy Menu on page 608.
Data Privacy 665
Use this screen to specify information required for the disguise operation, then enter GO to submit
the batch job for disguise.
Hints
• Before you submit the disguise job, make sure that the Disguise Control File or the Dynamic
Privacy Rules Project includes the desired disguise criteria for the objects included in the extract
file.
• It is also recommended that the relationship information in both the extract and disguise control
file matches.
• Also, when using disguise rules with complex criteria, the object that you used to define the
criteria originally must be included (not excluded) in the extract file or the disguise may not be
successful.
• For related disguise rules, always define the criteria on the object that contains all of the different
unique values (including orphans) to be extracted.
Enter the requested file information before viewing the JCL or submitting the disguise job with the
GO command directly:
Extract File
Specify the name of the Extract File that is to be disguised. The extract file can also be a
compressed extract file (see Compress on page 339).
If the Extract File is on tape, specify the name of the Extract Summary File instead of the name of
the Extract File on tape. The Extract Summary File was created when the generated extract was
saved to tape (see Specify Extract “TO” File Information on page 338). If your extract file on tape
was created with an earlier release of File-AID/RDX than 4.8, create a summary file as described in
Extract File Specification on page 419.
Any existing Extract File can be disguised; however, a file cannot be disguised more than once.
When you had requested an extract with disguise and the disguise step of that extract failed, or
you had also set the option to save the pre-disguise records to a file in a masked format, you can
666 File-AID/RDX Reference
enter the name of the pre-disguise Extract File here as the extract file to be disguised. You find the
name of the pre-disguise file in the output of the extract job.
The name assigned to the pre-disguise extract file will use the standard File-AID/RDX routine to
generate a "temporary" name. The name will be the user prefix, the mid-level qualifier from the
Profile, the word "EXTRACT" and finally the current date and time fields (i.e. D050128.T055709).
Member
If the file you specified in Extract File is partitioned, you can enter a member name. If you leave
this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up containing a list
of members that match the specified pattern. The only valid pattern character is an asterisk (*).
When the specified disguised extract output is to tape or cartridge, File-AID/RDX automatically
creates a summary file on DASD. The name of the summary file is the one specified in your
profile or, if none is specified there, it is the name of the extract file with SUMMARY replacing
the last node of the extract file name or a truncated form of SUMMARY as to not exceed 44
characters. If the summary file exists, File-AID/RDX will update (overwrite) its content. Refer to
Extract Summary File on page 45 for more information.
Member
If the file you specified in Disguised Extract File is partitioned, you can enter a member name. If
you leave this field blank or specify a pattern, File-AID/RDX displays a Member List pop-up
containing a list of members that match the specified pattern. The only valid pattern character is
an asterisk (*). You can create new members by entering the name of the new member.
VOLSER
If the file specified in Disguised Extract 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 disguise "to" file. You can extract to existing files with a disposition
of OLD. Existing files must conform to the format outlined for the extract file in File-AID/RDX
Extract File on page 377. Specify a disposition of NEW to create a new file.
If you specify NEW in the Disposition field, you must specify the following allocation
parameters in the Create New File screen (Figure 175 on page 334).
Yes. File-AID/RDX creates a separate Audit Trail dataset for each disguised object. The naming
convention for each Audit Trail dataset (Audit Trail File on page 47) is
prefix.RDXA.DnnnBnnn.Dyymmdd.Thhmmss.Msss
Primary Commands
The following primary commands are valid:
GO
Submit the batch job for disguise.
JCL
View the JCL generated for the disguise job prior to submitting the job with the SUBMIT
command (see also View JCL on page 667).
View JCL
The ISPF/PDF Edit screen shown in Figure 390 is displayed when you enter the JCL command in the
DCF: Disguise Existing Extract panel.
668 File-AID/RDX Reference
Use this screen to view or edit the JCL generated by File-AID/RDX to disguise an existing extract file
with predefined disguise criteria as specified in the Disguise Control file. Use the SUBMIT command
to submit the extract request for execution. If you want to save this JCL, use the ISPF/PDF CREATE or
REPLACE command before you exit the panel.
If you want the execution log output sent to a file, point XVJPRINT DD at a file (instead of
SYSOUT=(*). This file must be allocated with RECFM=FBA, LRECL=133.
Since the use of FADSPRNT splits the File-AID/Data Solutions report output away from the File-
AID/RDX report output, FADSPRNT and SYSPRINT must be looked at together to get a complete
picture of the job.
• Two related columns have unlike data types; error may be due to non-normalized data
The disguise audit file for the object contains the before image for the offending records. Print it (see
Print Disguise Audit Trail on page 679) so you can determine whether the discarded records are
needed in your extract file.
The TEST parameter for the disguise (EXDISG) EXEC statement in the EXTPARMS dataset (see
EXTPARMS File on page 367) can be used to change the default behavior. When you set the parameter
Data Privacy 669
to Y, File-AID/RDX will issue a fatal error (RC=8) for this object instead of just discarding the
incomplete disguise records. When set to N, File-AID/RDX will issue warning messages for incomplete
disguise (RC=6) for an object, but continue disguise of object.
Periodically, you may want to manually delete the EXTPARMS parameter files that are no longer
needed for saved jobs to be resubmitted.
• Select Option 3, Parms, from the Data Privacy Menu on page 608.
Use this screen to specify information required by File-AID/Data Solutions to create and apply
disguise criteria.
Enter the requested parameter information before exiting with the END command.
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.
• Select Option 4, Control, from the Data Privacy Menu on page 608.
Use this screen to allocate a new disguise control file in addition to the one created during the
installation of File-AID/RDX.
Use this screen to allocate the new Disguise Control file that File-AID/RDX uses as a repository to
keep track of the defined disguise criteria for objects included in an extract file.
Data Privacy 671
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.
Cluster
Specify the name of the VSAM cluster for the Disguise Control 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.
672 File-AID/RDX Reference
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
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.
Data Privacy 673
• Select Option 5, Criteria, from the Data Privacy Menu on page 608.
Use this screen to allocate a new disguise criteria file to be used by File-AID/Data Solutions to store
disguise criteria for individual objects.
Use this screen to allocate the new Disguise Criteria file that File-AID/Data Solutions uses as a
repository of disguise criteria for objects included in an extract file.
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.
File Name
Specify the name of the Disguise Criteria file to be allocated. If you don’t use quotes around the
name, File-AID/RDX will add your TSO ID as the prefix.
Management Class
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.
Storage Class
Specify the SMS storage class to use for the allocation of the file. The storage class describes the
hardware requirements of the file.
674 File-AID/RDX Reference
Generic Unit
Specify the device type on which the new file will reside. The names of these devices are
installation dependent.
Volume serial
Specify the volume serial of the direct access device that contains the file.
Data Class
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.
Space units
Specify one of the following storage unit types depending on how the file size is expressed:
TRK - Tracks
CYL - Cylinders
BLK - Blocks
KB - Kilobytes
MB - Megabytes
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.
Directory quantity
For a PDS, specify the number of directory blocks. For a Sequential file, specify zero (0).
Record format
Record format must be VB (Variable length blocked)
Record length
Record length must be 300.
Block size
Block size must be 27998.
Data Privacy 675
• Select Option 7, Print, from the Data Privacy Menu on page 608.
Use this screen to request File-AID/RDX to print the contents of the disguise control file. This is a
simple report of what columns will be disguised for each object and the disguise criteria used for each
column.
It is possible for one disguise control file to point to criteria in more than one disguise criteria file.
The report is formatted in such a way that each page of the report can only contain criteria from a
single disguise criteria file. If multiple disguise criteria files are used, they will be reported on
different pages of the report.
This report does not include the detail for the disguise criteria. Use the Print Change Criteria
Function available within File-AID/Data Solutions to print the detailed disguise criteria, if required.
Print format
Specify the order you want the report to be printed:
Object. The report lists the contents of the disguise control file by object. The report will include
a list of all the disguised columns and the criteria defined for each column. Use this format to see
which columns of an object are being disguised.
Rule. The report lists the contents of the disguise control file by defined disguise rules. The report
will include a list of all rules and the columns/objects where each rule has been applied. Use this
format to see where a rule has been applied.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
JCL
View the JCL for the Print Disguise Control File utility. File-AID/RDX shows the Generated JCL
panel where you review and modify the print JCL. Enter the SUBMIT command to submit the
print job.
GO (G)
Submits this print request without displaying the JCL. Before issuing the GO command, make
sure you have specified the desired print option as well as the disguise control file. File-AID/RDX
will also issue a message upon completion of the job.
• Select Option A, Print Audit, from the Data Privacy Menu on page 608.
Use this screen to request File-AID/RDX to print the contents of the audit trail that File-AID/Data
Solutions created for each object being disguised. The audit trail print provides the before and after
images of the disguised record. An audit trail for disguised objects will only be created when your
File-AID/Data Solutions installation enforces auditing or you disguise extract request called for an
audit trail.
prefix.RDXA.DnnnBnnn.Dyymmdd.Thhmmss.Msss
The prefix is specified when the Extract File is disguised. Dnnn is the identifing 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.
Print format
Specify whether the disguise audit trail is to be printed in character or hex mode. Formatted
printing is not supported.
Hex. The disguise audit trail prints in hex mode. The Hex format will print three lines for
each data line; a character line, a zone line and a digit line.
Character. The disguise audit trail prints in character mode. The character format will print a
single line for each data line.
680 File-AID/RDX Reference
Both reports format 100 positions of the record per print line. The after images for each 100
positions only prints when the data in those positions has changed. A change flag line identifies
the changed data positions.
Records to print
You can limit the number of audit records printed. This limit count is a record count; the before
and after images are considered two records.
nnn
ALL
All records.
PK
PD
Sysout class
Enter the sysout class for the Audit Trail Report.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
JCL
View the JCL for the Audit Trail Print utility. File-AID/RDX shows the Generated JCL panel where
you review and modify the print JCL. Enter the SUBMIT command to submit the print job.
GO (G)
Submits this Audit Trail Print request without displaying the JCL. Before issuing the GO
command, make sure you have specified the desired print options as well as the audit trail file.
File-AID/RDX will also issue a message upon completion of the job.
Samples of the character and hexadecimal formats of the Audit Trail Report are shown in Figure 398
on page 682 and Figure 399 on page 683.
Each page of the Audit Trail Report begins with page headings that consist of the edited dataset name,
the date and time the report was produced, the File-AID/Data Solutions release number, and the page
number.
Following the page headings is the date and time when the data file was opened for disguise, and the
TSO user ID that was used to perform the disguise. If the data file organization was VSAM-KSDS, File-
AID/RDX includes the starting position and length of the defined key.
Preceding the image of each data file disguise on the report are audit trail record headings. The first
line contains a sequential number assigned to each data file disguise, the disguise action (explained
more fully below), and the date and time the disguise occurred.
For VSAM-RRDS data files, File-AID/RDX includes the relative record number of the disguised record.
Up to l00 positions of the record are printed in each set of three lines. The POSITION column
immediately to the left of the record contents indicates the starting position in the record
represented by each set of three lines. For the updated records, the before image is printed, followed
immediately by the after image, if a change has occurred on that line.
When the before and after images of a changed record are displayed, the Audit Trail Report also
indicates the record positions that were changed with an asterisk (*) under each changed position.
For each three-line set of print lines that contains changed record positions, CHANGE ===> is printed
to the left and between the print lines, on the same line as the asterisks.
682 File-AID/RDX Reference
02 SEP 2004 15:47:00 File-AID/RDX 4.2 DISGUISE AUDIT TRAIL REPORT PAGE: 1
EXTRACT FILE : TSOID01.R42.EXTRACT OPENED ON: 30 AUG 2004 AT 14:47:34 USER ID: TSOID01
SOURCE OBJECT: TSOID01.R42.TESTDA.EMPMAST
RECORD LAYOUT: EMPLOYEE-MASTER-FILE
====================================================================================================================================
UPDATE NUMBER: 1 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 00090MARTIN EDWARD M AIRPLANE MANUFACTURER 427890125 101954920101M30000}
ZONE FFFFFDCDECD444444444CCECDC4444D44CCDDDCDC4DCDECCCEEDCD444444444FFFFFFFFF4FFFFFFFFFFFFDFFFFFD04005005
DIGIT 0009041939500000000054619400004001997315504154613349590000000004278901250101954920101430000070D20C00
CHANGE---> * *** *** ****
AFTER POSITION 1 00090MURPHY JONATHON M AIRPLANE MANUFACTURER 427890125 101954920101M30000}
ZONE FFFFFDEDDCE444444444DDDCECDD44D44CCDDDCDC4DCDECCCEEDCD444444444FFFFFFFFF4FFFFFFFFFFFFDFFFFFD04005005
DIGIT 0009044978800000000016513865004001997315504154613349590000000004278901250101954920101430000070D20C00
BEFORE POSITION 101 859 O'FARREL ST. SAN FRANCISCO CA 12121BILL JONES 40855558974155556981
ZONE 0FFF4D7CCDDCD4EE44444444444ECD4CDCDCCECD44CC44FFFFFCCDD4DDDCE44444444444444444FFFFFFFFFFFFFFFFFFFF
DIGIT C85906D619953023B000000000021506915392360031001212129330165520000000000000000040855558974155556981
====================================================================================================================================
UPDATE NUMBER: 2 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 00100MULSTROM ROBERTA A HOLLYWOOD SEAMSTRESS 346573656 090859920111S80000{&
ZONE FFFFFDEDEEDDD4444444DDCCDEC444C44CDDDEEDDC4ECCDEEDCEE4444444444FFFFFFFFF4FFFFFFFFFFFFEFFFFFC05005007
DIGIT 0010044323964000000096259310001008633866640251423952200000000003465736560090859920111280000050C00C10
CHANGE---> ** *****
AFTER POSITION 1 00100ELLIOT ROBERTA A HOLLYWOOD SEAMSTRESS 346573656 090859920111S80000{&
ZONE FFFFFCDDCDE444444444DDCCDEC444C44CDDDEEDDC4ECCDEEDCEE4444444444FFFFFFFFF4FFFFFFFFFFFFEFFFFFC05005007
DIGIT 0010053396300000000096259310001008633866640251423952200000000003465736560090859920111280000050C00C10
BEFORE POSITION 101 4701 N. BASCOM AVE. #430 ANAHEIM CA 95126GEORGE 21555520102155559021
ZONE 0FFFF4D44CCECDD4CEC447FFF44CDCCCCD44444444CC44FFFFFCCDDCC444444444444444444444FFFFFFFFFFFFFFFFFFFF
DIGIT C470105B02123640155B0B4300015185940000000031009512675697500000000000000000000021555520102155559021
====================================================================================================================================
UPDATE NUMBER: 3 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 00200JACKSON JOSEPH C ORATOR 275587177 020462920121S00000{&
ZONE FFFFFDCCDEDD44444444DDECDC4444C44DDCEDD444444444444444444444444FFFFFFFFF4FFFFFFFFFFFFEFFFFFC05000000
DIGIT 0020011322650000000016257800003006913690000000000000000000000002755871770020462920121200000050C20C00
CHANGE---> ****
AFTER POSITION 1 00200NIELSON JOSEPH C ORATOR 275587177 020462920121S00000{&
ZONE FFFFFDCCDEDD44444444DDECDC4444C44DDCEDD444444444444444444444444FFFFFFFFF4FFFFFFFFFFFFEFFFFFC05000000
DIGIT 0020059532650000000016257800003006913690000000000000000000000002755871770020462920121200000050C20C00
BEFORE POSITION 101 1401 S. BASCOM AVE. CANOGA PARK CA 94106ANGELA 21255520102125559021
ZONE 0FFFF4E44CCECDD4CEC44444444CCDDCC4DCDD4444CC44FFFFFCDCCDC444444444444444444444FFFFFFFFFFFFFFFFFFFF
DIGIT C140102B02123640155B000000031567107192000031009410615753100000000000000000000021255520102125559021
====================================================================================================================================
02 SEP 2004 15:47:00 File-AID/RDX 4.2 DISGUISE AUDIT TRAIL REPORT PAGE: 1
EXTRACT FILE : TSOID01.R42.EXTRACT OPENED ON: 30 AUG 2004 AT 14:47:34 USER ID: TSOID01
SOURCE OBJECT: TSOID01.R42.TESTDA.EMPMAST
RECORD LAYOUT: EMPLOYEE-MASTER-FILE
====================================================================================================================================
UPDATE NUMBER: 1 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 00090MARTIN EDWARD M AIRPLANE MANUFACTURER 427890125 101954920101M30000}
CHANGE---> * *** *** ****
AFTER POSITION 1 00090MURPHY JONATHON M AIRPLANE MANUFACTURER 427890125 101954920101M30000}
BEFORE POSITION 101 859 O'FARREL ST. SAN FRANCISCO CA 12121BILL JONES 40855558974155556981
====================================================================================================================================
UPDATE NUMBER: 2 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 00100MULSTROM ROBERTA A HOLLYWOOD SEAMSTRESS 346573656 090859920111S80000{
CHANGE---> ** *****
AFTER POSITION 1 00100ELLIOT ROBERTA A HOLLYWOOD SEAMSTRESS 346573656 090859920111S80000{&
BEFORE POSITION 101 4701 N. BASCOM AVE. #430 ANAHEIM CA 95126GEORGE 21555520102155559021
====================================================================================================================================
UPDATE NUMBER: 3 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 00200JACKSON JOSEPH C ORATOR 275587177 020462920121S00000{&
CHANGE---> ****
AFTER POSITION 1 00200NIELSON JOSEPH C ORATOR 275587177 020462920121S00000{&
BEFORE POSITION 101 1401 S. BASCOM AVE. CANOGA PARK CA 94106ANGELA 21255520102125559021
====================================================================================================================================
UPDATE NUMBER: 4 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 10000ANDREWS GEORGE ACTOR 576312032 042248920131S00000{ &
CHANGE---> *******
AFTER POSITION 1 10000PEI GEORGE ACTOR 576312032 042248920131S00000{ & &
BEFORE POSITION 101 375 MERRIVALE W. SQ. SUNNYVALE CA 94134DICK 40455520104045559021
====================================================================================================================================
UPDATE NUMBER: 5 ACTION: CHANGE RECORDED: 30 AUG 2004 AT 14:47:34
DATA DISPLAYED ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
BEFORE POSITION 1 15000MURPHY RONALD L PAINTER 987654321 120255920201S50000{ ø
CHANGE---> *** ***
AFTER POSITION 1 15000SIMPSON RONALD L PAINTER 987654321 120255920201S50000{ ø
BEFORE POSITION 101 7716 HAWTHORNE AVE. SANTA CLARA CA 95025JEFF 31255520103125559021
====================================================================================================================================
02 SEP 2004 15:47:00 File-AID/RDX 4.2 DISGUISE AUDIT TRAIL REPORT PAGE: 18
EXTRACT FILE : TSOID01.R42.EXTRACT OPENED ON: 30 AUG 2004 AT 14:47:34 USER ID: TSOID01
SOURCE OBJECT: TSOID01.R42.TESTDA.EMPMAST
Summary Information
Summary information is printed on the last page of the Audit Trail Report. See Figure 400 on page
684. It contains the following information:
• Name of the updated data file that created the audit trail.
• Names of the record layout dataset and member specified for the update and the record layout
dataset type (SEQ for sequential, PDS for partitioned, PAN for CA Panvalet, LIB for CA Librarian).
• Names of the record layout XREF dataset and member specified for the update (if an X was
specified in the Record layout usage field).
• Names of the selection criteria dataset and member, if existing selection criteria was used for the
update. If temporary selection criteria was used during for the update, the literal ** TEMPORARY
** is printed.
22 JUL 2015 15:47:00 File-AID/RDX 17.2 DISGUISE AUDIT TRAIL REPORT PAGE: 18
EXTRACT FILE : TSOID01.R42.EXTRACT OPENED ON: 30 AUG 2004 AT 14:47:34 USER ID: TSOID01
SOURCE OBJECT: TSOID01.R42.TESTDA.EMPMAST
SUMMARY INFORMATION
AUDIT TRAIL FILE PRINTED: TSOID01.RDXA.D010.D150722.T164243.M345
TOTAL RECORDS CHANGED: 50
TOTAL RECORDS UNCHANGED: 0
TOTAL RECORDS DISCARDED: 0
RECORD LAYOUT: EMPLOYEE-MASTER-FILE
SOURCE OBJECT: TSOID01.R42.TESTDA.EMPMAST
EXTRACT FILE : TSOID01.R42.EXTRACT CLOSED ON: 22 JUL 2015AT 14:47:41 SYSTEM ID: CW01
************************************************* -> E N D O F R E P O R T <- **************************************************
Refer to the File-AID Data Privacy documentation for information on the corresponding topics for
using File-AID Data Privacy.
Views are treated as independent objects, just like tables. If disguise criteria are defined on a view, it
will be applied only when the extract uses that view. If disguise criteria are defined on a table, they
are applied when the extract uses that table name. If an extract uses a view on the table that has
disguise criteria defined, it will not be applied; the criteria must be defined on the view for it to be
applied. If a single table is extracted using different views, the disguise criteria will have to be defined
on each view. There will not be any validation that the same column is disguised the same way in
each view; it will be your responsibility to define criteria that will disguise the same data in the same
way for each view and the base table.
This reallocation is only available for sequential files (DSORG=PS) and does
not occur for a PDS disguise extract file.
When complex disguise criteria are applied (and unlike column conversions are by definition
complex disguise criteria), then the column of origin is disguised and both values are stored in a
lookup table. When the data value from an unlike column is required to have the same value
replaced, then that value is converted to the format of the origin, it is looked up in the disguise value
table, the replacement value is retrieved, and the replacement value is then converted to the format
of the current (non-origin) column.
If the number of digits in the character field is greater than the number of digits that can fit into the
non-origin, related numeric field (SMALLINT, INTEGER, DEC, or FIXPIC), then you need to use a
partial column relationship to identify the digits in the character field that do fit. See Extended
Column Relationship Definition on page 169 for more information on how to create a partial column
relationship.
Normalized Format
Numeric data will be right justified and zero filled on the left when converted to character. If the
origin has a non-zero scale, i.e. digits to the right of the decimal point, the decimal point will be
explicitly filled in with the appropriate number of positions to its right. A minus sign, if needed, will
be in the left-most character position.
EXDISG is the name of Data Disguise EXEC statement. The parameter information in the PARM field
in the EXEC statement must have the following format:
If your site requires special SMS information for the disguise split files, you can insert an SMSMODEL
DD statement with a file name you want File-AID/RDX to use as a model for the disguise split files
(see Figure 403). If no SMSMODEL DD is present, File-AID/RDX models SMS information on the file
pointed to by the EXTRACT DD in the JCL.
If you want the SMSMODEL DD statement in all of your disguise jobs, you can edit skeleton member
XFRJDISG in the File-AID SXVJSENU library.
//SMSMODEL DD DSN=sms.model.datasetname,
// DISP=SHR
File-AID/RDX will verify that the disguise extract dataset referred to by the DISGEXT DD is at least
the same size as the extract dataset referred to by the EXTRACT DD. If the DISGEXT dataset is smaller,
messages DISG0030, DISG0070, and DISG0080 will print and the DISGEXT dataset will be re-
allocated automatically. If your site does not want the re-allocation to be attempted, add a
X37DEACT DD statement to the EXDISG step as shown in Figure 404 on page 688 to deactivate this
feature.
If you want the X37DEACT DD statement in all of your disguise jobs, you can edit skeleton member
XFRJDISG in the File-AID SXVJSENU library.
688 File-AID/RDX Reference
//X37DEACT DD DUMMY
Return Codes
An execution return code (RC) appears in the output listing. For return codes other than 0, an error
code and message indicating the specific problem also appear in the listing. In general, the return
codes can be summarized as follows:
DISG1065 INFO -
SUCCESSFUL ALLOCATION OF SPLIT FILE DSN:TSOID01.RDX.S002.D050425.T163623
ORG=PS,RECFM=V,RECLEN=286,BLKSIZE=27998,UNIT=SYSDA,ALCUNIT=CY
L,SPACE=1,EXTEND=1
DISG1065 INFO -
SUCCESSFUL ALLOCATION OF SPLIT FILE DSN:TSOID01.RDX.S005.D050425.T163624
ORG=PS,RECFM=V,RECLEN=176,BLKSIZE=27998,UNIT=SYSDA,ALCUNIT=CY
L,SPACE=1,EXTEND=1
The Data Privacy Summary Report first lists the pre-disguised (input) and disguised (output) extract
file names. Then, if the disguise used the File-AID/RDX Disguise Control File (DCF), it lists the
disguise control, and business rules file names that were used during the disguise process. Or, if the
disguise used File-AID Data Privacy, the report identifies the Disguise Privacy Project Name and the
Privacy Rules Repository Name.
The disguise report then lists the following information for each disguised object:
Object
The name of the object preceded by object type identifier (D for Db2, M for MVS).
Rows
Identifies the number of extracted Db2 rows or MVS records for the object.
Column
Name of the column/field that the following disguise rule is assigned to.
Rule
Displays the rule assigned to the column with the rule description.
File
Displays the name of the disguise criteria file, if the disguise criteria is stored in a PDS.
Audit File
Displays the name of the disguise audit trail file for the disguised object, if an audit trail was
requested for the disguise (see Create Audit Trail on page 667). This is the file name you specify
when you request printing an audit trail (see Print Disguise Audit Trail on page 679).
690 File-AID/RDX Reference
If an error occurs during the disguise for an object, the error information will also be displayed in
this place.
This information may not be displayed when the disguise values have been
propagated from columns/fields that have already been disguised in a
previous step. The columns/fields are disguised, unless an error message
indicates otherwise.
At the end of the report a note identifies how many of the extracted objects were not scheduled to be
disguised.
691
File-AID/RDX Utilities
Overview
Option 6, Utilities, allows you to manage some of your File-AID/RDX Disguise Control, Disguise
Criteria, and Audit files and to allocate relationship files.
Options 1 and 2 are utilities for Saved Requests. Enter the option number to select the desired utility:
1 - Update
Displays the Update Saved Extract Requests panel where you can specify to update a previously
saved extract request with the current relationship information from a relationship file.
2- JCL/Overrides
Displays the Execute Saved Request (ESR) Options panel where you can specify to generate the
JCL and optional override file to execute previously saved extract, load, extract and load, and
delete requests.
Options 3 and 4 are utilities for Extract files. Option 3 is a utility for Extract file compression and
Option 4 is a utility to convert masked DDL information from a File-AID/RDX Extract file into
readable form. Enter the option number to select the desired utility:
3 - Compress
Displays the Extract File - Compress Utility panel where you can run utilities to compress or
decompress the extracted data in an extract file.
692 File-AID/RDX Reference
4- Generate DDL
Displays the Generate DDL Utility panel where you can specify the File-AID/RDX extract file from
which to convert the masked DDL information into readable form.
Use this screen to initiate a batch job that updates your saved extract requests with the current
information from the specified Relationship file.
This utility function operates against a library of saved requests. Any changes made to a saved request
will be made to a copy of the saved request; the original saved request will not be changed.
The Update Saved Extract Requests utility allows processing of “cloned” requests (see also
Modify Extract Request on page 227). The utility detects them during batch processing
and prints the informational message ‘Cloned request updated. Internal
disguise information links removed. This request is no longer
classified as a clone. ’. The consequences of updating a cloned request are that
File-AID/RDX will not maintain any internal links to the load or disguise information from
the original request.
On this screen you specify the Extract Request library to be updated and whether to copy only the
changed requests or all requests into the new Extract Request library. You also identify the Db2
subsystem from which to gather catalog information and the Relationship file from which to update
the relationship information in the extract requests. Only the requests that were created using the
specified Relationship File will be updated, all others will be bypassed.
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 Utilities
Menu.
Validate Action
Specify whether to generate a report only (R) or update the requests (U) as well.
File-AID/RDX Utilities 693
Request to Copy
Specify whether to copy only the updated requests (U) or all requests (A) into the new request
library, if the request file is a PDS.
Request File
Specify the name of the existing extract request to be updated. If you don’t use quotes around the
name, File-AID/RDX will add your TSO ID as the prefix. The existing request file will not be
updated. Changed request data will be copied into the new request file.
Member
Specify the member name of the existing extract request to be updated, if the request file is a
PDS. Specifying a pattern selects all matching member names for processing at execution time.
Leaving the member field blank tells File-AID/RDX that the new request file
should be a sequential file and File-AID/RDX will prefill the Create New File
panel accordingly (see also Create New File on page 334).
If the new file does not exist, File-AID/RDX displays the Create New File panel where you specify
the file allocation values for the new request file (see Create New File on page 334).
If the old request file is a PDS, make sure that the new one is a PDS also.
Update requests that use the following SSID and relationship file:
SSID
Specify the subsystem ID of the Db2 subsystem from where you want to gather catalog
information to update the request. Specify ALL if catalog information is to be gathered from all
Db2 subsystems listed in the request.
Relationship File
Specify the name of the Relationship file from which to update the relationship information in
the extract requests.
Only the requests that were created using the specified Relationship File will
be updated, all others will be bypassed.
694 File-AID/RDX Reference
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
JCL
View the JCL for the Update Saved Extract Requests utility (see Figure 409). File-AID/RDX shows
the Generated JCL panel where you review and modify the JCL. Enter the SUBMIT command to
submit the job.
GO (G)
Submits this Update Saved Extract Requests job request without displaying the JCL. Before issuing
the GO command, make sure you have specified the existing and new request files, the
relationship file and Db2 subsystem. File-AID/RDX will also issue a message upon completion of
the job.
Update process
In effect, a new extract request will be created using the Driving Object specified in the original
request. Any user modifications made in the original request will be applied to the new request; this
will include the following:
• Extract Options
• Extract Scope - object view line commands
• (Exclude, All, Passthru)
• Extract Scope object sampling criteria
• Extract Scope - relationship view line commands
• (Exclude)
• Extract Scope relationship sampling criteria
• Extract Scope relationship navigation criteria
• Selection Criteria
The updated request is identical to the old request except for the changes made to the set of related
objects; the following will not change:
• Unrelated objects
• Input (External) Key File
• IMS and Output Key File
• Extract File
Errors
There may be situations in which the updated saved request is no longer valid, for example, if the
driving object no longer exists. Whenever error checking can detect that the new request is invalid, it
is marked “not executable” and cannot be executed. An example for marking a request “not
executable” can occur when a relationship has been added to an IMS object or Output Key, which
requires defining the IMS key file in order for the request to actually be executable.
Any request marked “not executable” can be corrected with the online interface (Option 2 Extract);
correcting the request removes the not executable indicator.
File-AID/RDX currently does integrity checking whenever changes are made to the navigation
settings. The integrity checking is done to verify that the extract will be loadable. In the online
interface, the user has the option to accept or reject the objects identified in the integrity warning.
Since this update will be done in batch, this option will not be available; accept any changes
identified by the integrity warning.
File-AID/RDX Utilities 695
“Modeled” Relationships
File-AID/RDX allows extract requests to be created for Db2 objects that are not in the Relationship
file by choosing to model the relationships defined for a different set of Db2 objects (see Using
Relationship Definitions Across Db2 Subsystems on page 199). Any request that was created prior to
File-AID/RDX Release 4.5 using modeling will be converted into a single table extract, unless
relationships have been added to the relationship file for the driving object.
Modeled requests created with File-AID/RDX Release 4.5 and higher include the record type 57
Model: (see record type 57 on page 371). When a request with record type 57 is encountered File-
AID/RDX
• First checks if relationships have been added to the driving object to make it directly related to
other objects.
If this is the case, these relationships are now the controlling factor and used to update the
request.
Batch Job
Figure 409 on page 695 shows a sample job. The JCL parameters are based on the values in the
Prepare, Product Option, and Subsystem tables as specified during the execution of Install Manager.
The parameter information in the PARM field in the EXEC statement must have the following format:
Default
Parameter Length Description
Value
Product FR 2 File-AID/RDX
Option L 1 File-AID/RDX option number.
Operating Mode B
B 1
Batch
696 File-AID/RDX Reference
DD Statement Description
STEPLIB File-AID/RDX load libraries (CXVJLOAD and SXVJLOAD).
PARMS The following parameters are expected:
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.
Report
A report (Figure 410 on page 697) will be produced during the Update Saved Request processing
which will include a line for each member processed and details of the actions taken for each request.
Members which are not processed because they did not meet the specified criteria or were not extract
requests are identified with a message stating the reason.
File-AID/RDX Utilities 697
JCL/Overrides Utility
The Execute Saved Request (ESR) Options screen shown in Figure 411 is displayed when you
Use this screen to initiate a process that generates the JCL and optional override files to execute
previously saved requests. Eligible saved requests can either be extract, load, extract and load, and
delete requests.
The creation of the File-AID/RDX Execute Saved Request JCL will typically be done by the Application
Programmer as part of preparing or staging for turnover to Production Control.
On this screen you specify the input saved request and output ESR (Execute Saved Request) JCL files
as well as any override information.
When the message “Generate process complete” displays, verify that the desired JCL and/or
override files have been generated.
Request file
Specify the name of a previously saved request file for which you want to generate the JCL for
execution at a later time. Eligible saved requests include load, extract and load, and delete
requests.
File-AID/RDX Utilities 699
Member name
Specify the member name of the saved request(s). Leave blank or use a pattern to select from the
Request File Member List (see Request File Member List on page 706). You can select multiple or
all members from the list for processing.
1. If you specify a sequential request file as input, File-AID/RDX fills the Member name field
with TEMPNAME and uses TEMPNAME as the member name in the output PDS(s). After
processing is completed, rename the fixed TEMPNAME member name in the output
PDS(s) and the PARM entry in the ESR JCL to avoid overwriting when processing another
sequential request file.
2. For cloned or modeled requests object override files will not be generated and when
executing ESR JCL for cloned or modeled requests, any included object override files will
be ignored.
Members selected
Identifies how many saved request members have been selected from the request file.
SC Override File
Specify the name of the SC (Selection Criteria) Override file that stores the original and new
selection criteria of the driving object for execution of saved requests at a later time. The SC
Override file can be sequential or PDS.
The JCLOUT files can specify any MVS output file that is capable of accepting JCL. Specifically, the
dataset characteristics should include RECFM=FB, LRECL=80.
It is your responsibility to manage the assignment of dataset names such that there will not be
conflict and that there will be proper control and flow of the JCL into and through any scheduling
systems.
If any of the ESR JCL or override files don’t exist, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334).
If you only want to generate or update the SC override file, you must also
specify Y for Gen Object Overrides File.
Specify 2 (default) for an override file per request. Remember that the Object Override File must
be a PDS for this option.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
GEN
Processes the selected ESR options without displaying any JCL. Before issuing the GEN command,
make sure you have specified the desired request members from the request file, the ESR JCL file,
any override files, and the desired processing options. File-AID/RDX will issue the message
“Generate process complete” upon completion of the process.
An entry can be generated for the Override file for each item that can be overridden at execution
time. Except for SCROBJO, SCROBJN, TRGOBJO, and TRGOBJN, each entry will include both the
old-value and the new-value for the item to be overridden; initially, both values will be the same.
The entries for the combined Creator ID/Table name tags (SCROBJO, SCROBJN, TRGOBJO, and
TRGOBJN) are not generated when File-AID/RDX generates an override file; they must be entered
manually. They only list one value, either the old or the new value, but they must be in pairs,
with the OLD value followed by the NEW value, for example, SCROBJO (Source object OLD)
followed by SCROBJN (Source object NEW). Likewise, TRGOBJO and TRGOBJN must also be in
pairs.
The existing entries within the Override File will be retained and new entries will be added as
needed. An entry will be added for any item specified in the selected requests that is not already
named as the old-value in an existing entry for that item type. All added entries will be at the end
of the file.
As an example, suppose that you are creating a Global Override file for the following three
requests:
The generated Override file would contain the following entries with the old entries starting at
position 10 and the new entries at position 140 (not valid format):
If you want to provide an override value for a specific Creator ID/table name combination,
manually insert the SCROBJO/SCROBJN or TRGOBJO/TRGOBJN tags as paired tags with the OLD
followed by the NEW value, for example:
Values to Override
The values which can be overridden will include the following items but more may be added as
design progresses.
• USERID
• SSID
• Location
• Creators
• MVS file names
• MVS record layout file names
• MVS XREF file names
• Input (External) Key file
• Related MVS object names
• Extract File
• IMS and Output Key File
• IMS Extract Request File
• Selection Criteria
• Temporal Table parameters
• Tables - The separate option Override Table Names allows you to specify whether to
include Db2 Table names in the generated overrides
• Combined Source and Target objects (CreatorID/Table name).
File-AID/RDX Utilities 703
Override Layout
Editing the object override file can require quite a bit of scrolling since the fields are all in fixed
positions and Db2 object names are 128 positions. Editing with File-AID/MVS formatted view allows
the old and new object names to be displayed together and easily edited.
Override Processing
After the Override file has been created and populated, you can edit the file to provide the new-values
to be used instead of the original values for each item to be overridden.
Use standard ISPF EDIT or File-AID/MVS EDIT to make the necessary modifications to the Override
file. You might choose to have this modification done programmatically rather than by manually
editing the file.
Entries within the Override File can be marked as a comment by coding * in the 1st position of the
entry.
Apply Overrides
As each selected request is processed, the values within the request will be modified based on the
replacement values specified within the Override file. When the old-value within the request matches
the old-value specified in the Override file, the old-value within the request will be replaced with the
new-value specified in the Override file.
The processing of the Override file does not depend on the file entries being in any specific order.
New entries can be appended to the existing data and the file may be manually updated so there is no
way to predict the order of the entries.
The first entry for each item old-value will be used and any duplicate entries will be bypassed. If
duplicate old-values are found with different new-values, a warning message will be issued but it will
not affect the return code for the job. Any entries in the Override file which do not match the item
values used in the request will not be processed. Any item in the request which does not have a
matching entry in the Override file will not be overridden.
When the new values from the Override file for target objects in a Load
Request are non-existing objects, File-AID/RDX will NOT create the new
target objects.
Override processing also records the original object names into the Extract File so that they will be
available for processing at Load time and for use by Disguise.
It is expected that you will choose to define Override files by application or environment, that is,
each application or environment will have its own set of Override files.
When you request that an Override file be populated, any existing override entries within the file will
be retained. File-AID/RDX will write an override entry for each old-value-name that is not already in
the Override file. All existing override entries will be retained and any new entries will be added to
the end of the existing entries. An entry is defined as the pair of old-value plus new-value.
For separate Override files (Override File Usage = 2), you must specify a PDS/PDSE for the Override
files. This will cause the File-AID/RDX Utility to generate a separate override file for each request; the
Override file member name will be the same as the request member name.
For shared Override files (Override File Usage = 1), you must specify a sequential file for the Override
file. File-AID/RDX will write an override entry for each old-value in the selected requests that is not
already in the Override file; the entries required for all the selected requests will be written to the
same Override file.
It is your responsibility to maintain control over the Override file and its contents. The correctness of
the Override file being produced is critical to the success of the override process. For example, the
Override files can be created and populated by an Application Programmer and used as the base for
the Override files which will actually be used to execute a saved request.
To be sure that there is a correct entry for each item specified within the requests, the populating of
the Override file and updating of new-value information can be done at production cut-over time.
The Override file must be fully up-to-date when the requests are executed.
Prior to being used, the Override files must be updated with any new-values which are to be used in
the new environment. All old-values to be overridden must be in the Override file. The person
responsible for providing the new-values will edit the Override file. No update functionality will be
provided within File-AID/RDX. Edit the Override file outside of the product with the edit tool of your
choice or edit the file programmatically.
When a new value in the object override file is blank, the old value will not be overridden,
except for the Override Identifier TRGLOC (Load Target Db2 Location ID), which has its own
rules for handling blank values for old and new values. TRGLOC allows old and new values to
be blank. If the new value for TRGLOC is blank, it will override any old value of TRGLOC with
a blank. Likewise, a non-blank new value will override a blank old value.
It is expected that updating will be limited to a few people who are authorized to make these changes.
When editing a SC (Selection Criteria) Override file (Figure 412 and Figure 413 on page 705), do not
change any object information, that means, do not change the Db2 SELECT * FROM statement, or the
MVS file information (file, record layout and XREF names) in the DEFINE BLOCKS and SELECT
File-AID/RDX Utilities 705
statements. The Object Override file takes care of all the object override information. The intent of
the SC (Selection Criteria) Override is to allow you to change the selection values only, not to rewrite
the complete selection criteria. When changing the selection criteria for Db2, DO NOT code the
ending ; (semi-colon).
Extract request
Step1: Use FR utility to create ESR JCL and override files. Include DD statements for OVERRIDE and
JCLOUT in the ESR JCL.
Job 1: Modify override files with any changes needed to run the extract
Load request
Step1: Use FR utility to create ESR JCL and override files. Include DD statements for OVERRIDE and
JCLOUT in the ESR JCL.
Job 1: Modify override files with any changes needed to run the load
Step1: Use FR utility to create ESR JCL and override files. Include DD statements for OVERRIDE and
JCLOUT in the ESR JCL. Specify a different file for JCLOUT for extract and JCLOUT for load.
Job 1: Modify override files with any changes needed to run the extract
Job 2: Modify override files with any changes needed to run the load
Job 3: Submit the ESR JCL to populate JCLOUT for extract. The second step generated will be ESR for
load; it must include the OVERRIDE and JCLOUT for load.
Job 4: Submit the JCLOUT for extract file. This will run the extract and populate JCLOUT for load.
This screen displays the member list of a saved extract request file. Use the ALL primary command or
the S line command to select all, one or multiple members.
Request File
Displays the request file name you specified on the Execute Saved Request (ESR) Options screen.
The lower part of the screen displays a listing of the file’s members.
Member
Member name in the saved extract request file or extract criteria file. The member names are
displayed in alphabetical order.
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.
File-AID/RDX Utilities 707
Status
Displays SELECTED after a member has been selected with the S line or the ALL primary
command.
Line Commands
The following File-AID/RDX-specific line commands are valid on this screen:
S (Select)
Selects this extract request member.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
ALL
Selects all members in the Request File Member List.
END
Returns to the Execute Saved Request (ESR) Options screen. The Members selected field is updated
with the number of members you selected in the Request File Member List (see also Members
selected on page 699).
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.
SIZE (S)
Increases the scrollable area to display more entries at a time by hiding some of the screen header
lines. See Figure 108 on page 221 for an example. Size is a toggle switch so enter Size again to
return to the original format.
Report
A report (Figure 416) will be produced during the Execute Saved Request processing.
Requirements
This ESR capability requires that saved requests be available and that they are in a form that is
suitable for production work:
• All input and output files must have proper security and are owned by an appropriate group.
– extract requests
– load requests
– delete requests
The basic approach is that the “Online ISPF Dialog” is executed and all validation and JCL generation
is done as if a user were at a terminal, but if anything at all requires a user to take action, then the
request execution is abandoned. The utility executes TSO and ISPF in batch and the RDX dialogs are
being executed with a “GO” command as if done by a user. Because of this it must be considered what
user-id is to be used for authority during the running of these jobs. Authority should be considered
for two basic areas:
We will describe two simple requests, an extract and a load. Then we will describe a level of further
sophistication by making use of overrides.
After describing the four jobs just mentioned then we will discuss, but not in specific detail the
various options and RDX capabilities that can be supported.
Extract Example
1. Inspect an extract request for production readiness:
710 File-AID/RDX Reference
a. In Option 2, EXTRACT, select the extract request file and the member name, for example
‘FR.SAMPLE.REQUEST(EXT0101)’, to display it in the Extract Menu.
b. Look at the extract file definition. Does it have an appropriate name? If it does not, then
change it by selecting Extract Menu Option 7, Extract File.
c. Save the changed extract request (Extract Menu Option 12).
d. Look to see if there is an external key file specified for Extract Menu Option 4, Input Key File.
Input Key File is used for supplying keys for the driving object. Is that named appropriately?
If not, change it by selecting Extract Menu Option 4.
e. Save the changed extract request (Extract Menu Option 12).
f. Look to see if there are any output key files specified for Extract Menu Option 6, Output Key
Files. If so, are they named appropriately? If not, change it by selecting Extract Menu Option
6.
g. Save the changed extract request (Extract Menu Option 12).
2. Once the extract request is ready for production go to Option 6, UTILITIES, where you can
generate the JCL to be used for the production job.
This example uses extract request in ‘FR.SAMPLE.REQUEST(EXT0101)’. This extract uses the File-
AID/RDX sample tables. The driving object is ORDER_TABLE.
a. Select Option 6, UTILITIES from the File-AID/RDX Primary Option Menu.
b. Select Option 2, JCL/Overrides. This option displays the Execute Saved Request (ESR) Options
panel.
c. Fill in your values for the Request File, Member name, ESR JCL File, and JCLOUT for extract
JCL fields.
d. Set Gen ESR JCL to Y
e. Set Include JCLOUT DD for Job Scheduler Input to Y.
The JCLOUT option and DSN says that you do not want JCL generated to be submitted to the
internal reader, but rather to be written to the JCLOUT file and it will be your own
responsibility to get it executed.
f. Enter GEN on the command line.
Watch for message ”I332 Generate process complete”.
g. Review the contents of the generated ESR job that was just created, in this example
FR.SAMPLE.ESR.JCL. This utility dialog is set up so that if 20 extract requests are selected then
20 JCL members will be put into the ESR output file. In this case, ESR JCL File was specified as
FR.SAMPLE.ESR.JCL and since only one extract request, EXT0101, was selected, then only one
member is put into FR.SAMPLE.ESR.JCL. The same member name as the extract request, in
this case EXT0101.
h. The first thing to call your attention to is at the bottom of this file. The last 4 lines of this
member are:
//PARMS DD *
REQDS FR.SAMPLE.REQUEST
MEMBER EXT0101
//*
REQDS is the keyword that identifies the dataset name of the file containing the requests to
be processed. MEMBER is the member name of the request to be processed. There can be
multiple member name parameters. Each one will be processed. What does it mean to “be
processed”? It means that the request is going to have a “G” (go) line command issued. Since
each request has a type record, the ESR job determines if the request is an Extract, Load, or
Delete request and the ISPF dialog is executed “almost” like it would be if there was a human
at a terminal. “Almost” is important though, because even warning messages become fatal
errors, since there is no-one at a terminal to make changes.
Now, here is the full JCL that was generated by the above procedure:
File-AID/RDX Utilities 711
• The first 5 lines are the Jobcard from the current user’s File-AID/RDX profile (Option 0). These
five lines are not literally the same lines that will be used to execute the request, but they will
indeed be regenerated into the job that will execute the request. Therefore, the userid that you
want used for the production job should be used when generating the ESR JCL.
• Notice that there is a COPYTLIB job step that is the first part of the ESR JCL. This step creates a
temporary ISPTLIB dataset. It copies a number of members into this dataset from three separate
libraries. One of these members is RDXPROF from the TSO userid’s ISPF profile dataset (see
INDD1). Again, if it is significant, then use the userid of someone who has clearance to run
production jobs.
• The step that does the actual request validation and JCL generation is step EXSAVREQ. Look at
DD named RDXUISPF. It has the DSN of the current TSO userid.
• Look at line 48 and 59. Line 48 has the SQLID set by the current user. Make sure this is acceptable
for a production job. Line 59 is the User’s High Level Qualifier. Again, make sure that this is
suitable for use in a production job.
• Note line 62. This JCLOUT is optional. When used, the ESR job will write the customized JCL to
this file. When not used, the ESR job writes the customized JCL to the internal reader with the
assumption that it will be executed right away. Some options that might be taken would be to set
the JOBCARD to nulls or comments and then stack multiple requests after line 82, making sure
that a valid job card is programmatically placed before the contents of the JCLOUT file.
Load Example
After the above extract has been run, the extracted data is put into the specified extract file, in this
case, FR.SAMPLE.ORDER.EXTRACT. For the sake of this example, let’s take this same data and load it
to a new set of tables with the creator-id of FRUSER and save the load request as member LOD0201 in
the same request file, FR.SAMPLE.REQUEST.
You can use the same method to produce the ESR JCL as for the extract request. Or you can take the
ESR JCL generated for the extract, FR.SAMPLE.ESR.JCL(EXT0101), and modify it by only changing the
MEMBER from EXT0101 to LOD0201 in lines 62 and 82 and save as member LOD0201. Either will
work.
Because this has been custom generated based on conditions at the time that the ESR JCL gets
submitted, which should be immediately before the actual request gets submitted. DD names and
DISP settings can be affected. Especially in the case of load jobs, work file sizes will be calculated
based on the actual work to be performed on a table by table basis. Also for a load, there is at least
one file, the LCT (load control table) that needs to be customized based on the row counts that are in
the extract dataset.
is a production job then usually the request will be locked. The following is a list of potential ways to
customize a saved request without actually altering the request. The list is meant to be in an order of
simple to more complex, but what is simple or complex can be dependent upon your needs.
This is defined as a standard part of an extract request. It simply means that a file is presented
with a list of key values. The key values always apply to columns of the driving object. They do
not have to be against columns/fields that are in an index. There can be only one external key
file and it can only be against the one and only driving object. How does this permit
customization? Well, each and every time that the extract is run the contents of this key file
might be different. The number of records in it for one run might be 1 and for the next run it
might be 100 million records. The external key file can be locked down and controlled by
security and even the contents might be controlled by an installation controlled program that
populates the file under controlled conditions.
The ESR mechanism allows an extract request to be treated as a “template” that can have
substitutions applied to it. For extract requests, there can be two override files, Object Override
File and SC Override File. SC Override File is dedicated to altering the selection criteria. The
overrides are provided in a file. As a consequence, it is possible to have one extract request with
multiple override files, each of which is a locked down MVS dataset that is selected just before the
ESR job is run. Also, it is possible that the contents of the override file is more tightly controlled
by a program that selects the contents of the file.
Depending on circumstances this can be either very simple or very complex. This was designed
for a situation similar to the following:
A company has a set of tables that describe sales reporting. The company’s data is separated
by regions, NORTH, SOUTH, EAST, and WEST. Each region has an identically configured set
of 50 tables that describes the sales activities. The 50 tables each have a Creator-ID of the
region (i.e. NORTH, SOUTH, EAST, or WEST).
There may be some tables that are common to all regions. This is of no special consequence.
There is a need to extract data from one region at a time and load it into a set of tables that
will be used for analysis. An extract request is created to operate on one region, say the WEST
region.
Once satisfied that it operates as desired, create the ESR job, then construct three override
files as described in Override File Entries on page 701 and Override Processing on page 703 to
create:
In this case it will simply have one record. It will have SRCCRE in positions 1-8 and WEST in
positions 10-138 and EAST in positions 140-268. This has the effect of changing all creator-id
that matches WEST in the extract to a creator-id of EAST as a temporary override. Then four
different ESR jobs can all use the same extract request: one with no overrides, one that
overrides WEST to EAST, one that overrides WEST to NORTH, and one that overrides WEST to
SOUTH.
Building upon the two extract and the load examples above (see Step 2 on page 710 of the Extract
Example), create two more ESR jobs, this time with additional override options:
714 File-AID/RDX Reference
a. Fill in your values for the Request File, Member name, ESR JCL File, Object Override File,
and JCLOUT for extract JCL fields.
b. Set Gen ESR JCL to Y
c. Set Include JCLOUT DD for Job Scheduler Input to Y.
The JCLOUT option and DSN says that you do not want JCL generated to be submitted to the
internal reader, but rather to be written to the JCLOUT file and it will be your own
responsibility to get it executed.
d. Set Gen Object override file to Y.
e. Set Include OVERRIDE DD for Object override to Y.
f. Set Override DB2 table names to Y.
g. Set Override File Usage to 2.
h. Enter GEN on the command line.
Watch for message ”I332 Generate process complete”.
Use this screen to initiate a batch job that compresses or decompresses extract files.
There are two different types of compression available for the extract file: Compress and VARCHAR
compress. The Compress Utility can produce either of these types of compressed files and can
decompress either of these types of compressed files.
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 outside of the File-AID/RDX
Disguise option, decompress it beforehand using this Decompress utility.
On this screen you specify the input and output extract files to be compressed or decompressed.
Input and output files can have the same file name.
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 Utilities
Menu.
Compress Information:
Utility to execute
Specify 1 to compress (default) or 2 to decompress an 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.
716 File-AID/RDX Reference
File-AID/RDX recognizes these compressed extract files as valid input files for all
functions: Load, Delete, and Disguise.
The original Extract file specified as input into the Decompress Utility must be compressed. The
Decompress utility will also return an error at execution time and end the job if the original extract
file is not compressed.
A pre-disguise extract file is not a valid input file for either compression
utility. This file is always masked and is only intended to be used as input to
Disguise. You can, however, compress or decompress an already disguised
extract file.
Member
Specify the member name of the input extract file, if the request file is a PDS. Specifying a pattern
allows you to select a member.
VOLSER
Specify the volume serial of the direct access device that contains the file.
Member
Specify the member name of the output extract file, if the request file is a PDS. Specifying a
pattern allows you to select a member.
File-AID/RDX Utilities 717
VOLSER
Specify the volume serial of the direct access device that contains the file.
Disposition
Specify the disposition of the output extract file. You can save to existing files with a disposition
of OLD. Specify a disposition of NEW to create a new PDS or sequential file.
If you specify NEW in the Disposition field, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334).
Remember to allocate an adequate amount of space for the output extract file to avoid out of
space conditions (SB37).
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
JCL
View the JCL for the Compress or Decompress utility. File-AID/RDX shows the Generated JCL
panel (Figure 418) where you review and modify the JCL. Enter the SUBMIT command to submit
the job.
GO (G)
Submits this Compress or Decompress job request without displaying the JCL. Before issuing the
GO command, make sure you have specified the input and output files and the compression
options. File-AID/RDX will issue a message upon completion of the job.
View JCL
The ISPF/PDF Edit screen shown in Figure 418 is displayed when you enter the JCL command in the
Extract File - Compress Utility panel.
718 File-AID/RDX Reference
Use this screen to view or edit the JCL generated by File-AID/RDX to compress or decompress an
existing extract file. Use the SUBMIT command to submit the extract request for execution. If you
want to save this JCL, use the ISPF/PDF CREATE or REPLACE command before you exit the panel.
Report
A report (Figure 419) will be produced during the Extract File Compress Utility processing.
Beginning with File-AID/RDX Release 4.6, the extract files no longer contained readable DDL that
described the source environment.
Use this screen to initiate the utility that converts the masked Db2 DDL statements from a File-
AID/RDX extract file and places them into an output file in a readable format.
The DDL statements in an extract file are intended for File-AID/RDX’s use
only and may not be usable outside of File-AID/RDX.
On this screen you specify the input extract file or extract summary file, the output DDL file and
whether to process the request in online or batch mode.
Enter GEN to execute the utility in online mode. After you enter GEN and successful conversion, File-
AID/RDX displays the message: Generate process complete.
Or, enter JCL to view the generated JCL or GO to submit the job in batch mode.
Member
Specify the member name of the input extract file, if the extract file is a PDS. Specifying a pattern
allows you to select a member.
720 File-AID/RDX Reference
VOLSER
Specify the volume serial of the direct access device that contains the file.
Member
Specify the member name of the output DDL file, if it is a PDS. Specifying a pattern allows you to
select a member.
VOLSER
Specify the volume serial of the direct access device that contains the file.
Disposition
Specify the disposition of the output DDL file. You can save to existing files with a disposition of
OLD. Specify a disposition of NEW to create a new PDS or sequential file.
If you specify NEW in the Disposition field, you must specify the allocation parameters in the
Create New File screen (Figure 175 on page 334).
Remember to allocate an adequate amount of space for the output DDL file to avoid out of space
conditions (SB37).
For an existing output file, the utility deletes the content and inserts the data
from the current conversion.
Primary Commands
The following File-AID/RDX-specific primary commands are valid on this screen:
GEN
Processes the Generate DDL utility request in online mode. Before issuing the GEN command,
make sure you have specified the desired input and output files. File-AID/RDX will issue a
message upon completion.
GO (G)
Submits this Generate DDL job request without displaying the JCL. Before issuing the GO
command, make sure you have specified the input and output files.
File-AID/RDX Utilities 721
JCL
View the JCL for the Generate DDL utility in batch mode. File-AID/RDX shows the Generated JCL
panel (Figure 418 on page 718) where you review and modify the JCL. Enter the SUBMIT
command to submit the job.
View JCL
The ISPF/PDF Edit screen shown in Figure 421 is displayed when you enter the JCL command in the
Generate DDL Utility panel.
Use this screen to view or edit the JCL generated by File-AID/RDX to convert the masked Db2 DDL
statements from a File-AID/RDX extract file and place them into an output file in a readable format.
Use the SUBMIT command to submit the job for execution. If you want to save this JCL, use the
ISPF/PDF CREATE or REPLACE command before you exit the panel.
Report
A report (Figure 422) will be produced at the end of the batch Generate DDL Utility processing.
• Enter Option T on the File-AID/RDX Primary Option Menu or enter the "=T" ISPF/PDF JUMP
function from most screens.
• Enter the HELP command on any screen when a message is not displayed.
• Enter the HELP command twice after a message is displayed (the first HELP command displays
the extended message and the second invokes the tutorial).
The File-AID/RDX tutorial operates similarly to the ISPF/PDF tutorial. That is, to move about in the
File-AID/RDX tutorial, you use the same commands that you use in the ISPF/PDF tutorial.
You can view the next two screens of the tutorial introduction by pressing Enter. These screens
explain how to move about in the tutorial.
724 File-AID/RDX Reference
While in the tutorial, you can enter the HELP command at any time to display a one-screen summary
of how to use the tutorial.
To terminate the tutorial, enter the END command and you return to the screen from where you
requested help. You cannot use the RETURN command or ISPF/PDF JUMP function to terminate the
tutorial.
Tutorial and Online Help 725
Help
-------------------------------------------------------------------------------
File-AID/RDX ---------------- Table of Contents --------------------- TUTORIAL
OPTION ===>
-------------------------------------------
| File-AID/RDX TUTORIAL TABLE OF CONTENTS |
-------------------------------------------
The following topics are presented in sequence or may be selected
by entering a one-character code in the OPTION field:
O - File-AID/RDX Product Overview
0 - Select, Create or Change Profiles
1 - Browse, modify, create relationship definitions
2 - Extract sets of related data
3 - Load sets of related data
4 - Delete sets of related data
5 - Specify Global User Defaults
6 - Transfer to File-AID for DB2
The following will be presented only if explicitly selected:
B - RI Update batch job
C - Command summary
D - Download File-AID/RDX extract data
L - Legal and Copyright Notices
• Tab to the HELP action bar item and press ENTER. In the HELP pull-down select the desired
tutorial entry option.
Help
----------------------------------------------------------
File-AID/RDX ---------------- Table of Contents ---------- 1. Help Index
OPTION ===> 2. Keys Help
------------------------------------------ 3. About...
| File-AID/RDX TUTORIAL TABLE OF CONTENTS
-------------------------------------------
Help Index
You access the index function for the File-AID/RDX tutorial panel from the Help action bar item. The
Help Index screen as shown in Figure 428 on page 726 lists index key word entries in alphabetical
order.
726 File-AID/RDX Reference
Use the UP and DOWN scroll commands to scroll through the index listing. Enter the S line
command on your desired index entry. This will take you to the tutorial panel associated with your
selected index entry.
Use the FIND key word command to locate your desired topic quickly (see Figure 429 and Figure 430).
You see the result of the key word search in the Index Keyword Find/Search Results windows as
shown in Figure 431 on page 727.
Tutorial and Online Help 727
Enter the S line command on the desired index entry. File-AID/RDX enters the tutorial program at the
selected tutorial panel.
When you exit the tutorial you return to the Help Index panel.
728 File-AID/RDX Reference
729
Command Summary A
Overview
This chapter contains descriptions of File-AID/RDX primary and line commands. Each description
consists of notes on command usage and a syntax diagram. For a more detailed explanation, refer to
the chapter that covers the option where the command is used.
Primary Commands
The following section describes File-AID/RDX primary commands. The command syntax is presented
along with a brief explanation of the command function. For a more detailed explanation, refer to
the chapter that covers the primary option(s) or sub-option(s) where the command is used.
Commands processed identically in ISPF/PDF and File-AID/RDX are noted with an asterisk (*).
Several commands described below have repetition factors as valid operands. This is symbolized using
the character n. Except where noted, n must be a positive integer value between one and
2,147,483,647.
ACCEPT (A)
Accept all suggested relationships to be included in the extract. When you press Enter, you return to
the previous Extract Scope screen where you entered the CHECK command. Check Extract Warning
screen only.
ADD (A)
Allows you to add an application relationship. 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.
ALL
Selects all available menu options for you to step through in sequence. Profile, Extract, and Load
menus only. Selects all objects in the Object List Preview windows.
Selects and loads all RI relationships into the relationship file. Valid in the RI Relationship Detail
Screen.
BACK (BA)
Displays the previous selection criteria set in a criteria file. Valid only on the Selection Criteria
Specification Screen when defining or modifying multiple selection criteria sets (see Object Selection
Criteria on page 301). There are no operands associated with this command.
CANCEL (CAN)
Exits the current panel without saving changes made to the data. There are no operands associated
with this command.
730 File-AID/RDX Reference
CAPS
Controls whether alphabetic data entered should be automatically translated to uppercase or left as
is.
The caps mode is not "remembered" from session to session. Instead, it is set to ON when you invoke
File-AID/RDX. You can change the setting at any time using the CAPS command within File-
AID/RDX.
CAPS ON
OFF
CHANGE (C)
Allows you to globally replace character strings in the listed items on a panel. Valid parameters vary
from panel to panel. When entered without any parameter, a Change Command window prompts for
these parameters.
CHECK (CHE)
Use the CHECK command to verify the extract paths after you made navigational changes. When the
path integrity validation processing is complete, the results are displayed in the Check Extract
Warning window where you can resolve or ignore the findings. Extract Scope Relationship View
screen only.
CHECK is not valid when when the extract nrequest is built with
relationships in the Direct Plus or All Children Only mode (see Direct on
page 248).
COND
Displays the Relationship Condition Definition panel where you can define a conditional test for the
current AR. You must have already established a relationship before you can issue the COND
command. Valid only on the Column/Field Relationships panels
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.
CURSOR*
Moves the cursor to the first input field on line two of the screen. This field is usually the OPTION or
COMMAND field.
DB2
Switches to the corresponding Db2 Object panel, in order to specify Db2 objects. Valid only for the
MVS Driving Object, MVS Relationship Facilitator, NEW MVS Object Filter, ObjectIn MVS Object
Filter, or ObjectOut MVS Object Filter panels.
Command Summary 731
DELETE (DEL)
Deletes the current selection criteria set in a criteria file. Valid only on the Selection Criteria
Specification Screen when defining or modifying multiple selection criteria sets (see Output Key File
Definition on page 332). There are no operands associated with this command.
DELETE
DEL nnnn
DETAIL (D)
Toggles the list display between a one-line and a two-line display in the Reference List screens.
DOWN
Causes scrolling toward the end of the data by the specified scroll amount.
DOWN
n
CSR
CUR
PAGE
HALF
MAX
DATA
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. Extract - DB2 Driving Object and Extract - MVS Driving Object
screens only.
END*
Terminates the current operation and returns control to the previous, higher-level screen. If you enter
the END command on the File-AID/RDX Primary Option Menu, File-AID/RDX is terminated.
EXCLUDE (EX)
Exclude relationships from the extract or load process. Valid parameters vary from panel to panel.
When entered without any parameters, an Exclude Command window prompts for these parameters.
EXPAND*
The EXPAND command enables you to view the full content of a scrollable field in a separate
window. Db2 long object names are displayed in scrollable fields. In order to view a long name in a
separate window, type EXPAND in the command line of the panel, move the cursor into the field to
expand, and press ENTER.
FILTER (FIL)
The FILTER command restricts the relationships being displayed to the relationships for a specific
object. Any relationship where the specified object is either a parent or a child will be displayed. The
FILTER command can be issued to build a display that contains the relationships for multiple objects
by choosing the option to retain the currently filtered list. For example, you could issue the FILTER
command to display the relationships for PROJ resulting in a display of only the PROJ relationships.
Then issue FILTER again, this time requesting the relationships for EMP and specifying to retain the
732 File-AID/RDX Reference
currently filtered list. The resulting display will contain all relationships for PROJ and EMP. This is
the same functionality available from the object view when the R line command is issued for multiple
objects prior to the VIEW command.
Filter Command
Command ===>
Display relationships for this object:
Object Name Field ===>
Include Creator Name ===>
Retain Current Filtered List ===> N (Y = Yes, N = No)
Enter to process, END to return
FIND (F)
The FIND command searches through data in the display and positions the line with the next
occurrence of the specified find-string to the first line of the displayed data.
Table 81 lists the panels where the FIND command can be issued.
NEXT
FIND 'find-string'
ALL
PREV
FIRST
LAST
Find String
Value to be found. The first parameter for the FIND command is always the find-string. The find-
string value is not case sensitive. Enclose the string in either single or double quotes when
Modifiers
Specify one of the following parameters to modify the search order.
NEXT
Default. Starts a search for the next occurrence of the find-string at the beginning of the first line
being displayed (if the cursor is still on the COMMAND line), or at the cursor location (if the
cursor is in the data part of the display).
ALL
Finds all occurrences of the find-string starting at the beginning of the first line of the data and
continues to the bottom of data. If you specify both a column name and the ALL parameter, all
occurrences in the specified column of the find-string are found.
PREV
Starts a search for the previous occurrence of the find-string starting at the end of the line
preceding the first line being displayed (if the cursor is still on the COMMAND line), or at the
cursor location (if the cursor is in the data display).
FIRST
Starts a search for the first occurrence of the find-string starting at the beginning of the first line of
the data and continues until the string is found or the bottom of data is reached.
734 File-AID/RDX Reference
LAST
Starts a search for the last occurrence of the find-string starting at the end of the last line of the
data and continues backward until the string is found, or the top of data is reached.
Menu Actions Options Help
-------------------------------------------------------------------------------
Fi Enter Find Parameters SSID: DSN
CO LL ===> CSR
String ===>
Sp Modifier ===> NEXT (FIRST,LAST,NEXT,PREV,ALL)
Line Commands:
FORWARD (FOR)
Displays the next selection criteria set in a criteria file. Valid only on the Selection Criteria
Specification Screen when defining or modifying multiple selection criteria sets. There are no
operands associated with this command.
FUNCTION LOCK
Enables the “Lock Table during Extract” function for all Db2 objects. The Extract Scope - Object
View panel will display and enable the L line command and display the L status column. See also
L (Lock Table) on page 258. FUNCTION LOCK is a toggle switch so enter FUNCTION LOCK again
to return to the original format. Extract Scope - Object View panel only. There are no operands
associated with this command.
GEN
1. Processes the selected execute saved request (ESR) options without displaying any JCL. Before
issuing the GEN command, make sure you have specified the desired requests from the request
Command Summary 735
file, the ESR JCL file, and any override files. File-AID/RDX will not issue a message upon
completion of the job. Valid on the Execute Saved Request (ESR) Options panel.
2. Processes the Generate DDL utility request. Before issuing the GEN command, make sure you have
specified the desired input and output files. File-AID/RDX will issue a message upon completion.
Valid on the Generate DDL Utility panel.
GO (G)
Submits an extract request from the Extract - DB2 Driving Object or Extract - MVS Driving Object
panel.
Submits a File-AID/RDX utilities job from the Print Disguise Control File, Print Disguise Audit Trail,
Batch RI Load, Update Saved Extract Requests, or Extract File Compress Utility panel.
GRAPHIC (G,GR)
Displays the Graphical Relationship Display screen. This command is valid from the Browse -
Relationship Detail screen, the AR Relationship Detail screen, the RI Relationship Detail screen, and
the Relationship Criteria screen. There are no operands associated with this command.
HELP*
Shows the extended description of a message that has been displayed, or invokes the online tutorial
facility. If File-AID/RDX displays a message in the upper right corner, entering the HELP command
will display the extended description on line three of the screen. The tutorial is invoked by
immediately entering another HELP command, or by entering HELP when no message has been
displayed.
HIDE (H)
The HIDE command allows less data to be displayed. Included, excluded and special status objects
can be removed or hidden from the display so that the remaining content is more meaningful.
Special status is any status other than blank or excluded; this will include any error messages and any
objects where criteria has been provided at the relationship level as well as the object level. Use the
RESET command to return all hidden objects to the display. Valid Parameters differ between Extract
Scope and Target Environment implementation.
IGNORE (I)
Ignore all flagged relationships, they will not be included in the extract and their status changes to
“Relational error ignored”. You can still use the Accept Path line command to change the status
individually or enter the ACCEPT primary command. Check Extract Warning screen only.
INSERT (INS)
Inserts a new selection criteria set after the currently displayed set in a criteria file. The new set’s id
number equals the current set’s number incremented by 1. Example: current id = 3 of 5, id of inserted
set= 4 of 6. Any following set id numbers in the criteria file are of course incremented accordingly, for
example 4 of 5 becomes 5 of 6, 5 of 5 becomes 6 of 6. Valid only on the Selection Criteria
Specification Screen when defining or modifying multiple selection criteria sets (see Output Key File
Definition on page 332). There are no operands associated with this command.
INSERT
INS nnnn
736 File-AID/RDX Reference
KEYLIST*
Calls the key list utility so you can browse and modify the File-AID/RDX keylists as defined for all
File-AID/RDX CUA panels.
OFF
KEYLIST
ON
ON and OFF are only valid for ISPF version 4.1 or newer.
KEYS*
Causes an immediate display of a screen on which current PF key definitions are shown and can be
modified.
LEFT
Causes scrolling toward the left margin of the data by the specified scroll amount. Valid on the
Selection Criteria screen only.
LEFT
n
CSR
CUR
PAGE
HALF
MAX
DATA
LIMITKEY (LK)
Displays the Limit Key Definition screen which lets you define the limit key value for each logical
partition, if the tablespace is partitioned. Valid in the Create Tablespace, Create DB2 Table, and
Create Index panels.
LOCATE (L)
Searches the sorted column of the displayed list and positions the line with the first occurrence of the
LOCATE value to the first line of the displayed data. Valid whenever a list is displayed. If the list has
not been sorted, enter a line number.
LOCATE value
L
value
Value to locate. Either the beginning string of the sorted column’s entry, or a line (row)
number for an unsorted list (see also SORT on page 740).
Command Summary 737
MENU
Switches to the full Extract or Load Menu from an extract or load submenu when in flow mode.
Toggles between displaying all or a subset of options in the File-AID/Data Solutions Criteria Menu.
MODE
Use the MODE command to switch the current extract or load mode to either INTERACTIVE (online)
or BATCH, if your installation allows extract or load requests to be executed online. Extract Menu and
Load Menu only.
MVS
Switches to the corresponding MVS Object panel, in order to specify MVS objects. Valid only for the
DB2 Driving Object, DB2 Relationship Facilitator, NEW DB2 Object Filter, ObjectIn DB2 Object Filter,
or ObjectOut DB2 Object Filter panels.
NAVIGATION (NAV)
The NAVIGATION command takes you directly to the NAVIGATION format of the relationship view.
Extract Scope Object View and Extract Scope Relationship View screens only.
NEW (N)
Creates a new extract, load, or delete request or a new disguise object list. (Reference List and Request
File Member List screens only).
Also defines a new associated criteria rule in the Associated Rules List.
For an extract request or disguise object list, include one of the optional parameters, DB2 or MVS, to
display the respective Driving Object screen.
NEW
N DB2
MVS
NEXT (N)
Displays the next screen in the process being performed.
OBJECTIN (OI)
Allows you to add objects to your current object list. This command displays either the “ObjectIn -
DB2 Object Filter” or “ObjectIn - MVS Object Filter” screen. The ObjectIn Filter panels work the same
as the NEW - DB2 Object Filter (Figure 353 on page 628) and NEW - MVS Object Filter (Figure 354 on
page 630).
OBJECTOUT (OO)
Allows you to remove objects from your current object list. This command displays either the
ObjectOut - DB2 Object Filter (Figure 360 on page 636) or ObjectOut - MVS Object Filter screen
(Figure 361 on page 637).
PARTITION (PART)
Displays the “Partition Definition” screen which lets you define the attributes for each
index/tablespace partition (Edit Tablespace and Edit Index screens only).
738 File-AID/RDX Reference
PREV
Goes to previous selected menu option in flow mode (Profile screens only).
PRINT*
Causes a snapshot of the current screen to be recorded in the ISPF/PDF list file for subsequent
printing.
PRINT-HI*
Same as PRINT except that high-intensity characters on the screen are printed with overstrikes to
simulate the high-intensity display.
PRINTL*
Causes a snapshot of the current logical screen to be recorded in the ISPF/PDF list file.
PRINTLHI*
Same as PRINTL except that high-intensity characters on the screen are printed with overstrikes to
simulate high-intensity display.
REFERENCE (REF)
Switches to the applicable Reference List from a Request File Member List or from the Extract or Load
Menu.
REFRESH (R)
Refreshes the list of objects of the Target Environment screen (Figure 249 on page 451). Use the
REFRESH command after changes to the listed objects have an influence on the hierarchal and
alphabetical order of the display.
REPEAT (REP)
Repeats (duplicates) the current selection criteria set after the currently displayed set in a criteria file.
The new set’s id number equals the current set’s number incremented by 1. Example: current id = 1 of
5, id of inserted set= 2 of 6. Any following set id numbers in the criteria file are of course incremented
accordingly, for example 2 of 5 becomes 3 of 6, 3 of 5 becomes 4 of 6, etc.. Valid only on the Selection
Criteria Specification Screen when defining or modifying multiple selection criteria sets (see Output
Key File Definition on page 332). There are no operands associated with this command.
REPeat
nnnn
REPORT (REP)
Prints the currently displayed object or relationship list. Valid on the Extract Scope Object View and
Relationship View panels only.
REQUEST (REQ)
Switches to the applicable Request File Member List from a Reference List or from the Extract or Load
Menu.
Command Summary 739
RESET (RES)
Use the RESET command to return all hidden objects to the display. Extract Scope Object View and
Extract Scope Relationship View screens only.
RETRIEVE*
Causes a previously entered command to be recalled to the command line.
RETURN
Causes an immediate return to the File-AID/RDX Primary Option Menu.
RFIND
The RFIND command repeats the previous FIND command.
RIGHT
Causes scrolling toward the right margin of the data by the specified scroll amount. Valid on the
Selection Criteria screen only.
RIGHT
n
CSR
CUR
PAGE
HALF
MAX
DATA
SAMPLE
The SAMPLE command takes you directly to the SAMPLE format of the relationship view. Extract
Scope Object View and Extract Scope Relationship View screens only.
SHOW (SH)
The SHOW command alters the contents of the SHOW column in the Target Environment screen
(Figure 249 on page 451). Depending on the specified parameter, the SHOW column can display the
associated database, tablespace or stogroup information for the appropriate Db2 objects in the list.
SHOW without a parameter displays the SHOW COMMAND window. Target Environment screen
only.
SHOW
SH NONE
DB
TS
STOGROUP
SIZE (SI)
Toggles the size of list display area by hiding or displaying the panel header lines in various list
display screens.
740 File-AID/RDX Reference
SORT
Sorts the displayed list by the specified column name. After sorting a column you can use the
LOCATE primary command in that column. Valid whenever a list is displayed.
SORT column-name
SPLIT*
Causes split screen mode to be entered or the location of the split line to be changed. The position of
the split line depends on the cursor location at the time the command is entered.
SQL
Invokes an edit session on selection criteria in SQL format. Valid on the Selection Criteria screen.
SQLID
Enter the SQLID primary command to change or view the Db2 SQLID for the current load session.
Each load session starts with the default SQLID as specified in the load profile (see also Default SQLID
on page 65). In the Set SQLID window, enter the desired SQLID. USER is a valid entry and changes the
SQLID to match the current userid. If you blank out the SQLID, it defaults to the SQLID as specified
in the load profile.
STATUS (STAT)
The STATUS command takes you directly to the STATUS format of the relationship view. Extract
Scope Object View and Extract Scope Relationship View screens only.
SUBMIT*
Submits the JCL for execution. Valid only on the ISPF/PDF EDIT screen shown in the Extract, Load
and Delete functions.
SUGGEST (SUG)
The SUGGEST command suggests a relationship when the parent and dependent column or field
name, type and length are identical. Column/Field Relationships screens only.
SWAP*
Positions the cursor to wherever it was previously located on the other logical screen of a split screen
pair.
TABLE (TAB)
Displays the “Tables Within View” screen which lists the tables that are part of the complex view. Edit
View screen only.
TSO*
Allows a TSO command or CLIST to be entered from the COMMAND or OPTION field of any screen.
UDTSWAP
Swaps the display for distinct type columns from UDT name to the built-in data type and length and
vice versa. This command is valid only on the Driving Table Selection Criteria, Table Selection
Criteria (Extract), and Column Mapping (Load) screens.
UDTTYPE
Lists all distinct data types (UDTs) that are part of the extract. The list displays the schema, UDT
name, and the built-in data type and length. This command is valid only on the Driving Table
Selection Criteria and Table Selection Criteria screens.
UNEXCLUDE
Causes all the relationships on the list displayed to be included again in the extract or the load
process. This command is valid only on the Extract Scope - Object View, Relationship Criteria and
Source to Target Mapping screens. The optional parameters DB2, KEY, and MVS limit the
UNEXCLUDE command to one of the three object types. ALL is the default.
UNEXCLUDE
U DB2
KEY
MVS
UP
Causes scrolling toward the top of the data by the specified scroll amount.
UP
n
CSR
CUR
PAGE
HALF
MAX
DATA
VALIDATE
Validate all relationships before you continue with the extract process. The message “No changes”
informs you that all relationships have been successfully validated. If there are inconsistencies, the
Update Saved Request window reports the validation results and gives you the opportunity to update
the extract request. Extract Scope - Relationship View panel only.
VALIDATE is not valid when when the extract nrequest is built with
relationships in the Direct Plus or All Children Only mode (see Direct on
page 248).
VIEW (VI)
The VIEW command allows you to easily switch between the object and relationship views. SAMPLE,
STATUS and NAVIGATION can be used to go directly to the corresponding format of the relationship
742 File-AID/RDX Reference
view. These commands are not included on the primary command line for the object view but will be
processed if entered. Extract Scope Object View and Extract Scope Relationship View screens only.
VIEW
VI NAVIGATION
NAV
SAMPLE
SAM
STATUS
STA
Line Commands
A (Accept Path)
Accept an individual relationship to be included in the extract. When you press Enter, you return to
the previous Extract Scope screen where you entered the CHECK command. Check Extract Warning
screen.
A (Add)
On the Application Relationship Detail and DB2 or MVS Object List screen, A enables you to create a
new application relationship by displaying the Add Relationships screen. On the Unrelated Object
Specification screen, A allows you to add unrelated objects to your extract specification. On the
Default Value Definition screen, A allows you to add literal definitions during load column mapping.
A (Add/Assign Rule)
Displays the Associated Rules List where you can select an already defined associated disguise rule or
create a new associated rule to assign to a selected column (see also Associated Rules List on page
646). You can only enter the A line command for a column that does not have a rule assigned to it,
yet.
A (All)
Extract all data from this object regardless of the relationships from and to this object. Extract Scope
- Object View screen.
B (Browse)
From the Relationship Facilitator Option, B enables you to browse the relationship file for the
selected object by displaying the Column Relationships screen.
C (Copy)
Copies a profile member (Profile Selection screen).
Command Summary 743
D (Delete)
Valid on the Application Relationship Detail screen, RI Relationship Detail screen, SQL Edit screen,
and the Column Relationships screen. Deletes the relationship on the line containing the D line
command. On the Default Value Definition screen, D deletes a literal definition during load column
mapping.
E (Edit AR)
From the Relationship Facilitator Option, E enables you to maintain (add, edit, delete) application
relationships for the selected object by displaying the Column Relationships screen.
• Edit an AR relationship
E (Edit Object)
In the Target Environment screen, E enables you to edit the create information for the selected
object. Only valid for objects marked to be created.
G (Go)
Submits an extract, or load request immediately without any changes (Reference List and Request File
Member List screens).
I (Ignore Path)
Ignore an individual relationship, it will not be included in the extract and its status changes to
“Relational error ignored”. You can still use the Accept Path line command to change the status
individually or enter the ACCEPT primary command. Check Extract Warning screen.
I (Information)
Valid on Relationship Detail screens in the Browse Relationships, RI Relationship, and Application
Relationship suboptions. Also valid on the Relationship Criteria screen and the Graphical
Relationship Display screen. Displays the Relationship Information pop-up window. This window
contains slightly different information for each suboption. When entered in the Extract, Load, or
Delete Reference List, it displays the Request Details screen with detailed information about the
selected request. In the Target Environment screen, I displays the DDL for the selected Db2 object. In
the Data Disguise - Object List, I displays data disguise information for an object and in the Data
Disguise - Column/Field List, I displays data disguise information for a column/field.
I (Insert)
The I (Insert) line command inserts a different partition after the current partition. The inserted
partition(s) are based on the model partition. To insert more than 1 partition at a time, enter the
number of partitions with the I line command (nnn = 1 - 999). Valid on the Tablespace Partition
Definition and Index Partition Definition panels.
L (List DB)
In the Data Disguise - Object List, lists all objects that are in the same database as the selected object
and are not already in the object list. Then you can select any of the objects to be added to the object
list.
L (Load RI)
From the Relationship Facilitator Option, L enables you to maintain (load, delete) Db2 RI
relationships for the selected object by displaying the Column Relationships screen.
• Load an RI relationship
L (Lock)
Prevents the request entry from rolling off the Reference List.
L (Lock Table)
Indicate whether or not a table will be locked during extract. The L line command acts as a toggle
switch, enter it once and it will set the status to Locked. Enter L a second time, and the Locked status
is removed. FUNCTION LOCK must be enabled for the L line command to be valid. Extract Scope -
Object View screen.
M (Modify Request)
Valid in the Extract Reference List and Extract Request File Member List screens. Selects this extract
request, displays the Modify Extract Request panel where you can change the Db2 subsystem and any
object name in the request. This allows you to create an extract request on one Db2 subsystem or
MVS environment and then easily modify or "clone" it to run on a different Db2 subsystem or MVS
environment which has the same objects but with different names.
• Selects an unrelated MVS file to modify its record layout information (valid on Unrelated
Object Specification screen only).
O (ObjectOut)
In the Data Disguise - Object List, removes the selected object from the object list.
P (Passthru)
Don’t extract any data from this object, but process all relationships as if records based on the
relationship would have been extracted. Extract Scope - Object View screen.
R (Related objects)
In the Data Disguise - Object List, searches the relationship file and displays any related objects that
are not yet included in the object list. Then you can select any of the related objects to be added to
the object list.
R (Relationship View)
Mark this object to be included in the Relationship View when the VIEW primary command is
entered. Extract Scope - Object View screen.
R (Remove)
Removes an unrelated object from the Unrelated Object List.
R (Rename)
Renames a profile member (Profile Selection screen) or a request file member (Request File Member
List screen).
R (Repeat)
The R (Repeat) line command repeats a partition definition in the list of different partitions from the
model. To repeat a partition definition more than once, enter the number of repetitions with the R
line command (nnn = 1 - 999). Valid on the Tablespace Partition Definition and Index Partition
Definition panels.
S (Select)
Valid on the Browse - Relationship Summary window, RI Relationship Detail screen (load/refresh),
Application Relationship Detail screen, and Relationship Criteria screen. Valid also on the
Relationship Listing pop-up window and the Table List pop-up window. Selects a relationship or table
to be operated on.
Selects a column to load a literal in the Column Mapping screen. Selects a literal definition to be
assigned to a column in the Default Value Definition screen.
Selects an extract, load, or delete request and displays the appropriate Extract, Load, or Delete Menu
or screen (Reference List and Request File Member List screens).
Selects an object in the ObjectIn Preview, ObjectOut Preview, or Data Disguise - Object List screen or
a column/field in the Data Disguise - Column/Field List screen for data disguise.
U (Unassign Rule)
Removes a disguise rule from a column in the Data Disguise - Column/Field List.
U (Unexclude)
Valid on the Extract Scope - Object and Relationship Views, Graphical Relationship Display, Source to
Target Mapping, and Target Environment screens. Selects a previously excluded object/relationship to
be included in the extract or load.
U (Undo Remove)
Reverses removing an unrelated object from the Unrelated Object List.
U (Unlock)
Removes the lock status from a request entry in a Reference List.
U (Update)
On the Default Value Definition screen, U allows you to update literal definitions during load column
mapping.
V (View JCL)
Displays the JCL for this load or extract request. File-AID/RDX shows the Generated JCL panel where
you review and modify the load or extract JCL (Reference List and Request File Member List screens
for extract and load).
X (Exclude)
Valid on the Relationship Criteria screen and the Graphical Relationship Display screen. Excludes a
relationship from the extract or load.
• Exclude a relationship
747
A Closer Look
This appendix presents some examples that illustrate the navigational and sampling controls
available since File-AID/RDX Release 4.0. While the examples in this appendix are Db2 objects only,
the extract options apply to MVS object types as well.
Navigation Controls
The four Navigation Controls are:
• Direct (D) - Extract all of the dependents of the driving object and their dependents.
• Parent (P) - Extract parents of all extracted data to maintain the integrity of the extracted data.
• Sibling (S) - Extract other dependents of the extracted parents from the same relationships.
• Indirect (I) - Extract other dependents of the extracted parents from other relationships.
1. Driving object
2. Unrelated objects
3. Objects marked as ALL
4. Direct dependents of the driving objects
5. Parent objects
6. Siblings
7. Indirects
748 File-AID/RDX Reference
Examples Overview
The examples in this appendix use the sample training tables as referred to in the File-AID/RDX User
Guide.
The examples use the same selection criteria and differ only in the chosen Navigation Options.
Comparing the different extract steps and extracted rows in the extract files and their reports will
help you understand the differences in the extract navigation options. Follow the instructions in the
File-AID/RDX User Guide, page 1-5 on how to create the sample file. Use the File-AID/RDX Load Option
to load the Sample Extract File.
All other extract sampling criteria are set to their default values (*) with the Quiesce extract option
unless otherwise noted for each example.
The extracted D records presented in the sample extract results have been produced without
compression or disguise options to demonstrate the extract process.
Example 1
In example 1, File-AID/RDX will extract data based on ORDER_TABLE as the driving table for all rows
WHERE ORDER_NUMBER = ’BT33-C’ OR CUST_NUM = ’CW3375’.
Example 2
In example 2, File-AID/RDX will extract data based on PART_TABLE as the driving table for all rows
WHERE PART_NUMBER = ’AA4555’.
Extract Navigation Criteria Examples 749
DPSI=YYNY
Similar to Previous Extract Method STANDARD
This global navigation setting, without any overrides for any individual relationships, will extract all
direct and indirect dependents as well as their parent records, in other words, "When satisfying
relationships, always chase the structure completely down to extract all children. If you have gone up in
the structure to obtain a parent row, do not chase back down to that same relationship to select any
additional children of that parent row."
The extract of the driving table will be based on the specified selection criteria and all limits will be
respected. All of the qualified rows of the driving table are extracted, followed by the direct
dependents of the extracted rows from the driving table. Then, all of the parents of the extracted
direct dependent and driving table rows are extracted to satisfy the relationship that may exist.
Going up in the structure to extract a parent row will not cause any more children (siblings) from the
prior dependent table to be extracted. All other children (indirect) of the currently extracted rows are
then extracted.
Example 1
With the global navigation control switches set to DPSI=YYNY, File-AID/RDX will extract data in the
following way, based on ORDER_TABLE as the driving table for all rows WHERE ORDER_NUMBER =
’BT33-C’ OR CUST_NUM = ’CW3375’.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - Y
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y N -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE - Y N -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE - - - Y
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
Step 1. Extract rows from the driving table ORDER_TABLE that match ORDER_NUMBER = ’BT33-C’
or CUST_NUM = ’CW3375’.
Extract Navigation Criteria Examples 751
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows of ORDER_TABLE rows extracted
in step 1.
Number of rows extracted: 8
D005....AZ0099r..12-ER3..................1994-11-09ONTIME
D005....AZ0099r..WE234T..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....BT33-C...HT5550../...............1994-06-09WAIT
D005....BT33-C...HT4320..................1993-06-25ONTIME
D005....FF6666~..UT1245..~...............1993-05-12ONTIME
D005....GA1122...PTLKIU..................1993-06-09BEHIND
D005....GA1122...TU/345..................1994-07-03ONTIME
Step 3. Extract rows from PART_TABLE which are parent rows of ORDER_LINE_TABLE rows extracted
in step 3.
Number of rows extracted: 8
Step 4. Extract rows from CUSTOMER_TABLE which are the parent rows of ORDER_TABLE rows
extracted in Step 1.
Number of rows extracted: 2
Step 5. Extract rows from SUPPLIER_TABLE which are dependent rows of PART_TABLE rows extracted
in step 5.
Number of rows extracted: 11
Step 6. Extract rows from CONTACT_TABLE which are dependent rows of CUSTOMER_TABLE rows
extracted in step 2.
Number of rows extracted: 2
DPSI=YYNN
Similar to Previous Extract Method OPTIMUM
This global navigation setting, without any overrides for any individual relationships, will extract all
direct dependents as well as their parent records, in other words, "While satisfying relationships select
only children of parents obtained while going down in the structure. Do not select children of a row
obtained by going up in the structure."
The extract of the driving table will be based on the specified selection criteria and all limits will be
respected. All of the qualified rows of the driving table are extracted, followed by the direct
dependents of the extracted rows from the driving table. Then, all of the parents of the extracted
direct dependent and driving table rows are extracted to satisfy the relationship that may exist.
DPSI=YYNN Example 1
With the global navigation control switches set to DPSI=YYNN, File-AID/RDX will extract data in the
following way, based on ORDER_TABLE as the driving table for all rows WHERE ORDER_NUMBER =
’BT33-C’ OR CUST_NUM = 'CW3375'.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - N Inactive
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y N -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE - Y N -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE - - - N Inactive
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
Step 1. Extract rows from the driving table ORDER_TABLE that match ORDER_NUMBER =BT33-C or
CUST_NUM = ’CW3375’.
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in step 1.
Number of rows extracted: 8
D005....AZ0099r..12-ER3..................1994-11-09ONTIME
D005....AZ0099r..WE234T..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....BT33-C...HT5550../...............1994-06-09WAIT
D005....BT33-C...HT4320..................1993-06-25ONTIME
D005....FF6666~..UT1245..~...............1993-05-12ONTIME
D005....GA1122...PTLKIU..................1993-06-09BEHIND
D005....GA1122...TU/345..................1994-07-03ONTIME
Step 3. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows extracted
in step 3.
Number of rows extracted: 8
Step 4. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 1.
Number of rows extracted: 2
DPSI=YYYY
Similar to Previous Extract Method MOST
This global navigation setting, without any overrides for any individual relationships, will extract all
direct, sibling, and indirect dependents as well as their parent records, in other words, "When
satisfying relationships, always chase the structure down to extract all children. If you go up in the
structure to extract a parent row, you must also go back down in the structure to extract any other
children of that parent row that may exist."
The extract of the driving table will be based on the specified selection criteria and all limits will be
respected. All of the qualified rows of the driving table are extracted, followed by the direct
dependents of the extracted rows from the driving table. Then, all of the parents of the extracted
direct dependent and driving table rows are extracted to satisfy the relationship that may exist.
Going up in the structure to extract a parent row will cause more children (siblings) from the prior
dependent table to be extracted. All other children (indirect) of the currently extracted rows are then
also extracted. The extract is in effect being constantly re-driven as new rows are selected, in both the
downward and upward direction until all possible relationships are satisfied. This cycle continues until
steps no longer result in additional rows extracted or the cycle number exceeds the specified
maximum cycle number.
DPSI=YYYY Example 1
With the global navigation control switches set to DPSI=YYYY, File-AID/RDX will extract data in the
following way, based on ORDER_TABLE as the driving table for all rows WHERE ORDER_NUMBER =
’BT33-C’ OR CUST_NUM = ’CW3375’.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - Y
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y Y -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE Y Y Y Y
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE - Y Y -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE - - - Y
FRSAMP.SUPPLIER_TABLE SUPPPART
756 File-AID/RDX Reference
Extract Summary
Step 1. Extract rows from the driving table ORDER_TABLE that match ORDER_NUMBER = ’BT33-C’
or CUST_NUM = ’CW3375’.
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in step 1.
Number of rows extracted: 8
D005....AZ0099r..12-ER3..................1994-11-09ONTIME
D005....AZ0099r..WE234T..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....BT33-C...HT5550../...............1994-06-09WAIT
D005....BT33-C...HT4320..................1993-06-25ONTIME
D005....FF6666~..UT1245..~...............1993-05-12ONTIME
D005....GA1122...PTLKIU..................1993-06-09BEHIND
D005....GA1122...TU/345..................1994-07-03ONTIME
Step 3. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows extracted
in Step 2.
Number of rows extracted: 8
Step 4. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 1.
Number of rows extracted: 2
Step 5. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
Step 3.
Number of rows extracted: 11
Step 6. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in Step 3.
Number of rows extracted: 9
Step 7. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in Step 6.
Number of rows extracted: 6
Step 8. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in Step 7.
Number of rows extracted: 6
Step 9. Extract rows from ORDER_TABLE which are child rows to CUSTOMER_TABLE rows extracted
in Steps 4 and 8 and that also match ORDER_NUMBER = ’BT33-C’ or CUST_NUM =
’CW3375’.
Number of rows extracted: 0
(Qualifying rows did not match selection criteria)
Step 10. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in Steps 4 and 8.
758 File-AID/RDX Reference
Step 11. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows
extracted in Step 7.
Number of rows extracted: 6
D005....BB1111...YY5-UI.á.....à..î.......1994-12-09BEHIND
D005....DQ0066Ã..YY5-UI.......H..........1993-11-12AHEAD
D005....GG22-S...A55-44..ø...............1993-06-15ONTIME
D005....GG22-S...R55-22..°...............1994-10-02AHEAD
D005....IA2121...RW-098.`&...............1993-06-08WAIT
D005....IA2121...I0YU12.á.....Q..........1994-02-08BEHIND
Step 12. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in Step 11.
Number of rows extracted: 5
Step 13. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
Step 12.
Number of rows extracted: 6
Step 14. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in Step 12.
Number of rows extracted: 7
D005AA2222...I0YU12.. ...............1993-01-02ONTIME
D005AA2222...YY5-UI.......æ..`.......1994-10-23AHEAD
D005AA2222...A55-44.. ...............1994-06-22AHEAD
D005CC6666Ã..A55-44..................1994-11-09ONTIME
D005ET2555í..I0YU12..Ø...............1994-11-12ONTIME
D005GT4444à..I0YU12.. ....h..á.......1994-02-09AHEAD
D005LP4664/..R55-22.Ç.....ü..&.......1994-12-09ONTIME
Step 15. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in Step 14.
Number of rows extracted: 5
Step 16. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in Step 15.
Number of rows extracted: 2
Step 17. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in Step 15.
Number of rows extracted: 6
D005AA2222...H229ZZ..........ì.......1994-02-12AHEAD
D005AA2222...UT1234..ø...............1994-01-09AHEAD
D005ET2555í..RTY0TP..-...............1994-06-09ONTIME
D005ET2555í..JJ4537.. ...............1993-06-09WAIT
D005GT4444à..KL4445..ø.......á.......1993-01-15ONTIME
D005GT4444à..PST098.. .......ï.......1994-06-09ONTIME
Step 18. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in Step 17.
Number of rows extracted: 6
Step 19. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
Step 18.
Number of rows extracted: 6
Step 20. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in Step 18.
Number of rows extracted: 2
D005HY3333...RTY0TP..........&.......1994-06-04ONTIME
D005JC7070ø..PST098..&...............1993-03-09ONTIME
Step 21. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in Step 20.
Number of rows extracted: 2
Step 22. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in Step 21.
Number of rows extracted: 1
Step 23. Extract rows from ORDER_TABLE which are child rows to CUSTOMER_TABLE rows extracted
in Steps 16 and 20 and that also match ORDER_NUMBER = ’BT33-C’ or CUST_NUM =
’CW3375’.
Number of rows extracted: 0
(Qualifying rows did not match selection criteria)
Step 24. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in Steps 16 and 22.
Number of rows extracted: 4
Step 25. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows
extracted in Step 21.
Number of rows extracted: 1
D005HY3333...QWZ-34.ß........ñ.......1993-10-08BEHIND
Step 26. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in Step 25.
Number of rows extracted: 1
Step 27. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
Step 26.
Number of rows extracted: 1
Step 28. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in Step 26.
Number of rows extracted: 0
Total Number of rows extracted: 125
Extract Navigation Criteria Examples 761
This global navigation setting, without any overrides for any individual relationships, will extract all
direct, sibling, and indirect dependents as well as their parent records, in other words, "When
satisfying relationships, always chase the structure down to extract all children. If you go up in the
structure to extract a parent row, you must also go back down in the structure to extract any other
children of that parent row that may exist."
The extract of the driving table will be based on the specified selection criteria and all limits will be
respected. All of the qualified rows of the driving table are extracted, followed by the direct
dependents of the extracted rows from the driving table. Then, all of the parents of the extracted
direct dependent and driving table rows are extracted to satisfy the relationship that may exist.
Going up in the structure to extract a parent row will cause more children (siblings) from the prior
dependent table to be extracted. All other children (indirect) of the currently extracted rows are then
also extracted. The extract is when the cycle limit for all relationships has been reached.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria Sampling Criteria
Seq Object Name Dir Par Sib Ind Status Cycle MaxRow Dep Status
---- ----------------------------------- --- --- --- --- ------- ----- ------ --- ------
0001 FRSAMP.CUSTOMER_TABLE - - - Y 1 * *
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y Y - 1 * *
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE Y Y Y Y 1 * *
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE - Y Y - 1 * *
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE - - - Y 1 * *
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Navigation Criteria Examples 763
Extract Summary
Step 1. Extract rows from the driving table ORDER_TABLE that match ORDER_NUMBER = ’BT33-C’
or CUST_NUM = ’CW3375’.
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in step 1.
Number of rows extracted: 8
D005....AZ0099r..12-ER3..................1994-11-09ONTIME
D005....AZ0099r..WE234T..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....BT33-C...HT5550../...............1994-06-09WAIT
D005....BT33-C...HT4320..................1993-06-25ONTIME
D005....FF6666~..UT1245..~...............1993-05-12ONTIME
D005....GA1122...PTLKIU..................1993-06-09BEHIND
D005....GA1122...TU/345..................1994-07-03ONTIME
Step 3. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows extracted
in Step 2.
764 File-AID/RDX Reference
Step 4. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 1.
Number of rows extracted: 2
Step 5. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
Step 3.
Number of rows extracted: 11
Step 6. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in Step 3.
Number of rows extracted: 9
Step 7. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in Step 6.
Number of rows extracted: 6
Step 8. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in Step 7.
Extract Navigation Criteria Examples 765
Step 9. Extract rows from ORDER_TABLE which are child rows to CUSTOMER_TABLE rows extracted
in Steps 4 and 8 and that also match ORDER_NUMBER = ’BT33-C’ or CUST_NUM =
’CW3375’.
Number of rows extracted: 0
(Qualifying rows did not match selection criteria)
Step 10. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in Step 4.
Number of rows extracted: 2
DPSI=YYNN Modified
Similar to Previous Extract Method DETAILED
This extract navigation rule is: "Satisfy relationships by chasing all of the relationships exactly as
specified by the user in the "Relationship Navigation Criteria" panel." In this method, as in all methods,
the extract of the driving table will be based on the specified selection criteria and all limits will be
respected. The users specify how they want the product to chase relationships by setting the
navigation settings individually, overriding the global navigation setting.
Modified Example 1
With the global navigation control switches set to DPSI=YYNN, but the Sibling and Indirect
navigation settings "Modified" on individual relationships, this extract example will extract data
based on ORDER_TABLE as the driving table for all rows WHERE ORDER_NUMBER = ’BT33-C’ OR
CUST_NUM = ’CW3375’ and this modified navigation selection:
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - Y
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y N -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE Y Y N -
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE - Y Y -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE - - - N Inactive
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in step 1.
Number of rows extracted: 8
D005....AZ0099r..12-ER3..................1994-11-09ONTIME
D005....AZ0099r..WE234T..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....BT33-C...HT5550../...............1994-06-09WAIT
D005....BT33-C...HT4320..................1993-06-25ONTIME
D005....FF6666~..UT1245..~...............1993-05-12ONTIME
D005....GA1122...PTLKIU..................1993-06-09BEHIND
Step 3. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows extracted
in step 2.
Number of rows extracted: 8
Step 4. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 1.
Number of rows extracted: 2
Step 5. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 3.
Number of rows extracted: 9
Step 6. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 5.
Number of rows extracted: 6
Step 7. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 6.
768 File-AID/RDX Reference
Step 8. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in steps 4 and 7.
Number of rows extracted: 10
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - Y N -
FRSAMP.ORDER_TABLE
0002 FRSAMP.ORDER_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLORD
0003 FRSAMP.PART_TABLE - Y N -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
Extract Summary
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in step 1.
770 File-AID/RDX Reference
D003....AZ0099r..12-ER3..................1994-11-09ONTIME
D003....AZ0099r..WE234T..................1993-06-09ONTIME
D003....BT33-C...AA4555.......á..........1993-03-09AHEAD
D003....BT33-C...HT5550../...............1994-06-09WAIT
D003....BT33-C...HT4320..................1993-06-25ONTIME
D003....FF6666~..UT1245..~...............1993-05-12ONTIME
D003....GA1122...PTLKIU..................1993-06-09BEHIND
D003....GA1122...TU/345..................1994-07-03ONTIME
Step 3. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows extracted
in step 2.
Number of rows extracted: 8
Step 4. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 1.
Number of rows extracted: 2
In this method, as in all methods, the extract of the driving table will be based on the specified
selection criteria and all limits will be respected. The users cannot set any other navigation settings
during the extract specification.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.ORDER_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLORD
Extract Summary
As File-AID/RDX only extracts children, the extract stops after the first relationship as ORDER_TABLE
has only one direct dependent relationship to ORDER_LINE_TABLE.
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in step 1.
Number of rows extracted: 8
D002....AZ0099r..12-ER3..................1994-11-09ONTIME
D002....AZ0099r..WE234T..................1993-06-09ONTIME
D002....BT33-C...AA4555.......á..........1993-03-09AHEAD
D002....BT33-C...HT5550../...............1994-06-09WAIT
D002....BT33-C...HT4320..................1993-06-25ONTIME
D002....FF6666~..UT1245..~...............1993-05-12ONTIME
D002....GA1122...PTLKIU..................1993-06-09BEHIND
D002....GA1122...TU/345..................1994-07-03ONTIME
772 File-AID/RDX Reference
DPSI=YYNY Example 2
Similar to Previous Extract Method STANDARD
With the global navigation control switches set to DPSI=YYNY, Example 2 will extract data based on
PART_TABLE as the driving table for all rows WHERE PART_NUMBER = ’AA4555’.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - Y
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y N -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE - Y N -
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE Y - - -
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
Step 1. Extract rows from the driving table PART_TABLE that match PART_NUMBER = ’AA4555’.
Step 2. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 1.
Number of rows extracted: 2
Step 3. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 1.
Number of rows extracted: 3
D005....BS1188h..AA4555..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....FA0011...AA4555.......C..í.......1994-06-09BEHIND
774 File-AID/RDX Reference
Step 4. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 3.
Number of rows extracted: 3
Step 5. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 4.
Number of rows extracted: 3
Step 6. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in step 5.
Number of rows extracted: 3
DPSI=YYNN Example 2
Similar to Previous Extract Method OPTIMUM
With the global navigation control switches set to DPSI=YYNN, this example will extract data with
PART_TABLE as the driving table for all rows WHERE PART_NUMBER = ’AA4555’.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - N Inactive
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y N -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE - Y N -
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE Y - - -
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
Step 1. Extract rows from the driving table PART_TABLE that match PART_NUMBER = ’AA4555’.
Step 2. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 1.
Number of rows extracted: 2
Step 3. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 1.
Number of rows extracted: 3
D005....BS1188h..AA4555..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....FA0011...AA4555.......C..í.......1994-06-09BEHIND
776 File-AID/RDX Reference
Step 4. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 3.
Number of rows extracted: 3
Step 5. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 4.
Number of additional rows extracted: 3
DPSI=YYYY Example 2
Similar to Previous Extract Method MOST
With the global navigation control switches set to DPSI=YYYY this extract example will extract data
based on PART_TABLE as the driving table for all rows WHERE PART_NUMBER = ’AA4555’.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - Y
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y Y -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE - Y Y Y
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE Y Y Y -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE Y - - Y
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
Step 1. Extract rows from the driving table PART_TABLE that match PART_NUMBER = ’AA4555’.
Step 2. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 1.
Number of rows extracted: 2
Step 3. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 1.
778 File-AID/RDX Reference
D005....BS1188h..AA4555..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....FA0011...AA4555.......C..í.......1994-06-09BEHIND
Step 4. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 3.
Number of rows extracted: 3
Step 5. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 4.
Number of rows extracted: 3
Step 6. Extract rows from ORDER_TABLE which are child rows to CUSTOMER_TABLE rows extracted
in step 5.
Number of rows extracted: 3
Step 7. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in steps 4 and 6.
Number of rows extracted: 7
D005AD9797p..AS-355..&...............1993-11-23BEHIND
D005AD9797p..AS-777..................1993-06-09WAIT
D005BS1188h..12-ER3.Å................1993-10-30ONTIME
D005BT33-C...HT5550..Ø...............1994-06-09WAIT
D005BT33-C...HT4320..°...............1993-06-25ONTIME
D005HY3333...QWZ-34.ß........ñ.......1993-10-08BEHIND
D005HY3333...RTY0TP..........&.......1994-06-04ONTIME
Step 8. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows extracted
in step 7.
Number of rows extracted: 7
Step 9. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 8.
Extract Navigation Criteria Examples 779
Step 10. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 8.
Number of rows extracted: 4
D005AZ0099r..12-ER3..................1994-11-09ONTIME
D005ET2555í..RTY0TP..-...............1994-06-09ONTIME
D005GG22-S...HT5550..................1994-10-15ONTIME
D005GG22-S...HT4320..&...............1994-09-09ONTIME
Step 11. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 10.
Number of rows extracted: 3
Step 12. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 11.
Number of rows extracted: 3
Step 13. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in steps 5 and 12.
Number of rows extracted: 8
Step 14. Extract rows from ORDER_TABLE which are child rows to CUSTOMER_TABLE rows extracted
in step 12.
Number of rows extracted: 7
Step 15. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows
extracted in steps 11 and 14.
780 File-AID/RDX Reference
Step 16. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 15.
Number of rows extracted: 12
Step 17. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 16.
Number of rows extracted: 14
Step 18. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 16.
Number of rows extracted: 8
D005BB1111...YY5-UI.á.....à..î.......1994-12-09BEHIND
D005BB1111...PTLKIU.. ....... .......1993-06-09ONTIME
D005BB1111...TU/345..&...............1994-10-09ONTIME
D005CC6666Ã..A55-44..................1994-11-09ONTIME
D005GT4444à..I0YU12.. ....h..á.......1994-02-09AHEAD
D005IA2121...PTLKIU.g.....ä..î.......1994-11-09BEHIND
D005IA2121...I0YU12.á.....Q..........1994-02-08BEHIND
D005LP4664/..R55-22.Ç.....ü..&.......1994-12-09ONTIME
Step 19. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 18.
Extract Navigation Criteria Examples 781
Step 20. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 19.
Number of rows extracted: 4
Step 21. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows
extracted in step 19.
Number of rows extracted: 3
D005GT4444à..KL4445..ø.......á.......1993-01-15ONTIME
D005GT4444à..PST098.. .......ï.......1994-06-09ONTIME
D005IA2121...RW-098.`&...............1993-06-08WAIT
With the global navigation control switches set to DPSI=YYYY and all relationships CYCLE=1, this
extract example method will extract data based on PART_TABLE as the driving table for all rows
WHERE PART_NUMBER = ’AA4555’.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria Sampling Criteria
Seq Object Name Dir Par Sib Ind Status Cycle MaxRow Dep Status
---- ----------------------------------- --- --- --- --- ------- ----- ------ --- ------
0001 FRSAMP.CUSTOMER_TABLE - - - Y 1 * *
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y Y - 1 * *
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE - Y Y Y 1 * *
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE Y Y Y - 1 * *
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE Y - - Y 1 * *
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
Step 1. Extract rows from the driving table PART_TABLE that match PART_NUMBER = ’AA4555’.
Step 2. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 1.
Number of rows extracted: 2
Step 3. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 1.
Number of rows extracted: 3
D005....BS1188h..AA4555..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....FA0011...AA4555.......C..í.......1994-06-09BEHIND
Step 4. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 3.
Number of rows extracted: 3
Step 5. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 4.
Number of rows extracted: 3
Step 6. Extract rows from ORDER_TABLE which are child rows to CUSTOMER_TABLE rows extracted
in step 5.
Number of rows extracted: 3
Step 7. Extract rows from ORDER_LINE_TABLE which are child rows to ORDER_TABLE rows extracted
in steps 4 and 6.
Number of rows extracted: 3
D005....BS1188h..12-ER3.Å................1993-10-30ONTIME
D005....BT33-C...HT5550..\...............1994-06-09WAIT
D005....BT33-C...HT4320..~...............1993-06-25ONTIME
Step 8. Extract rows from PART_TABLE which are parent rows to ORDER_LINE_TABLE rows extracted
in step 7.
Number of rows extracted: 3
Step 9. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in step 5.
Extract Navigation Criteria Examples 785
The "Modified" extract example will extract data based on PART_TABLE as the driving table for all
rows WHERE PART_NUMBER = ’AA4555’ and this modified navigation selection:
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - - - Y
FRSAMP.CONTACT_TABLE CONTCUST
0002 FRSAMP.CUSTOMER_TABLE - Y Y -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0003 FRSAMP.ORDER_TABLE - Y N N
FRSAMP.ORDER_LINE_TABLE ORDLORD
0004 FRSAMP.PART_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0005 FRSAMP.PART_TABLE Y - - -
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
For this particular example, File-AID/RDX builds 6 steps to finish the extract.
Step 1. Extract rows from the driving table PART_TABLE that match PART_NUMBER = ’AA4555’.
Number of rows extracted: 1
Step 2. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 1.
Number of rows extracted: 2
Step 3. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 1.
Extract Navigation Criteria Examples 787
D005....BS1188h..AA4555..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....FA0011...AA4555.......C..í.......1994-06-09BEHIND
Step 4. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 2.
Number of rows extracted: 3
Step 5. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 4.
Number of rows extracted: 3
Step 6. Extract rows from ORDER_TABLE which are child rows to CUSTOMER_TABLE rows extracted
in step 5.
Number of rows extracted: 3
Step 7. Extract rows from CONTACT_TABLE which are child rows to CUSTOMER_TABLE rows
extracted in step 5.
Number of rows extracted: 3
The Direct "Plus" extract example will extract data based on PART_TABLE as the driving table for all
rows WHERE PART_NUMBER = ’AA4555’. The users cannot set any other navigation settings during
the extract specification.
Navigation Setting
SSID: DSN Location: DSNLOCAT Navigation Criteria
Seq Object Name Dir Par Sib Ind Status
---- ---------------------------------------------- --- --- --- --- ----------
0001 FRSAMP.CUSTOMER_TABLE - Y N -
FRSAMP.ORDER_TABLE CUSTOMER TO ORDERTABLE
0002 FRSAMP.ORDER_TABLE - Y N -
FRSAMP.ORDER_LINE_TABLE ORDLORD
0003 FRSAMP.PART_TABLE Y - - -
FRSAMP.ORDER_LINE_TABLE ORDLPRT
0004 FRSAMP.PART_TABLE Y - - -
FRSAMP.SUPPLIER_TABLE SUPPPART
Extract Summary
For this particular example, File-AID/RDX builds 5 steps to finish the extract.
Step 1. Extract rows from the driving table PART_TABLE that match PART_NUMBER = ’AA4555’.
Number of rows extracted: 1
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 1.
Number of rows extracted: 3
D005....BS1188h..AA4555..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....FA0011...AA4555.......C..í.......1994-06-09BEHIND
Step 3. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 1.
790 File-AID/RDX Reference
Step 4. Extract rows from ORDER_TABLE which are parent rows to ORDER_LINE_TABLE rows
extracted in step 2.
Number of rows extracted: 3
Step 5. Extract rows from CUSTOMER_TABLE which are parent rows to ORDER_TABLE rows
extracted in step 4.
Number of rows extracted: 3
In this method, as in all methods, the extract of the driving table will be based on the specified
selection criteria and all limits will be respected. The users cannot set any other navigation settings.
With the global navigation control switches locked to "All Children Only", this extract example will
extract data based on PART_TABLE as the driving table for all rows WHERE PART_NUMBER =
’AA4555’.
Navigation Setting
Extract Summary
As File-AID/RDX only extracts children, the extract stops after two relationships as
ORDER_LINE_TABLE and SUPPLIER_TABLE have no dependent relationships of there own.
For this particular example, File-AID/RDX builds 3 steps to finish the extract.
Step 1. Extract rows from the driving table PART_TABLE that match PART_NUMBER = ’AA4555’.
Step 2. Extract rows from ORDER_LINE_TABLE which are child rows to PART_TABLE rows extracted
in step 1.
Number of rows extracted: 3
D005....BS1188h..AA4555..................1993-06-09ONTIME
D005....BT33-C...AA4555.......á..........1993-03-09AHEAD
D005....FA0011...AA4555.......C..í.......1994-06-09BEHIND
792 File-AID/RDX Reference
Step 3. Extract rows from SUPPLIER_TABLE which are child rows to PART_TABLE rows extracted in
step 1.
Number of rows extracted: 2
Glossary
Overview
This glossary contains definitions of terms
particular to File-AID/RDX, this document, or
B
subject matter related to File-AID/RDX.
batch. Processing in which jobs are grouped
together (batched). The jobs are executed sequen-
A tially, and each job must be processed to comple-
tion before the following job can begin execution.
alias. An alternate name for a Db2 table or view BLOB (binary large object). A sequence of
requiring SYSADM or SYSCRTL authority or the binary data, up to 2 GB - 1, without an associated
CREATE ALIAS privilege to define it. An alias can CCSID.
be defined on the name of a table or view that is
not on the current server. The table or view need
not be defined when the alias is defined. Dropping C
a table or view has no effect on its aliases. An alias
can be used by any authorization ID. An alias
defined at one Db2 subsystem cannot be used at catalog. Db2-maintained tables that contain
another Db2 subsystem. descriptions of all Db2 objects.
application relationship (AR). A relationship chase key. Field (or combination of fields) that
created by the user or an application. Application File-AID/RDX uses to 'chase' or retrieve records
relationships are not recognized by Db2. Applica- from the dependent or parent object. The key is
tion relationships can be defined between Db2, composed from the related field(s) between the
MVS, and IMS objects. parent and child.
disguise control file (DCF). The Disguise Control foreign key. A key that is specified in the defini-
File contains sets of disguise rules for specific tion of a referential constraint.
objects and determines which File-AID/Data Solu-
tions disguise criteria is applied to which object
when disguising the data of an extract file.
I
disguise criteria file. The disguise criteria file IAM. Innovation access method.
contains the sets of File-AID/Data Solutions
change criteria for the objects to be disguised. indirect descendant. The indirect descendant
path includes two different situations. First, it is
distinct type. A user-defined data type that is the downward navigation from any object reached
defined from an existing built-in type (base type). in an upward direction. Second, it is downward
navigation from the driving object and it's direct
DPSI. Short for the four navigation flags Direct descendents for all rows other than the original
descendant, Parent, Indirect descendant and Sib- selection from the driving object.
ling. See also navigation path.
Innovation Access Method (IAM). Key-indexed
driving object. The MVS file or Db2 table file access method, by Innovation Data Processing,
selected to be the starting point of the extract pro- Inc., intended primarily for use as a transparent
cess. alternative to VSAM.
795
KEY relationship (AR). An application relation- parent path. In an extract, any object that is on
ship (AR) between a Db2 table or MVS file (parent) the upward navigation from a selected object has a
and an Output Key File (dependent) created by the valid parent path. This does not mean that every
user or an application. Also used to create a rela- relationship has a valid parent path; navigation
tionship to an IMS database. These AR relation- has to be possible in an upward direction for the
ships are not recognized by Db2. parent path to be valid.
locking. The process by which integrity of data is record layout file. The record layout file is a file
ensured. Locking prevents concurrent users from containing source code record layouts. A record
accessing inconsistent data. layout file can be a sequential, partitioned, CA
Panvalet, or CA Librarian file. A record layout can
be a separate file or member.
M
referential constraint. The requirement that
nonnull values of a designated foreign key are
member. One partition of a partitioned file. valid only if they equal values of the primary key
of a designated Db2 table.
MVS. Multiple Virtual Storage. An IBM operating
system that manages multiple virtual address referential integrity (RI) relationship. A rela-
spaces in IBM processors. tionship required by Db2 rules. Information about
referential integrity relationships is gathered by
File-AID/RDX at installation time to create a rela-
N tionship file.
navigation path. In an extract, each relation- related criteria (rule). Related disguise criteria is
ship will have four navigation flags associated defined once for a field and then propagated to
with it; direct descendant, parent, indirect descen- related fields in other objects.
dant and sibling. How the object is related to the
driving object will determine which navigation relationship. A defined connection between the
paths are valid for each relationship. records of one or two objects. The objects can be
Db2 tables and/or MVS files. A Db2 relationship is
the internal representation of a Db2 referential
P constraint.
source object. An MVS file or Db2 table from view. An alternative representation of data from
which data is extracted. one or more Db2 tables. A view can include all or
some of the columns contained in the table or
synonym. An alternate name for a Db2 table or tables on which it is defined.
view requiring no authorization to define it. A
synonym can only be defined on the name of an VSAM (Virtual Storage Access Method). A high-
existing view or table at the current server. Drop- performance mass storage access method. File-
ping a table or view drops its synonyms. A syn- AID/RDX supports two types of data organization:
onym can only be used by the authorization ID entry sequenced datasets (ESDS) and key
that created it. sequenced datasets (KSDS).
X
XREF. Record layout cross reference. XREFs
describe how record layouts are to be associated
with individual file records or record segments. If
a file has more than one record type and requires
more than a single record layout to describe it,
you can use an XREF to establish application rela-
tionships.
798 File-AID/RDX Reference