Endevor List element Where Generate Date getting Invalid Syntax Error
search cancel

Endevor List element Where Generate Date getting Invalid Syntax Error

book

Article ID: 282084

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

The syntax diagram for the LIST ELEMENT command

Using this SCL: 

  LIST ELEMENT *                                                 
  FROM ENVIRONMENT ENV1                                        
       SYSTEM      *                                           
       SUBSYSTEM   *                                           
       TYPE        *                                           
       STAGE NUM   2                                           
  TO C1PRINT                                                   
  WHERE GENERATE DATE = 01/01/21 THRU DATE = 04/15/24   . 

 

Is getting an BSTPPARS: E004 Invalid Command Working, Found: Through - why? 

Environment

All Supported Releases 

Resolution

The SCL  needs to be coded it like this  

LIST ELEMENT *                                                 
  FROM ENVIRONMENT ENV1                                        
       SYSTEM      *                                           
       SUBSYSTEM   *                                           
       TYPE        *                                           
       STAGE NUM   2                                           
  TO C1PRINT                                                   
  WHERE GENERATE FROM DATE = 01/01/21 THRU DATE = 04/15/24   . 

The doc is a little misleading - look at this section