JCL itself is unable to do this, however there is a suite of programs beginning with IEB*.I think the one you're looking for is IEBUPDTE. The syntax of the commands are so arcane that it'...
JCL itself cannot update any file. JCL only can execute other programs. Period.Any file update can be done either by a standard utility program, or by specifically written user program. Period.