View previous topic :: View next topic
|
Author |
Message |
rakeshsekar1987
New User
Joined: 13 Sep 2016 Posts: 3 Location: USA
|
|
|
|
Hi all , Im new to mainframe I tried reading the sort concepts and I have a question on my requirement . I have single file if the first 3 character matches as 135 I need to add a region code suffixed with the record as output . If does not match do not write anything . Any suggestions would help . |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2025 Location: USA
|
|
|
|
Suggestion #1: RTFM
Suggestion #2: Give clear example here
P.S. "JCL" cannot "sort"; SYNCSORT can |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Use INCLUDE to end up with only the records you want.
INREC OVERLAY to attach the new data you want. |
|
Back to top |
|
|
|