Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8280
Location: Dubuque, Iowa, 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: 2504
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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us