I don't quite understand the problem. (Assuming that you mean a 'program described' file...) You work with a "flat file" in COBOL like any SEQUENTIAL disk file.
What problem are you having? What coding have you tried?
Tom
Records and fields for a program-described file are described by coding record descriptions in the File Section of the COBOL program instead of using the Format 2 COPY statement.
The file must exist on the system before the program can run, except when you use dynamic file creation, by specifying GENOPT(*CRTF) on the CRTCBLPGM command. Please elaborate your problem so that we could find the core of issue you face. Share sample code please
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 3  Replies