Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 $RELGEN and its alias $RG take an argument of a GDG dataset including
 the g0000v00 number at the end.  It then calls GDGGEN to determine what
 are all the existing generations.  It returns the relative GDG
 generation number by vputting it into the ZDLMSG pool variable.  If
 called from a 3.4 list screen, this will place the value in the short
 message area.  Alternatively one could call $RELGEN from another
 process and retrieve the value (vget ZDLMSG) and do with it whatever
 they needed.