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

How to create Empty KSDS VSAM file.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Jan 25, 2007 9:24 pm
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: 22
Location: Pune, India

PostPosted: Sat Jan 27, 2007 2:12 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 8
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top