How can we set up our GSVXGSVX parmlib member so that INCLUDE statements can be dynamically selected for each specific LPAR?

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

Question:

How can we set up our GSVXGSVX parmlib member so that INCLUDE statements can be dynamically selected for each specific LPAR?

 

 

Answer: 

Parameter Member Control Statements )IF and )ENDIF can be used to selectively include the correct parmlib dataset based on sysname as follows: 

)IF SYSNAME=DEV1 
)INCLUDE GSVXDEV1 hlq.PARMLIB MSG DSNREQ 
)ENDIF 
)IF SYSNAME=PRD1 
)INCLUDE GSVXPRD1 hlq.PARMLIB MSG DSNREQ 
)ENDIF 
)IF SYSNAME=PRD2 
)INCLUDE GSVXPRD2 hlq.PARMLIB MSG DSNREQ 
)ENDIF 
)EOF

 

Additional Information:

 

A complete list of Parameter Member Control Statements and examples of their usage can be found here: