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
 
Repro Replace Sequential File to Sequential File

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Repro Replace Sequential File to Sequential File
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    Post subject:
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

Senior Member


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

PostPosted: Wed Mar 28, 2012 2:33 pm    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Wed Mar 28, 2012 2:49 pm    Post subject:
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:
http://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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

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