The FILE facility lets you view, update, add and delete records, and search for character strings. You can perform these functions at any time (for example, while your program is at a breakpoint). You can use FILE with VSAM and BDAM files, DL/I and DB2 databases, temporary storage records, and transient data records. You can also use FILE when no program is executing to perform routine file maintenance.
FILE displays records in dump format, character format, vertical format, and structured format. To display the record in different formats, press PF2. For structured format, which displays records or DL/I segments on a field‑by‑field basis, you also must identify the program containing the structure.
Example
Take advantage of the FILE facility when you are testing your own programs. You can use FILE to change your test records or to create additional records in the middle of a test session. You can also use FILE to make sure your program has successfully updated a file.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|