WER275A no keywords



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

WER275A no keywords

Postby LINDACONNER45 » Tue Jul 24, 2012 10:26 pm

NOTE - this is SYNCSORT - that's what is used in this shop. Can you see what's wrong, I HATE these complex sort statements, but sometimes, one needs them. I've already tried a lot of changes and keep getting same messages, I have a feeling it isnt really the format of the INCLUDE but something else too "simple" for me to see easily
SYNCSORT LICENSED FOR CPU SERIAL NUMBER 1B705, MODEL 2098 L02     
SYSIN :                                                           
 SORT FIELDS=(360,16,CH,A,01,09,CH,A,                   
               25,09,CH,A,                           
               10,03,CH,A,     
               34,03,CH,A,
              231,03,CH,A,
              304,08,CH,A,
              296,08,CH,A)                                       
 EQUALS,                                                         
 *                                                               
 FILSZ=E150000,DYNALLOC=(,6)                                     
 *                                                               
 INCLUDE COND=((10,3,CH,EQ,C'015'),AND,(360,16,EQ,C'DEMEDICFILL',
                                                 *                             
                OR,360,16,EQ,C'STDECOBRASTD',                                 
                OR,360,16,EQ,C'STPENSIONERSTD',                               
                OR,360,16,EQ,C'CTYDOVERSTD',OR,360,16,EQ,C'TNSMYRNASTD',       
                OR,360,16,EQ,C'CTYREHOBOTHSTD',                               
                OR,360,16,EQ,C'DELREGTRANSTSTD',                               
                OR,360,16,EQ,C'DELHOUSAUTHSTD',                               
                OR,360,16,EQ,C'DIMONDSTPORTSTD',                               
                OR,360,16,EQ,C'UODELAWARESTD'))                               
  END                                                                         
 WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                               
 WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                               
 WER251A  INCLUDE/OMIT INVALID FORMAT                                         
 WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                                 
 WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE                                 

There is no X or other such in col 72, apparently in SYNCSORT one doesn't n eed a continuation indicator

Thanks - somebody's eyes HAVE to be better than mine!
LINDACONNER45
 
Posts: 4
Joined: Wed Nov 09, 2011 9:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: WER275A no keywords

Postby steve-myers » Tue Jul 24, 2012 10:43 pm

When you make up these posts, PLEASE use the code tags and place your control statements within the code tags.

Also, WERxxx messages belong to Syncsort, not to DFSORT. This topic should be posted in the Syncsort section of this forum.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: WER275A no keywords

Postby LINDACONNER45 » Tue Jul 24, 2012 11:11 pm

I didnt see a SYNCSORT - I will look again. I do not know what you mean by "code tags" --- I just pasted in the output messages from the sort as I've done before w/the forum thanks

I just looked again at the main forums index - no SYNCSORT forum, I DID state that this IS SYNCSORT at the start of my question------

I will be glad to add "code tags" if I knew what they were -----
LINDACONNER45
 
Posts: 4
Joined: Wed Nov 09, 2011 9:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: WER275A no keywords

Postby Akatsukami » Tue Jul 24, 2012 11:29 pm

LINDACONNER45 wrote:I just looked again at the main forums index - no SYNCSORT forum, I DID state that this IS SYNCSORT at the start of my question------

The forum is "Syncsort/Synctool" in the "3RD PARTY MAINRAME TOOLS" group. I shall not entertain debate on whether or not all sort products should be grouped together.
I will be glad to add "code tags" if I knew what they were -----

When you post using the full editor (even as I do now), you will see to the right of the edit box a group of smilie graphics. Immediately below is a hyperlink "BBCode is ON"". Click on the link and Code tags (and many other useful things) will be explained.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: WER275A no keywords

Postby dick scherrer » Tue Jul 24, 2012 11:34 pm

Hello,

Topic has been relocated to the Syncsort part of the forum.

Initial post has been "Code'd" - time permitting, i'll remove the extra blank lines . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: WER275A no keywords

