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

Skip records using SORT Condition


IBM Mainframe Forums -> FAQ & Basics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mitha

New User


Joined: 01 Dec 2021
Posts: 19
Location: India

PostPosted: Mon Dec 20, 2021 11:32 am
Reply with quote

Hii All,
I need a clarification to skip the record using sort cond.

Input file:
122700000001705313
122700000001706455
122700000001706869
122700000001706910

Expected output:
0001705313
0001706455
0001706869
0001706910

What condition I need to use to skip these unwanted number and store in my output file?
Please share your thoughts
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3076
Location: NYC,USA

PostPosted: Mon Dec 20, 2021 2:52 pm
Reply with quote

First , It’s not a skipping the records. You want to format the records and for that use INREC BUILD =().
Please use code tags going forward when representing any data or code.

Moved to student sections.
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 -> FAQ & Basics

 


Similar Topics
Topic Forum Replies
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts Is this possible via sort (in one pass)? SYNCSORT 4
No new posts combine multiple unique records into ... DFSORT/ICETOOL 2
No new posts GDG generation name to GDG Base name ... DFSORT/ICETOOL 3
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
Search our Forums:

Back to Top