++INCLUDE statements in Endevor processors not getting replaced
search cancel

++INCLUDE statements in Endevor processors not getting replaced

book

Article ID: 253467

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Have several ++INCLUDE statements coded in an Endevor processor but they are not getting resolved / replaced when the processor is generated.   Why not?

 

Environment

Release : All supported versions of Endevor

Resolution

1)  Verify the ++INCLUDE statements begin in column 8:

123456789
//PARMS     DD *
      ++INCLUDE BINDPARM
/*
//***** END BINDPARM INCLUDE

 

From the Expand Includes utility section of the TechDocs: 

  • If the Expand Includes utility is working with Panvalet, the utility searches for the ++INCLUDE statement in column 8. The entire ++INCLUDE statement must be specified on one line.

 

2)   Make sure that the   LIBENV  keyword in the C1DEFLTS is set to PV and  LIBENVP  keyword is set to N.

From the C1DEFLTS section of the TechDocs:

  • If LIBENVP=N (default), then the include member syntax is used by CONWRITE, by the Expand Include Utility, or by both as follows:
    • LIBENV=PV specifies that checks are performed for Panvalet include member syntax (++INCLUDE) or COBOL COPY statements,
    • LIBENV=LB specifies that checks are performed for Librarian include member syntax (-inc) or COBOL COPY statements
    • LIBENV=blank (default), no syntax checking or expanding occurs.

 

 

3)  If the C1DEFLTS is set correctly and the ++INCLUDE statement is starting in column 8, need to check that correct Include library is specified in the PROCESS Type definition:

        -------------------------  LIBRARIES  -----------------------  
BASE/IMAGE LIBRARY ===> NDVR.SMPL&C1ST..BASE            
DELTA LIBRARY      ===> NDVR.SMPL&C1ST..DELTA          
 INCLUDE LIBRARY    ===>                                               

 

and that the Expand Includes option is set to Y:

EXPAND INCLUDES(Y/N)  ===> N

 

4)  Verify the INCLUDE member is in the specified INCLUDE LIBRARY