Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Creating multiple identical copies z/OS DFSORT: Getting Started SC23-6880-00 |
|||||||||
Suppose you want to create backups for your data set; on disk for the local site and on tapes for the remote sites. You can do this by using OUTFIL and the FNAMES parameter with an OPTION COPY statement. The FNAMES parameter identifies the DD statements in your JCL for your output data sets by their DD names. Sample JCL and DFSORT control statements are as follows.
Note: The previous JCL includes two tape data
sets. Substitute your own tape data set information if you want to
run this example.
Here are the steps for writing the OUTFIL statement:
This OUTFIL statement creates three backup copies of your data set: one on-site disk data set, and two tapes that can be sent to remote sites. You can also complete this task using the FILES parameter of OUTFIL. With FILES, you assign SORTOFd or SORTOFdd DD statements instead of naming unique DD statements. Sample JCL and DFSORT control statements using FILES are as follows.
Both FNAMES and FILES create the same output, but FNAMES lets you use descriptive names of up to 8 characters for your OUTFIL DD statements instead of one or two cryptic suffix characters. FNAMES is recommended and is used in all of the multiple output examples in the rest of this chapter. Note: If you do not specify a FNAMES or FILES parameter for an OUTFIL
statement, the OUTFIL ddname is SORTOUT by default.
|
Copyright IBM Corporation 1990, 2014
|