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: 8057
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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