Previous Topic

Next Topic

Book Contents

Book Index

"Change To" Processing (CTDUFUPD)

All values specified after a CHANGE TO statement, until the end of the JCL stream or until the next SELECT statement, replace the existing values in the selected records. The ? wild-character can be used when specifying "change to" values.

For example

CHANGE TO

USER=a???????

means that the first character in the USER field is replaced with ‘a’ and the remaining 7 characters are not changed

USER=a?b?????

means that the first character in the USER field is replaced with ‘a’, the third character is replaced with ‘b’, and the other 6 characters are not changed.

Parent Topic

CTDUFUPD – Global Scan or Change of User Files