IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Diff btw CHANGE/NOMATCH and ALTSEQ


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cvishu

Active User


Joined: 31 Jul 2007
Posts: 136
Location: india

PostPosted: Thu Mar 11, 2010 11:47 am
Reply with quote

Is there really any difference or advantage over using CHANGE/NOMATCH and ALTSEQ ?

Or they both just two different ways of replacing a character ?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Mar 11, 2010 1:45 pm
Reply with quote

Hi,

the one difference between CHANGE and ALTSEQ that I'm aware is that ALTSEQ will only handle a single byte.


Gerry
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Fri Mar 12, 2010 12:17 am
Reply with quote

The other difference is that TRAN=ALTSEQ can change bytes in the variable part of a record whereas CHANGE cannot.

Code:

   OUTREC BUILD=(1,4,5,TRAN=ALTSEQ)


will change the bytes from position 5 to the end of each record. You can't do that with CHANGE. Of course, you CAN use FINDREP to do the same thing and more. FINDREP is more flexible than CHANGE or TRAN=ALTSEQ.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
No new posts Trying to change copybook in online c... CICS 4
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Change history of vsam file. JCL & VSAM 3
Search our Forums:

Back to Top