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
 

 

anyone can explain about REPRO

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
kannag

New User


Joined: 02 Aug 2006
Posts: 23
Location: chennai

PostPosted: Thu Aug 10, 2006 5:10 pm    Post subject: anyone can explain about REPRO
Reply with quote

hi all,
anyone can explain about repro with example.
Back to top
View user's profile Send private message

sihanature
Warnings : 1

New User


Joined: 01 Sep 2005
Posts: 33

PostPosted: Thu Aug 10, 2006 7:14 pm    Post subject: Re: anyone can explain about REPRO
Reply with quote

Hi

Repro is basically a Copy command ,which is used to copy the data from one PS to another with help of IDCAMS

Here is the Example.

//IDCAM1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DDIN DD DSN='XXXX.XXXX.XXX1',DISP=SHR
//DDOUT DD DSN='XXXX.XXXX.XXX2',DISP=SHR
//SYSIN DD *
REPRO INFILE(DDIN) OUTFILE(DDOUT)
/*
//
Hope you understood the concept of REPRO.

Thanks
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Aug 11, 2006 1:29 am    Post subject:
Reply with quote

The REPRO command is well documented in the fine manual.

O.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Fri Aug 11, 2006 11:11 am    Post subject:
Reply with quote

Hi kannag,

If you need to copy a PS to other. Similar to save as in Windows. We have a command REPRO for doing this.

We use the utility IDCAMS for this.

Simple way, is to give the PS to be copied in INDD and the ouput PS in OUTDD. Even multiple repro can be done using a single JCL by having INDD1,INDD2... to OUTDD1,OUTDD2...

You can use the above code to perform this.

If you still need more info, do come up with your doubts.

Regards,
Diwakar.D

------------------------------------------------
Nobody is perfect. I am Nobody
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts Can someone explain me this JCL line ... PeterHolland JCL & VSAM 9 Sat Dec 12, 2015 7:22 am
No new posts VB to KSDS repro kranthikumarb JCL & VSAM 1 Fri Aug 14, 2015 4:45 pm
No new posts Issue in FROMKEY(REPRO) VSAM having 1... thesumitk JCL & VSAM 5 Tue Jul 07, 2015 5:33 pm
No new posts VSAM Initializing causing Repro to ru... bpavan2k4 JCL & VSAM 4 Fri Nov 29, 2013 6:27 pm


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