Ricc, You may use any number of asterisks and percent signs in the subentry 'value' of the IF condition. However, for the 'to' and 'from' values on the CHANGE statement there can be only one asterisk and it must be the last character (or only character). When used for the 'from' value, it means that SMP/E must change all names beginning with the specified string (SMPA.*). When used for the 'to' value, it means that SMP/E must change all values meeting the CHANGE criteria so they begin with the specified string. Your second example illustrates this:
ZONEEDIT DDDEF. IF (DATASET=*.TGTA.*) CHANGE DATASET(SMPA.*,SMPB.*). ENDZONEDIT. Any number of asterisks are allowed in the subentry 'value' on the IF condition, but in the 'to' and 'from' values of the CHANGE statement, there can be only one asterisk and it must be last. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html