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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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