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
 

 

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: 6966
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 File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 14 Thu Apr 27, 2017 9:42 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm


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