Jeff, the original poster's intent is to report on the jobs/parameters, not update them.
As for the task at hand, the parameters for each batch program aren't stored in the GEN database, so as for accomplishing this task, I frankly think you're in for a tough job.
In any event, here are some options/ideas:
- The parameter definitions are stored as part of the form in each individual (binary) file associated with that form (called 'tranmaps') in the LAWDIR/
/map/default/ folder, with the .trm extension. You will also find an XML version of the form (which is used by Portal to render the form) in that same folder.
- you can experiment with the scrgen utility (using -s or -c options) to generate either C or COBOL versions of the parameter definition; this is what the BCI / PFI 'maketypetree' utility uses. You could create a script that cycles through the batch programs, runs scrgen for each one, parses the output, and puts it into a database table. Not elegant, but do-able.
- there is a utility called (appropriately) jobprmrpt that you can use (although you have to interactively enter the parameters) to generate the parameters page for each job