this is the code this was written by Avi HECHT and i got it from here : http://search400.techtarget.com/tip/0,289483,sid3_gci1098569,00.html AddEnvVar EnvVar(TM) Value(&RECORD) Replace(*YES) ChgVar Var(&DATA) Value('ECHO $TM >>' *BCAT + '/QSYS.LIB/' *TCAT &LIB *TCAT '.LIB/' + *TCAT &FILE...