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
 

 

Create VSAM file with data

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

New User


Joined: 27 May 2011
Posts: 16
Location: india

PostPosted: Thu Aug 09, 2012 7:05 pm    Post subject: Create VSAM file with data
Reply with quote

Hi,

I have to create a vsam file with a record containing some dummy data. Is it possible through the same job to
1)Create a VSAM file
2)Insert a dummy record into it.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Thu Aug 09, 2012 7:12 pm    Post subject:
Reply with quote

Your post lacks critical information -- for example, a VSAM file can be ESDS, KSDS, RRDS, linear, and these use different parameters and are all accessed differently.

Click on the Manuals link at the top of this page, find the VSAM Services for DFSMS manual, open it, and read up on the DEFINE CLUSTER and REPRO options of IDCAMS.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Aug 09, 2012 7:13 pm    Post subject: Reply to: Create VSAM file with data
Reply with quote

Sure -

01) Define Cluster

02) Repro Dummy Data (as a file) into the newly created file from step 01 as a single record.

Easy stuff....
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Thu Aug 09, 2012 7:18 pm    Post subject: Reply to: Create VSAM file with data
Reply with quote

If you know something about VSAM, you should also know about IDCAMS utility. If not, GOOGLE and you will find....
You may also want to check up this link: http://www-03.ibm.com/systems/z/education/skills_coursematerials.html#BootCamp where you will find some VSAM-stuff.
Back to top
View user's profile Send private message
santosh ks

New User


Joined: 27 May 2011
Posts: 16
Location: india

PostPosted: Tue Aug 14, 2012 8:04 am    Post subject:
Reply with quote

Hi,

Thanks for the reply, Define and Repro worked.
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 18 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