Copying VSAM Dataset into PS Dataset
Overview
How to convert VSAM indexed files into PS (Physical Sequential) flat files using FILE-AID, particularly when standard IDCAMS REPRO fails.
Procedure
- Use FILE-AID Copy Function — Access the regular file copy option in FILE-AID using selection 3.3 on the indexed file
- Configure Output Dataset — Specify the output dataset name with
DISPOSITION=OLD, select 'B' (BATCH) mode, and press Enter - Handle Error Message — You will receive: "ER852-OUTPUT DATASET NOT AVAILABLE, TAPE ASSUMED." This can be safely ignored. Type
JCLon the command line and press Enter - Modify JCL Parameters:
- Remove the output dataset's DISP, UNIT, and LABEL parameters
- Add
(NEW,CATLG,DELETE)disposition - Include required SPACE and DCB parameters