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 Empty KSDS VSAM file.

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

New User


Joined: 23 Nov 2006
Posts: 22
Location: India

PostPosted: Thu Jan 25, 2007 9:14 pm    Post subject: How to create Empty KSDS VSAM file.
Reply with quote

I have to create a VSAM KSDS file.
I have a key field of 9999999 with current date.

Thanks in advance
Nat
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Thu Jan 25, 2007 9:24 pm    Post subject: Re: How to create Empty KSDS VSAM file.
Reply with quote

ISPF Option 3.2 (Allocate, rename, delete, catalog, uncatalog, or display information of an entire data set)?

TSO DEFINE?
Back to top
View user's profile Send private message
jinal_mca

New User


Joined: 05 Jan 2007
Posts: 23
Location: Pune, India

PostPosted: Sat Jan 27, 2007 2:12 pm    Post subject: hi superk
Reply with quote

this is jinal

ur explanation regarding the que is not clear to m plz can u explain in brf.

thx
Back to top
View user's profile Send private message
natinuk

New User


Joined: 23 Nov 2006
Posts: 22
Location: India

PostPosted: Mon Jan 29, 2007 11:30 am    Post subject: How to create Empty KSDS VSAM file.
Reply with quote

I have a requirement to create an empty KSDS file.
I know that we need to mention the key using KEYS (7 0) while creating the file but my question is, do we need to mention any default value for key field in the Empty VSAM file.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Jan 29, 2007 12:57 pm    Post subject:
Reply with quote

If the file is empty why default key?

Just think if you have empty file how default key will exist
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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