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

NO KEYWORDS FOUND ON CONTROL STATEMENT


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

New User


Joined: 19 Dec 2012
Posts: 14
Location: India

PostPosted: Wed Dec 19, 2012 11:57 am
Reply with quote

Hi ,
i am facing an error while using a sort card.
Code:

//JS001   EXEC PGM=SORT,                                         
//             COND=(0,LT)                                       
//SORTIN    DD DSN=PGMDR.VDRBU.VDRPTHP1.DELIVERY,               
//             DISP=OLD,UNIT=TAPEC                               
//SORTOUT   DD DSN=TGMDR.VDRBU.VDRPTHP1.DELIVERY.BKP1,           
//             DISP=(NEW,CATLG,DELETE),                         
//             DCB=(SYS3.DSCB,RECFM=FB,LRECL=773,BLKSIZE=29374),
//             MGMTCLAS=MC0032,                                 
//             SPACE=(CYL,(70,70),RLSE)                         
//SYSPRINT  DD SYSOUT=*                                         
//SYSOUT    DD SYSOUT=*                                         
//SYSIN     DD *                                                 
     SORT FIELDS=COPY                                           
     INCLUDE COND=(1,44,CH,EQ,C'                                 
               JM1DE1HY5B01028362011-04-27-15.21.15.001000G',OR,
  1,44,CH,EQ,C'KL1TD5DEXBB1369462011-03-03-16.51.42.865482D',OR,
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 19, 2012 12:02 pm
Reply with quote

for some unknown reason You posted useless incomplete data

but if that is what You really submitted, all kind of weird/misleading error messages might be expected
Back to top
View user's profile Send private message
mahe1015

New User


Joined: 19 Dec 2012
Posts: 14
Location: India

PostPosted: Wed Dec 19, 2012 12:03 pm
Reply with quote

This is the end of the sysin where i used 250 statements
Code:

  1,44,CH,EQ,C'1GCDT3992881923052008-09-02-19.56.34.523388D')   
END                                                             
//*                                                             
//************************************************************ 
job was abended

WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Wed Dec 19, 2012 12:18 pm
Reply with quote

Please post your complete SYSOUT message
Back to top
View user's profile Send private message
mahe1015

New User


Joined: 19 Dec 2012
Posts: 14
Location: India

PostPosted: Wed Dec 19, 2012 12:28 pm
Reply with quote

Below is the SYSOUT from SPOOL

Code:

  1,44,CH,EQ,C'KL1TD66E09B6483422009-07-14-11.13.52.257468D',OR,
  *                                                             
  1,44,CH,EQ,C'KL1TD66E19B3842422009-08-11-20.29.09.087161D',OR,
  *                                                             
  1,44,CH,EQ,C'KL1TD66E19B6456922010-01-04-11.20.23.435984D',OR,
  *                                                             
WER251A  INCLUDE/OMIT INVALID SELF DEF TERM                     
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                 
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                 
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                 
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                 
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                 
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                 
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 19, 2012 12:56 pm
Reply with quote

most probably the error depends on
Code:
     INCLUDE COND=(1,44,CH,EQ,C'                                 
               JM1DE1HY5B01028362011-04-27-15.21.15.001000G',OR,


IIRC You cannot split a string across lines

try with something like

Code:
     INCLUDE COND=(1,44,CH,EQ,                                 
             C'JM1DE1HY5B01028362011-04-27-15.21.15.001000G',OR,
Back to top
View user's profile Send private message
mahe1015

New User


Joined: 19 Dec 2012
Posts: 14
Location: India

PostPosted: Wed Dec 19, 2012 1:53 pm
Reply with quote

Thanks Enrico,
Its working fine
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Dec 19, 2012 1:56 pm
Reply with quote

Check up, now, on how to continue lines in SyncSort. Then you'll know for next time without having to ask.
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 How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts A directory in the pathname was not f... ABENDS & Debugging 0
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
Search our Forums:

Back to Top