Posted: Tue Sep 02, 2008 10:09 am Post subject: why my substring search is failing?
Hi,
I am using below sort card to search for string......it is failing !!!!
Code:
SYSIN :
SORT FIELDS=COPY
INCLUDE COND=(7,6,SS,EQ,C'MTCZ9S,MPHTP7,MTWDFR,MTWDFV,MTZHFC,
*
MTVZZB,MTWZ9Q,MTKQB3,MSQMZX,MQPZQG,MQWFBX,MQJQ97,MSJD02,MSJD03')
*
WER251A INCLUDE/OMIT INVALID SELF DEF TERM
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
We are using SYNCSORT FOR Z/OS 1.2.2.1R. What is wrong here? Can you help me out please?
Thanks. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Support for the simplified INCLUDE statement was included in SyncSort for z/OS 1.3.
As in Rajen's first post in this thread, you will need to specify each INCLUDE condition separated by OR's. _________________ Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Sep 02, 2008 5:20 pm Post subject:
For the record, the syntax shown in the first post is using invalid continuation. You can't continue a 'literal' in the middle using a comma-blank. It would work for DFSORT if continued correctly - run the literal up to position 71, put a non-blank (e.g. *) in 72, and continue on the next line. For example (I'm showing b for leading blank here to avoid confusion):
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum