REPRO command



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

REPRO command

Postby mcharitha » Thu Jan 29, 2015 7:54 pm

hi...
Can we copy records in a non-vsam dataset into a vsam dataset using REPRO??
mcharitha
 
Posts: 3
Joined: Sat Jan 17, 2015 9:08 pm
Has thanked: 4 times
Been thanked: 0 time

Re: REPRO command

Postby prino » Thu Jan 29, 2015 8:13 pm

How much less time would it have cost you to try, instead of firing up your browser and logging on to this site?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

These users thanked the author prino for the post:
mcharitha (Thu Jan 29, 2015 8:29 pm)
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: REPRO command

Postby steve-myers » Fri Jan 30, 2015 1:04 am

Mr. Prins is correct. If you had the energy to logon here, you should have had the energy to find the online documentation for the IDCAMS utility and read it directly. This will benefit you in the future, much more than getting a response here.

What no one has mentioned - yet - is if the output data set is a VSAM KSDS, the records in the input data set must be sorted by the key area as defined for the KSDS.

These users thanked the author steve-myers for the post:
mcharitha (Fri Jan 30, 2015 8:15 am)
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post