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

How to Define a KSDS VSAM in Easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
comp_ashok

New User


Joined: 30 Nov 2007
Posts: 15
Location: India

PostPosted: Thu Jul 03, 2008 11:31 am
Reply with quote

How can we define a KSDS VSAM file using Easytrieve with attributes like Free space, Control interval size, record size etc. ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 03, 2008 12:33 pm
Reply with quote

You can allocate a KSDS using either IDCAMS, or coding the JCL statements required - See the JCL reference manual.

You can use Easytrieve to generate the IDCAMS statements and then dynamically invoke IDCAMS to actually perform the definition. Something I have done a few times but using REXX instead of Easytrieve.
Back to top
View user's profile Send private message
comp_ashok

New User


Joined: 30 Nov 2007
Posts: 15
Location: India

PostPosted: Thu Jul 03, 2008 12:47 pm
Reply with quote

thanks expat

Ya, You are right. We can do this through IDCAMS. But do you have any idea, how can we do the same using Easytrive File statement or Can we call IDCAMS through Easytrieve code ?

If Yes, please give one example also.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 03, 2008 1:26 pm
Reply with quote

I have not used Easytrieve in more than 25 years now, so would not have a clue about the use of the file statement.

Although IDCAMS should be callable via Easytrieve
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top