SMS Beginner
Joined: 16 Oct 2005 Posts: 53 Topics: 24
|
Posted: Wed Jul 19, 2006 7:01 am Post subject: Data unload irrespective of filter condition |
|
|
Hi All,
Could you please help me out in solving the following issue.
My requirement is unload specific columns from a table based on
a condition and for that I have constructed the below job. But it unloads
all the columns and rows from the table irrespective of the control card.
Code: |
//UTIL EXEC DSNUPROC,SYSTEM=DSN,UID='TMSSMT',UTPROC=''
//*
//**********************************************
//*
//* GENERATING JCL FOR THE UNLOAD UTILITY
//* DATE: 07/18/06 TIME: 23:17:03
//*
//**********************************************
//*
//DSNUPROC.SYSREC DD DSN=TMSSMT.TEST,
// DISP=(OLD,CATLG,CATLG),
// SPACE=(CYL,(20,20),,,ROUND),
// UNIT=SYSDA
//DSNUPROC.SYSPUNCH DD DSN=TMSSMT.TEST2,
// DISP=(OLD,CATLG,CATLG),
// SPACE=(CYL,(20,20),,,ROUND),
// UNIT=SYSDA
//DSNUPROC.SYSIN DD *
UNLOAD TABLESPACE SCSCORTS.SCSCR01D
FROM TABLE IAMA.SCSCROE_JAN (Field1, Field2, Field3)
WHEN (Field1 = 12345)
//
|
Regards,
SMS _________________ Regards,
SMS |
|