Missing Word with substring



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Missing Word with substring

Postby samb01 » Wed Feb 27, 2019 3:13 pm

Hello,

i just want to know if a word is ia dataset. But if the word dosn't exist in the dataset, i would like an RC =8 or more...

I used this sysin


//SYSIN    DD *                            
  SORT FIELDS=COPY                          
  INCLUDE COND=(1,80,SS,EQ,C'WORDCHECKED')
//*
 


But even if the word is not inthe dataset, the RC is 0...
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Missing Word with substring

Postby enrico-sorichetti » Wed Feb 27, 2019 3:24 pm

what is wrong about reading the manual
and meditate on the OPTION control statement ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Missing Word with substring

Postby prino » Wed Feb 27, 2019 4:54 pm

What the flucking 'ell is wrong with the SuperC? It has a option to search!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: Missing Word with substring

Postby samb01 » Wed Feb 27, 2019 6:57 pm

Finally, i'm testing if the output dataset is empty. If it is empty, there's no word.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post