IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Using VSAMIO option


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pattabiraman.baskaran

New User


Joined: 10 Aug 2006
Posts: 23

PostPosted: Fri Sep 15, 2006 3:29 pm
Reply with quote

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.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Sep 15, 2006 9:35 pm
Reply with quote

REUSE is a VSAM option, not a DFSORT option. The VSAM data set must be defined for REUSE.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts INSYNC option with same function as I... JCL & VSAM 0
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
Search our Forums:

Back to Top