Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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

Senior Member


Joined: 14 Mar 2007
Posts: 10603
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: 1567
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

Senior Member


Joined: 14 Mar 2007
Posts: 10603
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: 7314

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 SQLCODE -950 in PREPARE statement ... PeD DB2 2 Sat Apr 20, 2019 7:00 pm
No new posts Query on updating the control cards. abdulrafi DFSORT/ICETOOL 2 Tue Feb 26, 2019 2:23 pm
This topic is locked: you cannot edit posts or make replies. Query on updating the control cards. abdulrafi JCL & VSAM 2 Mon Feb 25, 2019 7:43 pm
No new posts Accessing control blocks to retrieve ... menonkiran COBOL Programming 5 Wed Nov 14, 2018 9:08 pm
No new posts How to control the elapsed time for a... Philippe JCL & VSAM 12 Thu Aug 09, 2018 5:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us