IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Repro Replace Sequential File to Sequential File


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vgbala

New User


Joined: 25 Jan 2007
Posts: 1
Location: Chennai

PostPosted: Tue Mar 27, 2012 8:47 pm
Reply with quote

Hi,

Is there any option/utility for repro replace form a sequential file to a sequential file?
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Tue Mar 27, 2012 9:06 pm
Reply with quote

vgbala,

You can use DFSORT to copy from 1 sequential file to another like shown below.


Code:

//STEP0100 EXEC PGM=SORT       
//SYSOUT   DD SYSOUT=*         
//SORTIN   DD DSN=Your input sequential file,DISP=SHR
//SORTOUT  DD DSN=Your output sequential file,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,
//            SPACE=(CYL,(X,Y),RLSE)
//*
//SYSIN    DD *                 
  SORT FIELDS=COPY             
//*
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Mar 28, 2012 2:33 pm
Reply with quote

vgbala - you've a DFSORT solution from Kolusu as you've posted in DFSORT/ICETOOL part of the Forum but your question talks about (IDCAMS) REPRO. I find it little unclear - what are you looking for?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Mar 28, 2012 2:49 pm
Reply with quote

Quote:
question talks about (IDCAMS) REPRO


no, he only used the work REPRO, like people
use the word record when speaking of db2 rows
use the word field when speaking of db2 columns
use the word record when speaking of mqs messages
use the word jcl to mean anything.

another example:
ibmmainframes.com/viewtopic.php?p=290571#290571

we have no idea what he meant.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top