Generate overrides
The Generate File Overrides screen is displayed when you select option U.3 from the Primary Option Menu, or option 3 from the Utilities Selection Menu. The Generate File Overrides screen, shown in the following figure, allows you to specify the criteria to process when generating an entry for a file override.
Generating overrides is executed as a batch job. All selected criteria is processed, and one entry is written for each data set or file name specified within any of the criteria sets within the selected criteria.
Generate File Overrides
COMMAND ===> SCROLL ===> PAGE
Specify Change Criteria Information:
Dataset name ===> ‘TSOID01.CUST1.DCF'
Member name ===> (Blank = member list; * = all members)
Specify File Override Information:
Override dataset name ===> *
Member name ===> (Blank or pattern for member list)
Field Descriptions
Specify Change Criteria Information:
Dataset name
Enter the change criteria data set name to populate the File Override data set.
You can enter a pattern data set name in this field to display a list of data sets from which you can make a selection. A pattern data set name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Data set Names in section Specifying-a-dataset-name for a complete description.
Member name
Specify the member name. You can leave this field blank or enter a pattern member name to display a list of members from which you can make one or more selections. A pattern member name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Member Names in section Specifying-a-dataset-name for a complete description. Pattern names cannot be entered in both the Dataset name and Member name fields at the same time.
Specify File Override Information:
Override dataset name
Enter the name of the File Override data set. The data set can be a sequential file, PDS, or PDS/E. The data set record format can be fixed or variable. The logical record length (LRECL) for fixed is 156 or greater. LRECL for variable is 160 or greater. If the data set does not exist, an allocation screen is displayed so a data set can be created. For more information, see Override Data set Allocation.
You can enter a pattern data set name in this field to display a list of data sets from which you can make a selection. A pattern data set name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Data set Names in section Specifying a data set name for a complete description.
Member name
Specify the member name. You can leave this field blank or enter a pattern member name to display a list of members from which you can make a selection. A pattern member name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Member Names in section Specifying-a-dataset-name for a complete description. Pattern names cannot be entered in both the Dataset name and Member name fields at the same time.
OVERRIDE Select Member List
The OVERRIDE Select Member List screen, shown in the following figure, is displayed when a blank or a pattern is specified in the Member name field for the File Override data set on the Generate File Overrides - Dataset Specification screen. The list may be scrolled using LOCATE commands (LOC mem) or scrolling commands (such as UP and DOWN).
See Member List Field Descriptions for a description of each field on this screen. See Member List Primary Commands for a list of valid primary commands.
Override Select Member List Screen
COMMAND ===> SCROLL ===> CSR
S NAME VV.MM CREATED CHANGED SIZE INIT MOD ID
TESTA
TESTB 01.00 08/03/21 08/03/21 08:39 1 1 0 TSOID01
TESTC 01.15 00/03/20 08/02/22 07:35 2 2 0 TSOID01
TESTE 01.00 08/03/21 08/03/21 08:39 1 1 0 TSOID01
******************************* Bottom of data ********************************
Override data set allocation
The Allocate Dataset New screen is displayed when the override data set does not exist. This allocate screen is based on whether or not a member name for a File Override data set is entered at the Generate Overrides screen.
The below figure shows the allocation screen for a sequential dataset. Specify the allocation parameters for the new output data set.
Override dataset allocation
COMMAND ===>
Dataset name: USERID0.DASAMP.NEW
Management Class ===> SAMPLE@S (Blank for default)
Storage Class ===> STDD0DFW (Blank for default)
Data Class ===> (Blank for default)
Specify one of the following two fields:
Volume serial ===> PRD921 (Blank for authorized default volume)
Generic unit ===> (Generic group name or unit)
Space units ===> TRKS (TRKS; CYLS; BLKS)
Primary quantity ===> 1 (In above units)
Secondary quantity ===> 1 (In above units)
Directory quantity ===> 0 (Partitioned only)
Record format ===> FB
Record length ===> 156
Block size ===> 0
Expiration date ===> (YYYY/MM/DD or blank)
Dataset Name Type ===> (Library, PDS, LArge, or blank)
Number of Volumes ===> N (N = None; Y = Multiple VOLSERs:
or enter generic volume count)
Field Descriptions
The displayed values can be accepted or changed by overtyping them.
Dataset name
Name of new data set specified in the Output Dataset name field on the Output Specification screen.
Management Class
Specify the management class to use for the allocation of the data set. The management class describes the migration, backup, and retention for the data set.
Storage Class
Specify the storage class to use for the allocation of the data set. The storage class describes the hardware requirements of the data set.
Data Class
Specify the data class to use for the allocation of the data set. The data class describes the attributes of the data set such as RECFM, DSORG, LRECL, BLKSIZE, etc.
Specify Allocation Parameters:
Volume serial
Specify the volume serial of the direct access device that you want to contain the data set. Specify the location in either the Volume serial or Generic unit field.
Generic unit
Generic unit address for the direct access volume to contain the data set. Specify the location in either the Volume serial or Generic unit field.
Space units
Specify one of the following storage unit types depending on how the data set size is expressed:
TRKS | Tracks |
CYLS | Cylinders |
BLKS | Number of blocks. |
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.
Record format
Specify a value with a combination of the following codes (F or V is required):
F | Fixed length |
V | Variable length |
Record length
Specify a logical record length, in bytes, of the records to be stored in the data set. File-AID/Data Solutions validates this value with the record format and block size. The following record lengths are valid:
Fixed | 156 or greater |
Variable | 160 or greater |
Block size
Specify the physical record length, in bytes, of the blocks to be stored in the data set. File-AID/Data Solutions validates this value with the record format and record length.
Expiration date
(Optional) Specify a date value in the format: YYYY/MM/DD. This value specifies the date when the data set may be deleted. If this field is left blank, the data set can be deleted immediately.
Dataset Name Type
Specify the type of new data set name. Valid entries are: Library, PDS, or blank (default).
Number of Volumes
Specify whether you want to allocate the data set on multiple volumes. Valid entries are Y (Yes), N (No), or a number from 2 to 255 for the number of generic volumes to allocate. When you specify Y, File-AID/Data Solutions displays the Specify Volume Serial Numbers pop-up window. You may enter up to 40 specific volume serial numbers.
Press <Enter> to allocate the data set, or use the END command (PF3) to cancel the allocation.
Generating override JCL
When you have completed all appropriate field entries for generating a File Override data set, press <Enter> and the Override - JCL Specification screen, shown in the below figure, is displayed.
Override JCL Specification Screen
COMMAND ===>
JCL Information for Batch Processing:
SYSOUT class ===> *
JOB Statement Information:
===> //TSOID01 JOB (’OFABAS9.0.1MNT’,W07,1,1),’DATA’,
===> // CLASS=Q,MSGCLASS=R,NOTIFY=TSOID01
===>
===>
Use JCL command to edit generated JCL
Use SUBMIT command to submit batch job
Use END to return to main GENERATE OVERRIDE panel without submitting job
On the Override - JCL Specification screen you can enter the following commands:
JCL | File-AID/Data Solutions generates the JCL to process the job and displays it on an edit screen, as shown in the following figure. |
SUBMIT | Submits the batch job. |
CANCEL | Terminates the function. |
END | Terminates the function. |
Override JCL Edit Screen
Command ===> SCROLL ===> PAGE
==MSG> -Warning- The UNDO command is not available until you change
==MSG> your edit profile using the command RECOVERY ON.
****** ********************************* Top of Data **************************
000001 //TSOID01 JOB (’OFABAS9.0.1MNT’,W07,1,1),’DATA’,
000002 CLASS=Q,MSGCLASS=R,NOTIFY=TSOID01
000003 //* YOU ARE VIEWING JCL THAT FILE-AID/DATA SOLUTIONS 23.1 HAS GENERATED
000004 //* TO POPULATE THE OVERRIDE FILE FROM EXISTING CHANGE CRITERIA.
000005 //*
000006 //* YOU CAN CHANGE THIS JCL IF DESIRED AND USE THE SUBMIT PRIMARY
000007 //* COMMAND TO SUBMIT THE JOB. THE CREATE OR REPLACE PRIMARY COMMAND
000008 //* CAN BE USED TO KEEP THIS JOBSTREAM FOR FUTURE USE.
000009 //*
000010 //* USE THE END COMMAND TO EXIT WITHOUT SUBMITTING THE JOB.
000011 //*
000012 //JS10 EXEC PGM=UDASOLUT,REGION=8M
000013 //STEPLIB DD DISP=SHR,DSN=hlq.CXVJLOAD
000014 // DD DISP=SHR,DSN=hlq.SXVJLOAD
000015 //SYSPRINT DD SYSOUT=*
000016 //SYSLIST DD SYSOUT=*
000017 //DD01 DD DSN=TSOID01.V211.CHGCRIT.UPD,
000018 // DISP=OLD
000019 //DD1OVER DD DSN=TSOID01.TEST.OVR1(TESTA),
000020 // DISP=OLD
000021 //SYSIN DD *
000022 //$$DD01 SCOVER MEMBER=(ENCRYPT)
000023 /*
000024 //
The generated JCL can be edited, submitted with the SUBMIT primary command, and saved by using the CREATE or REPLACE primary commands. Saving your generated Override function JCL allows you to postpone execution or rerun the same job at another time.
Editing the file override data set
Each entry written to the File Override data set includes the old file name and the new file name. The old and the new file name are initially the same, until you edit the new file name. To edit the new file name, you can use ISPF EDIT or File-AID/MVS. the below figure is an example of a File Override data set before being edited.
File Override Data set Before Editing
-------------------------------------------------------------------------------
BROWSE TSOID01.TEST.OVERRIDE Line 00000000 Col 001 099
Command ===> Scroll ===> PAGE
*****************************************Top of Data**********************************
* D=‘TSOID01.DASAMP.EURORATE.FACTORS’ NEW=‘TSOID01.DASAMP.EURORATE.FACTORS’
OLD=‘FA.DA.OV.LASTNAM2.TABLE’ NEW=’FA.DA.OV.LASTNAM2.TABLE’
OLD=‘FA.DA.BASE.V420.CHGCRIT.QC’ NEW=‘FA.DA.BASE.V420.CHGCRIT.QC’
OLD=‘FA.DA.OV.EURORATE.FACTOR1.QC’ NEW=‘FA.DA.OV.EURORATE.FACTOR1.QC’
OLD=‘FA.DA.OV.LASTNAM3.TABLE’ NEW=’FA.DA.OV.LASTNAM3.TABLE’
OLD=‘FA.DA.BASE.V420.UVT.QC’ NEW=’FA.DA.BASE.V420.UVT.QC’
OLD=‘FA.DA.OV.LASTNAM4.TABLE’ NEW=’FA.DA.OV.LASTNAM4.TABLE’
OLD=‘FA.DA.BASE.V420.ENCRYPT.KEY1.QC’ NEW=’FA.DA.BASE.V420.ENCRYPT.KEY1.QC’
OLD=‘FA.DA.OV.LASTNAM5.TABLE’ NEW=’FA.DA.OV.LASTNAM5.TABLE’
OLD=‘FA.DA.OV.LASTNAM6.TABLE’ NEW=’FA.DA.OV.LASTNAM6.TABLE’
OLD=‘FA.DA.OV.DATERATE.FACTORS’ NEW=‘FA.DA.OV.DATERATE.FACTORS’
OLD=‘FA.DA.BASE.V420.ENCRYPT.KEY2.QC’ NEW=’FA.DA.BASE.V420.ENCRYPT.KEY2.QC’
The columns in the data set are described below:
Column | Description |
|---|---|
1-4 | OLD= |
5-60 | Old data set name within single quotes without imbedded blanks |
62-65 | NEW= |
66-121 | New data set name within single quotes without imbedded blanks |
An asterisk in column 1 is treated as a comment record and is ignored.
Related topics