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: 4649
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
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 How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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