Search found 7 matches

by Dr_Halo
Thu Mar 19, 2009 5:46 pm
Forum: VSAM - File system
Topic: How can i delete records form a VSAM file.
Replies: 9
Views: 22710

You have to delete and then to define your vsam, after doing this you can use the statement that i posted before.
Is this VSAM accessible by CICS? If yes you can use CECI to delete the record you want.
by Dr_Halo
Thu Mar 19, 2009 4:38 pm
Forum: VSAM - File system
Topic: How can i delete records form a VSAM file.
Replies: 9
Views: 22710

You can use these statements: //RECOPY EXEC PGM=IDCAMS //********************************************************************** //INFILE DD DSN=DSN.OF.YOUR.FILE,DISP=SHR //VSAMFILE DD DSN=DSN.OF.YOUR.VSAM,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOU=* //SYSIN DD * REPRO INFILE(INFILE)...
by Dr_Halo
Thu Mar 19, 2009 4:14 pm
Forum: VSAM - File system
Topic: How can i delete records form a VSAM file.
Replies: 9
Views: 22710

Have you tried to use REPRO with a dummy file?
by Dr_Halo
Thu Mar 19, 2009 2:15 pm
Forum: VSAM - File system
Topic: Trying to delete/define a VSAm, but VSAM is in use
Replies: 10
Views: 19092

Yes it is the same for me. But I've not understood where I've to put DISP=OLD ! :(
Can you please help me?
by Dr_Halo
Wed Mar 18, 2009 7:29 pm
Forum: VSAM - File system
Topic: Trying to delete/define a VSAm, but VSAM is in use
Replies: 10
Views: 19092

Many thanks dbz, but it is a very long list. Can you please confirm me if the statements below are correct? //* //STEP0 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //DDIN DD DUMMY //DDOUT DD DSN=output,DISP=OLD //SYSIN DD * REPRO INFILE(DDIN) - OUTFILE(DDOUT) //*
by Dr_Halo
Wed Mar 18, 2009 6:33 pm
Forum: VSAM - File system
Topic: Trying to delete/define a VSAm, but VSAM is in use
Replies: 10
Views: 19092

Yes dbz, disp=old, but I'm not sure how to use it. Can you, please, write me an example?
by Dr_Halo
Wed Mar 18, 2009 5:50 pm
Forum: VSAM - File system
Topic: Trying to delete/define a VSAm, but VSAM is in use
Replies: 10
Views: 19092

Trying to delete/define a VSAm, but VSAM is in use

Hi all, I've just a little problem with a VSAM. I have a job that runs daily that tries to delete a VSAM, re-define it and then to do a repro. Sometimes this job goes bad. The reason is that the delete statement fails because the "dataset is allocated to another job or user". How can I tell with my ...