Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

NO KEYWORDS FOUND ON CONTROL STATEMENT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: NO KEYWORDS FOUND ON CONTROL STATEMENT
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Dec 19, 2012 12:02 pm    Post subject: Reply to: NO KEYWORDS FOUND ON CONTROL STATEMENT
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    Post subject: NO KEYWORDS FOUND ON CONTROL STATEMENT
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

Moderator


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

PostPosted: Wed Dec 19, 2012 12:18 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Dec 19, 2012 12:56 pm    Post subject: Reply to: NO KEYWORDS FOUND ON CONTROL STATEMENT
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    Post subject: Reply to: NO KEYWORDS FOUND ON CONTROL STATEMENT
Reply with quote

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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Wed Dec 19, 2012 1:56 pm    Post subject: Reply to: NO KEYWORDS FOUND ON CONTROL STATEMENT
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Converting NULL column into NOT NULL ... Raghu navaikulam DB2 5 Sat Aug 06, 2016 3:45 pm
This topic is locked: you cannot edit posts or make replies. Updating value of key using rewrite s... ParminderKumar COBOL Programming 4 Thu Aug 04, 2016 12:46 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us