How to copy VSAM files without using REPRO

Answers were Sorted based on User's Feedback



How to copy VSAM files without using REPRO..

Answer / divya

Using fileaid.

Is This Answer Correct ?    5 Yes 0 No

How to copy VSAM files without using REPRO..

Answer / gourav bibhor

//jobcard
//STEP1 DD EXEC PGM=IDCAMS
//SYSIN DD *
REPRO IDS(FILENAMEOFSORCE)-
ODS(FILENAMEOFDESTINATION)
/*
//SYSOUT DD DSN=*
//SYSPRINT DD DSN=*

Is This Answer Correct ?    3 Yes 2 No

How to copy VSAM files without using REPRO..

Answer / arun kumar

Using Sort we can copy the data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0

3 Answers  


how to eliminate the duplicates in sorting

4 Answers   Fidelity,


can anyone explain me about sort in jcl with inrec and outrec ?

2 Answers   HCL,


How do you submit a JCL under CICS environment ?

5 Answers   Wipro,


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,


I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?

4 Answers   Cognizant,


What is the difference between the JOBLIB and the STEPLIB statements?

3 Answers  


What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?

11 Answers   Tesco,


Name what parameter directs the output of the job log dataset?

0 Answers  


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

0 Answers  


how many members can be created inside a single pds?

8 Answers  


Can you give the sort card to arrange the specific column in the version of GDG.

1 Answers  


Categories