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
 

 

How to Define a KSDS VSAM in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: How to Define a KSDS VSAM in Easytrieve
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 03, 2008 12:33 pm    Post subject:
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    Post subject: Reply to: How to Define a KSDS VSAM in Easytrieve
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 03, 2008 1:26 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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