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 create VSAM file (KSDS file) without having .data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Tue Nov 11, 2008 9:19 pm    Post subject: How to create VSAM file (KSDS file) without having .data
Reply with quote

Hi,

I want some help for the following scenario:

I want to create VSAM file of KSDS without having .data and .index.

Could you please help in creating the file using IDCAMS?

Thanks for the help in Advance.

Thanks
Kiran
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Tue Nov 11, 2008 9:25 pm    Post subject: Reply to: How to create VSAM file (KSDS file) without having
Reply with quote

what You want is not what VSAM wants...
and I guess that VSAM is more assertive in its desires than You icon_cool.gif

a KSDS has by architecture three catalog entries..
and two vtoc entries
cluster component - catalog only
( the one You use on the dd statement )
Index component - catalog and vtoc
data component - catalog and vtoc

You might call them in any way You want but they will be always there
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Nov 12, 2008 4:38 am    Post subject:
Reply with quote

Hello,

Quote:
I want to create VSAM file of KSDS without having .data and .index.
As Mick Jagger told us many, many years ago, "You Can't Always Get What You Want".

What are you trying to accomplish? If you explain what you need/want to actually do (not how you want to accomplish it), someone may have a suggestion.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Nov 12, 2008 5:05 am    Post subject:
Reply with quote

Hi Dick,

does that mean "I can't get no satisfaction " icon_lol.gif


Gerry
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 12, 2008 5:18 am    Post subject:
Reply with quote

Gerry, you're not having sympathy for the devil, are you?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Nov 12, 2008 6:34 am    Post subject:
Reply with quote

Hello,

Quote:
does that mean "I can't get no satisfaction "
Depends. . .

Possibly the most-recognized "riff/fill" in all of pop/rock music. . .


"Pleased to meet you, hope you guess my name. . .".
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: Mon Nov 17, 2008 3:08 pm    Post subject:
Reply with quote

Wild horses couldn't keep me away ...............

But as for the OP - does he just mean that he doesn't want .DATA nd .INDEX as the component suffixes ?
Back to top
View user's profile Send private message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Wed Nov 26, 2008 10:09 pm    Post subject:
Reply with quote

we can an vsam file without .data and .index by writing the following in the define parameter.

OWNER($IAM)
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Wed Nov 26, 2008 10:25 pm    Post subject: Reply to: How to create VSAM file (KSDS file) without having
Reply with quote

Of course, that means the dataset is IAM, not VSAM.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


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