With the PANVALET product phasing out is it possible to use CONWRITE to still expand ++ INCLUDE statements or does one have to incorporate ENBX1000 into their processors?

Document ID : KB000032433
Last Modified Date : 14/02/2018
Show Technical Document Details

QUESTION:

With the PANVALET product phasing out is it possible to use CONWRITE to still expand ++ INCLUDE statements or does one have to incorporate ENBX1000 into their processors?

 

ANSWER:

CONWRITE can be used to expand ++INCLUDE statements where the members now reside in either PDS or PDSE libraries.

To accomplish this, the C1DEFLT table must be define as follows:

000330                LIBENV=PV,               LIBRARIAN (LB), PANVALET (PV)                                      
000331                LIBENVP=N,               LIBRARIAN/PANVALET OPTION   
000332                LIBRPGM=,                LIBRARIAN BATCH PROGRAM NAME   

 

The CONWRITE step in your processor should be coded similarly to:  

000641 //WRITE    EXEC PGM=CONWRITE,PARM='EXPINCL(Y)'
000642 //C1INCL01 DD  DSN=IPRFIX. IQUAL.COPYLIB,DISP=SHR
000643 //ELMOUT   DD  DSN=&&TEMPFILE,DISP=OLD