I am trying to compile an APPCLU profile record, but the record is too large. How do I implement NEXTKEY records. The compiler does not accept $PREFIX in the NEXTKEY record.

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

How can I implement nextkey processing in a large APPCLU profile record?

Answer:

To implement NEXTKEY processing you simply add a rule line in the profile record that references the NEXTKEY profile record.

For Example 

$KEY(NODEA)
LU0.- SESSION(SESSLU0)
LU1.- SESSION(SESSLU1)
LU2.- SESSION(SESSLU2)
LU3.- SESSION(SESSLU3)
LU4.- SESSION(SESSLU4)
 -.-   NEXTKEY(NODEANXT)  

$KEY(NODEANXT)
LU5.- SESSION(SESSLU5)  
LU6.- SESSION(SESSLU6)  
LU7.- SESSION(SESSLU7)  
LU8.- SESSION(SESSLU8)  
LU9.- SESSION(SESSLU9)   

The continuation of the node list for NODEA is in  NODEANXT 
there is no need to include a $PREFIX statement in NODEANXT.