I need to load a table from production data to test with some restriction, say that i want only four years of data. For this I tried using when clause in unload, it failed as i was trying to do unload from copy. then i unloaded all data, and tried to use the when clause in the load control card, but again it failed. portion of the control card is given. please suggest the exact syntax.
DSNU000I DSNUGUTC - OUTPUT START FOR UTILITY, UTILID = LOAD01
DSNU005I DSNUGPRW - LOAD DATA INDDN SYSREC LOG NO REPLACE NOCOPYPEND
DSNU005I DSNUGPRW - EBCDIC CCSID(00037,00000,00000)
DSNU005I DSNUGPRW - INTO TABLE "DEVT "."HIST_T "
DSNU005I DSNUGPRW - WHEN WO_OPEN_DT2 >='2003')
DSNU049I DSNUGPRW - INVALID OPERAND ''2003'' FOR KEYWORD 'WHEN'
DSNU005I DSNUGPRW - ( "PARTN_NO " POSITION( 00003:00003) CHAR(00