Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Substring be scanned via syncsort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT
View previous topic :: :: View next topic  
Author Message
jammy_27

New User


Joined: 06 Aug 2009
Posts: 17
Location: USA

PostPosted: Thu Sep 24, 2015 8:50 pm    Post subject: Substring be scanned via syncsort
Reply with quote

Can a range of substring be scanned via syncsort on every record?

My requirement is as below :-

I have a variable block input file
VB, LRECL = 25889
I am looking for texts anywhere from V200 thru V300 on every record in that file

I Could write the sort for one text - example V208 and it works fine. I used the PARM='VLTESTI=2'
SORT FIELDS=COPY
INCLUDE COND=(5,25885,SS,EQ,C'V208')


But the records can have multiple occurrences for any number between V200 to V300. If any of these texts appear , that record should be included.
I tried using the below but it doesnt work. let me know if i am missing anything.

SORT FIELDS=COPY
INCLUDE COND=(5,25885,SS,GE,C'V200',AND,
5,25885,SS,LE,C'V300')


SORT FIELDS=COPY
INCLUDE COND=(5,25885,SS,GE,C'V200',AND,
*
5,25885,SS,LE,C'V299')
WER813I INSTALLATION OPTIONS IN MFX LOAD LIBRARY WILL BE USED
WER251A INCLUDE/OMIT INVALID COND
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7312

PostPosted: Thu Sep 24, 2015 10:02 pm    Post subject: Reply to: substring question
Reply with quote

You need to look up the syntax of the INCLUDE where it relates to SS and discover exactly what to do in exactly that circumstance.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to substring a new dataset name f... javen777 JCL & VSAM 6 Tue Feb 19, 2019 12:00 pm
No new posts LRECL in syncsort frozenblood87 SYNCSORT 4 Tue Feb 19, 2019 6:50 am
No new posts SYNCSORT keep MIN/MAX record Cloink SYNCSORT 16 Mon Sep 17, 2018 3:00 pm
No new posts Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us