You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
|<br />
Contents<br />
About <strong>File</strong> <strong>Management</strong> . . . . . . . vii<br />
Who should read the <strong>File</strong> <strong>Management</strong> book . . . vii<br />
What’s new in V4R5 <strong>File</strong> <strong>Management</strong> . . . . . vii<br />
Chapter 1. Introduction to <strong>File</strong><br />
<strong>Management</strong> . . . . . . . . . . . . . 1<br />
<strong>File</strong> types . . . . . . . . . . . . . . . 1<br />
Chapter 2. <strong>File</strong> processing . . . . . . . 3<br />
<strong>File</strong> <strong>Management</strong> operations overview . . . . . . 3<br />
<strong>File</strong> security considerations . . . . . . . . . 8<br />
Object authority . . . . . . . . . . . . 8<br />
Data authorities . . . . . . . . . . . . 9<br />
Authorities required for file operations . . . . 10<br />
Limiting access to files and data when creating<br />
files . . . . . . . . . . . . . . . . 11<br />
Sharing files . . . . . . . . . . . . . . 12<br />
Open considerations for files shared in a job . . 13<br />
I/O considerations for files shared in a job . . . 14<br />
Close considerations for files shared in a job . . 15<br />
Allocating file resources . . . . . . . . . . 15<br />
<strong>File</strong> resource allocation . . . . . . . . . 16<br />
<strong>File</strong> resources that must be allocated . . . . . 16<br />
How the system allocates resources . . . . . 16<br />
Opening files . . . . . . . . . . . . . . 17<br />
Scoping of opened files . . . . . . . . . 18<br />
Opening files using temporary file descriptions 18<br />
Open considerations when using *LIBL with a<br />
DDM file . . . . . . . . . . . . . . 20<br />
Detecting file description changes . . . . . . 21<br />
Displaying information about open files . . . . 22<br />
Monitoring file status with the open and I/O<br />
feedback area. . . . . . . . . . . . . 23<br />
<strong>File</strong> error detection and handling by the system . . 24<br />
Messages and message monitors in files by the<br />
system . . . . . . . . . . . . . . . 25<br />
Major and minor return codes in files by the<br />
system . . . . . . . . . . . . . . . 26<br />
Recovering from file system errors. . . . . . 28<br />
Related information on file types . . . . . . . 31<br />
Chapter 3. Using overrides . . . . . . 33<br />
Overrides: An overview . . . . . . . . . . 33<br />
Benefits of using overrides . . . . . . . . 34<br />
Summary of the override commands . . . . . 34<br />
Effect of overrides on some commands . . . . 35<br />
Using overrides in multithreaded jobs . . . . 37<br />
Applying overrides . . . . . . . . . . . . 37<br />
Overriding file attributes . . . . . . . . . 38<br />
Overriding file names . . . . . . . . . . 39<br />
Overriding file names and file attributes. . . . 39<br />
Overriding the scope of an open file . . . . . 40<br />
How the system processes overrides . . . . . 40<br />
Effect of exits on overrides: scenario . . . . . 48<br />
Effect of TFRCTL on overrides-Scenario . . . . 49<br />
|<br />
|<br />
|<br />
|<br />
|<br />
|<br />
|<br />
Overrides to the same file at the same call level:<br />
scenario 1 . . . . . . . . . . . . . . 49<br />
Overrides to the same file at the same call level:<br />
scenario 2 . . . . . . . . . . . . . . 49<br />
CL program overrides . . . . . . . . . . 50<br />
Securing files against overrides . . . . . . . 51<br />
Using a generic override for printer files . . . 51<br />
Applying overrides when compiling a program 53<br />
Deleting overrides . . . . . . . . . . . . 54<br />
Deleting overrides: scenario 1 . . . . . . . 55<br />
Deleting overrides: scenario 2 . . . . . . . 55<br />
Displaying overrides . . . . . . . . . . . 57<br />
Displaying all overrides for a specific activation<br />
group: scenario . . . . . . . . . . . . 57<br />
Displaying merged file overrides for one file:<br />
scenario . . . . . . . . . . . . . . 58<br />
Displaying all file overrides for one file: scenario 58<br />
Displaying merged file overrides for all files:<br />
scenario . . . . . . . . . . . . . . 58<br />
Displaying overrides with WRKJOB: scenario . . 58<br />
Displaying overrides: comprehensive scenario . . 59<br />
Displaying overrides: tips . . . . . . . . 63<br />
Redirecting files . . . . . . . . . . . . . 64<br />
Planning for redirecting files. . . . . . . . 65<br />
Redirecting files: tips . . . . . . . . . . 65<br />
Default actions for redirected files . . . . . . 66<br />
Chapter 4. Copying files . . . . . . . 69<br />
Copying physical or logical files . . . . . . . 69<br />
Copying files: overview . . . . . . . . . . 70<br />
Copying files: commands . . . . . . . . . 70<br />
Copying files: supported functions . . . . . 73<br />
Copying files: basic functions . . . . . . . 76<br />
Creating the to-file (CRTFILE parameter) . . . . 82<br />
Specifying CRTFILE(*YES) on either the CPYF or<br />
CPYFRMQRYF command. . . . . . . . . 83<br />
Authorities, user profiles, and file capabilities of<br />
the to-file created by Copy <strong>File</strong> (CPYF) . . . . 83<br />
Adding, replacing, and updating records (MBROPT<br />
parameter). . . . . . . . . . . . . . . 84<br />
Specifying *REPLACE when copying files . . . 84<br />
Specifying *ADD when copying files . . . . . 85<br />
Specifying *UPDADD when copying files . . . 87<br />
Copying records into files that use trigger<br />
programs . . . . . . . . . . . . . . 88<br />
Selecting members to copy . . . . . . . . . 88<br />
Copying file members: overview . . . . . . 88<br />
Allowed copy operations and parameters . . . 89<br />
Copying all members or labels within a file . . 89<br />
Copying only certain members or labels within a<br />
file . . . . . . . . . . . . . . . . 90<br />
Specifying the label identifier or member name<br />
for the copy operation . . . . . . . . . . 90<br />
© Copyright <strong>IBM</strong> Corp. 1998, 2000 iii