Previous Topic: How EDIF Prevents Simultaneous Updates When Serialization Is OmittedNext Topic: How EDIF Prevents Updates by Inappropriate Programs


How EDIF Prevents Updates When Programs Extract Data Before Opening Data Sets

EDIF can prevent damage that occurs when a program extracts information before a data set is serialized and a second program updates that data set in the meantime. You can tell EDIF to detect and prevent this type of update. First, determine whether a program extracts information before issuing an OPEN request for a data set. If it does, then tell EDIF to check the JCL for the value DISP=OLD whenever that program tries to update a protected data set. If DISP=OLD is not specified, then EDIF records the update, prevents the update, or does both by abending the program.