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
 

 

can REMOVECC be used for copying

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Ambili S

Active User


Joined: 06 Sep 2007
Posts: 112
Location: India

PostPosted: Fri Sep 05, 2008 2:34 pm    Post subject: can REMOVECC be used for copying
Reply with quote

Hi

I've a Report file with RECFM = FBA , LRECL = 81. I want to copy this report file to a file with RECFM = FB and LRECL = 80. I was able to do this with OUTREC option . But I wanted to know if i can use REMOVECC syntax and copy the entire report to a file with RECFM = FB and LRECL = 80. If so , what should be the syntax ?





Thanks
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Sep 05, 2008 8:56 pm    Post subject:
Reply with quote

No. REMOVECC is used to remove the carriage control characters that DFSORT adds to reports when you use one of OUTFIL's report parameters (HEADER1, TRAILER1, etc). It has nothing to do with removing carriage control characters from an existing file.

If you want to remove the carriage control characters from an FBA/81 file and create an FB/80 output file, you could use this DFSORT job:

Code:

//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=...  input file (FBA/81)
//SORTOUT DD RECFM=FB,DSN=...  output file (FB/80)
// RECFM=FB
//SYSIN DD *
  OPTION COPY
  OUTREC BUILD=(2,80)
/*
Back to top
View user's profile Send private message
Ambili S

Active User


Joined: 06 Sep 2007
Posts: 112
Location: India

PostPosted: Mon Sep 08, 2008 8:53 am    Post subject: Reply to: can REMOVECC be used for copying
Reply with quote

Hi Frank

Thanks for clarifyng my doubt.
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 Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm
No new posts Copying VSAM to VSAM with variable re... mfuser.84 DFSORT/ICETOOL 1 Mon Oct 12, 2015 5:00 pm
No new posts Issue with copying PDS members to ano... Senthilkumar k CLIST & REXX 13 Mon Apr 20, 2015 1:28 pm
No new posts Copying NX lines to o/p file Susanta TSO/ISPF 3 Mon Dec 08, 2014 12:52 pm
No new posts Issue while copying dataset fom Z/OS ... kranthikumarb JCL & VSAM 10 Fri Aug 29, 2014 6:44 am


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