IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Query on omit condition


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Wed Nov 28, 2007 8:00 pm
Reply with quote

I have coded the following in a PDS and i used it as control card in the JCL.

The code is as follows:

Code:

  OPTION COPY
  OMIT COND=(1,2,CH,EQ,C'YD',AND,
                 17,2,CH,EQ,C'N0')


In JCL, i used as
Code:

//SYSIN DD DSN=#922148.KKR.CTLLIB(KHR1920R),DISP=SHR


It is giving the folowing srror.

OMIT COND=(1,2,CH,EQ,C'YD',AND,
*
17,2,CH,EQ,C'N0')
*
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE

Kiran.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Nov 28, 2007 8:09 pm
Reply with quote

SYNCSORT control statements must be blank in column 1.
Back to top
View user's profile Send private message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Wed Nov 28, 2007 8:21 pm
Reply with quote

Thnks for the quick reply

Thanks,
Kiran
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Nov 28, 2007 10:04 pm
Reply with quote

Hi,

Quote:
Thnks for the quick reply

Does that solve your problem, what's the final resolution you used? Can you please share?
Back to top
View user's profile Send private message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Thu Nov 29, 2007 8:41 pm
Reply with quote

it's solved the peoblem.

Once again thanks alot of all help.


But of curiosity, why it should be space in column1

Thanks,
Kiran
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Nov 29, 2007 8:44 pm
Reply with quote

kiran_65 wrote:
But of curiosity, why it should be space in column1
Because that's the rule....... icon_biggrin.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
Search our Forums:

Back to Top