Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Using VSAMIO option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Using VSAMIO option
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 Moderator


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

PostPosted: Fri Sep 15, 2006 9:35 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts ICETOOL higher option Anshul Das DFSORT/ICETOOL 14 Thu Apr 14, 2016 8:00 am
No new posts CEXEC not able to execute if no SLINE... boyti ko CLIST & REXX 2 Wed Apr 13, 2016 4:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us