Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 10681
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: 1568
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: 10681
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: 7312

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 Panel not found on PF3 with libdef of... harisukumaran TSO/ISPF 2 Tue Apr 28, 2020 9:00 pm
No new posts ISPF skeleton that has IF/THEN/DO sta... ecsk TSO/ISPF 15 Mon Apr 27, 2020 12:52 pm
No new posts Include current & next records if... Manny Rizal DFSORT/ICETOOL 22 Mon Dec 30, 2019 9:14 am
No new posts Usage of pre-processor statement in p... Sakthidevi PL/I & Assembler 1 Thu Nov 28, 2019 4:08 pm
No new posts Usage of Like statement in PL/I Sakthidevi PL/I & Assembler 3 Fri Nov 15, 2019 11:22 pm

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