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: 3053
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top