I am in the process of creating an application that generates an AFP datastream that will contain a number of different forms that are not in any particular order. The AFP resource person here tells me that all of the formdefs have to be stored in one PDS member so they can be referenced in the JCL stream as shown here.
//PRINT OUTPUT DATACK=UNBLOCK,FORMDEF=MVPRNT,PAGEDEF=MVPRNT,
// USERLIB=('MV.AFP.USERLIB')
// USERLIB=('MV.AFP.USERLIB')
This then also means that every time one formdef changes, the one module containing all formdefs gets recompiled, and moved to production after testing. My concern with this is I do not like the idea of recompiling potentially hundreds of modules that were not supposed to change just to get the one that did change into production.
We will be using StreamWeaver to do the print step, the JCL statement above comes from that step. Is there a way to not have to recompile everything when changing only one formdef? Is there a way to do this using only IBM products? Is this the preferred way to implement formdefs?
Thank you in advance for your help.