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
 
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 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

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