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

JCL sort Match and NoMatch


IBM Mainframe Forums -> SYNCSORT
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rakeshsekar1987

New User


Joined: 13 Sep 2016
Posts: 3
Location: USA

PostPosted: Thu Feb 02, 2017 10:26 pm
Reply with quote

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
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2286
Location: USA

PostPosted: Thu Feb 02, 2017 10:37 pm
Reply with quote

Suggestion #1: RTFM
Suggestion #2: Give clear example here

P.S. "JCL" cannot "sort"; SYNCSORT can
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Feb 02, 2017 11:03 pm
Reply with quote

Use INCLUDE to end up with only the records you want.

INREC OVERLAY to attach the new data you want.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> SYNCSORT

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Sort card to generate the DSN DFSORT/ICETOOL 17
Search our Forums:


Back to Top