Endevor Retrieve past version - SCL built without VVLL

Document ID : KB000092353
Last Modified Date : 23/04/2018
Show Technical Document Details
Issue:
A user is attempting to RETRIEVE a prior version of elements in batch, but the SCL built does not include any VERSION and LEVEL information. 

Retrieving the VVLL 0106 of element GNCCOMP3, the generated SCL is: 
 
SET STOPRC 16 . 
RETRIEVE ELEMENT 'GNCCOMP3' 
FROM ENVIRONMENT 'DEVELOP' SYSTEM '#GNCP' SUBSYSTEM 'GNCP' 
TYPE 'COBOL' STAGE D 
TO DSNAME 'AF40033.ENDEVOR.DEV' 
OPTIONS CCID 'CCID1' COMMENTS "TEST" OVERRIDE SIGNOUT REPLACE 
NOSEARCH 
 .


It does not include the expected  
└─ VERsion ─ version ─┘ └─ LEVel ─ level ─┘
 
Resolution:
Check the Endevor ENCOPTBL table to see if the   ENHOPT NO_VERSION_LEVEL  option is turned on :
 
* OC01482                                                               
* THIS OPTIONAL PTF WILL REMOVE THE VERSION/LEVEL SCL SYNTAX FROM       
* THE SCL GENERATED BY THE BATCH AND PACKAGE ONLINE SCL BUILDING        
* ROUTINE FOR RETRIEVE.                                                 
*                                                                       
*---------------------------------------------------------------------* 
*        ENHOPT NO_VERSION_LEVEL=ON                                     
*                                                                       

It is turned on if there is no astrick  in column 1.

To turn this option off again, comment out the line by putting an astrick in column 1 and reassembling the table.