Determine when a source statement was changed

Each source record contains a date field which is automatically updated by the source entry utility (SEU) if a change occurs to the statement. This can be used to determine when a statement was last changed.

Most high-level language compilers print these dates on the compiler lists. The Copy File (CPYF) and Copy Source File (CPYSRCF) commands also print these dates.

Each source member description contains two date and time fields. The first date/time field reflects changes to the member any time it is closed after being updated.

The second date/time field reflects any changes to the member. This includes all changes caused by SEU, commands (such as CRYF and CPYSRCF), authorization changes, and changes to the file status. For example, the FRCRATIO parameter on the Change Physical File (CHGPF) command changes the member status. This date/time field is used by the Save Changed Objects (SAVCHGOBJ) command to determine if the member should be saved. Both date/time fields can be displayed with the Display File Description (DSPFD) command specifying TYPE(*MBR). There are two changed date/times shown with source members: