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
 

 

copy vsam to vsam

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

New User


Joined: 29 Dec 2008
Posts: 37
Location: india

PostPosted: Thu Jan 15, 2009 4:33 pm    Post subject: copy vsam to vsam
Reply with quote

i want to copy vsam to vsam from prod region to test region. Any jcl available. is there any way to see in to vsam file data any jcl for that too. we dont have file aid or dont know where it is so file aid wont help.

Thanks in anticipation.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jan 15, 2009 4:45 pm    Post subject:
Reply with quote

Look at EXPORT / IMPORT

The IDCAMS manual is just a click away from here
Back to top
View user's profile Send private message
kapil dev arora

New User


Joined: 29 Dec 2008
Posts: 37
Location: india

PostPosted: Thu Jan 15, 2009 4:55 pm    Post subject: ?
Reply with quote

Please provide me a jcl for the same. and i want to restrict number of records to be copied too... if you can refer me a book for vsam operations that will be help full ... a link to soft copy is best...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jan 15, 2009 5:10 pm    Post subject:
Reply with quote

Please do not ask for code unless you are willing to pay my daily rate for supplying tested and documented code.

Look very carefully at my previous post, place your cusor on the word "IDCAMS" and then click.

You might also consider using DFdss for multiple files or FAVER if it is installed at your site.
Back to top
View user's profile Send private message
kapil dev arora

New User


Joined: 29 Dec 2008
Posts: 37
Location: india

PostPosted: Thu Jan 15, 2009 5:16 pm    Post subject: Thanks i did went there idcams with repro is working
Reply with quote

but the one you were saying (export/import) i dint got that.
Thanks any way. finaly my job ran successfully.

i hvae a few queries though.
1) how to create vsam file using attributes of a allready present vsam file.
with data and without copying the data.
2) how to view a vsam file attributes.
3) how to view a vsam file contents.

icon_question.gif
Thanks.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jan 15, 2009 5:29 pm    Post subject:
Reply with quote

So what did you use to do your copy ?

And further reading materials ...................
1) Look at the DEFINE statement of IDCAMS
2) Look at the LISTCAT statement of IDCAMS
3) Look at the PRINT or REPRO statements of IDCAMS
Back to top
View user's profile Send private message
kapil dev arora

New User


Joined: 29 Dec 2008
Posts: 37
Location: india

PostPosted: Thu Jan 15, 2009 6:18 pm    Post subject: Idcams repro
Reply with quote

one infile one outfile it went file but given a condition code 4 for opening of output file. Dont know how it ran successfull after that.
ok i will c for these statements thanks.
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 copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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