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

Create VSAM file with data


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 09, 2012 7:12 pm
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Aug 09, 2012 7:13 pm
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
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: 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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top