![]() |
UPD Update a File/Library Element/JV from EDT
UPD[n] Rewrite the contents of the EDT work file n to the file/library element/Job variable.
This Action Code is entered by CFS automatically in the Action Code field when returning from EDT. If the data object is not to be updated, then the Action Code should be overwritten with blanks. The individual updates are acknowledged by displaying U---U at the end of the line.
When updating an element of an ISAM LMS library with AI mode set (Automatic Increment of Version), then a new version will be created with a version number one higher than before.
EPD[n] Same effect as UPD[n], except that after the update EDT is invoked again to carry on processing the data object. The Action Code EPD can thus be used to perform an interim save of the data object.
WPD[n] Same effect as UPD[n], except that the data consistency check will not be performed. In this case, the data object will always be rewritten, even if the modification date and time stamp does not match that when the object was read. This Action Code is useful if the user has written the file explicitly with a Write command, and then later wishes to perform a UPD Action Code.