Postby dick scherrer » Tue Jul 24, 2012 11:43 pm

Hello,

Suggest you run a test using only one INCLUDE condition.

Look at the SYSIN control statements in hex and make sure there is nothing unexpected.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: WER275A no keywords

Postby Akatsukami » Tue Jul 24, 2012 11:59 pm

LINDACONNER45 wrote:NOTE - this is SYNCSORT - that's what is used in this shop. Can you see what's wrong, I HATE these complex sort statements, but sometimes, one needs them. I've already tried a lot of changes and keep getting same messages, I have a feeling it isnt really the format of the INCLUDE but something else too "simple" for me to see easily
SYNCSORT LICENSED FOR CPU SERIAL NUMBER 1B705, MODEL 2098 L02     
SYSIN :                                                           
 SORT FIELDS=(360,16,CH,A,01,09,CH,A,                   
               25,09,CH,A,                           
               10,03,CH,A,     
               34,03,CH,A,
              231,03,CH,A,
              304,08,CH,A,
              296,08,CH,A)                                <===       
 EQUALS,                                                         
 *                                                               
 FILSZ=E150000,DYNALLOC=(,6)                                     
 *                                                               
 INCLUDE COND=((10,3,CH,EQ,C'015'),AND,(360,16,EQ,C'DEMEDICFILL',
                                                 *                             
                OR,360,16,EQ,C'STDECOBRASTD',                                 
                OR,360,16,EQ,C'STPENSIONERSTD',                               
                OR,360,16,EQ,C'CTYDOVERSTD',OR,360,16,EQ,C'TNSMYRNASTD',       
                OR,360,16,EQ,C'CTYREHOBOTHSTD',                               
                OR,360,16,EQ,C'DELREGTRANSTSTD',                               
                OR,360,16,EQ,C'DELHOUSAUTHSTD',                               
                OR,360,16,EQ,C'DIMONDSTPORTSTD',                               
                OR,360,16,EQ,C'UODELAWARESTD'))                               
  END                                                                         
 WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                               
 WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                               
 WER251A  INCLUDE/OMIT INVALID FORMAT                                         
 WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                                 
 WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE                                 

There is no X or other such in col 72, apparently in SYNCSORT one doesn't n eed a continuation indicator

Thanks - somebody's eyes HAVE to be better than mine!

Although I don't have time to create a complete test setup, I believe that the line I marked with "<===" needs to end with a comma to prevent Syncsort from interpreting EQUALS to begin a new (and invalid) control card, and that all the "360,16" conditions are missing a format (they should read "360,16,CH,EQ,C'...').
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: WER275A no keywords

Postby LINDACONNER45 » Wed Jul 25, 2012 12:32 am

THANK YOU. The last comment here about the comma after the last actual sort fields parm is correct - that got rid of the WER275 message!!!!!!!!! See, my programmer's instinct was right -- I " KNEW" it was something OTHER than the actual INCLUDE and its operands!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Still getting invalid omit or include statement - i will try the CH tomorrow, instead of just C - but I've seen many examples in this shop with just C
Time up for today, thanks again, finding that missing comma takes care of most of the problem!
LINDACONNER45
 
Posts: 4
Joined: Wed Nov 09, 2011 9:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: WER275A no keywords

Postby Akatsukami » Wed Jul 25, 2012 12:48 am

LINDACONNER45 wrote:Still getting invalid omit or include statement - i will try the CH tomorrow, instead of just C - but I've seen many examples in this shop with just C

You'll want advice from someone with better knowledge of Syncsort than I to be sure, but I think that if all your conditional tests are on fields of the same format, you can write something like:
 INCLUDE COND=(360,16,EQ,C'...',OR,360,16,EQ,C'...',OR,...),FORMAT=CH

rather than
 INCLUDE COND=(360,16,CH,EQ,C'...',OR,360,16,CH,EQ,C'...')

I have greater confidence that the second will work in your case than that the first will.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post