pattabiraman.baskaran
New User
Joined: 10 Aug 2006 Posts: 23
|
|
|
|
Hi,
My requirement is to delete a record from a KSDS VSAM file and and to save the rest of the records in the same VSAM file.
I used VSAMIO option with RESET and REUSE. But it is not working.
Below is the code i used,
Code: |
//A7105VST JOB ('TTEST'),MSGCLASS=T,NOTIFY=&SYSUID,TIME=(00,01)
//SORT1 EXEC PGM=SORT,PARM='VSAMIO,RESET,REUSE'
//DFSMSG DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=A7112TG.A7112BCR.BLCKCTRL.VSAMIO,DISP=MOD
//SYSIN DD *
RECORD TYPE=V
OMIT COND=(5,4,CH,EQ,C'0011')
SORT FIELDS=(5,4,CH,A)
/* |
please help me out is handling this issue.
please correct my JCL to get desired rsults. |
|