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 To remove spaces from a VB file using... Selvarajars DFSORT/ICETOOL 2 Thu Jun 21, 2018 6:57 pm
No new posts B059 PREMATURE END OF FILE mvmadhuvenkatesh CA Products 5 Tue Jun 19, 2018 10:50 am
No new posts Formating output file Niki DFSORT/ICETOOL 3 Fri Jun 15, 2018 3:27 pm
No new posts Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm
No new posts How to Count a particular record in a... Mounika Nemani DFSORT/ICETOOL 5 Tue May 29, 2018 1:07 pm

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