How can the entries of an ACT table be printed in batch TPX?

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

Description:

TPX staff may need to list, at any given time, and in batch mode, the entries that are part of an ACT table.

Solution:

Let us say that the request is to print out ACT entries for an ACT called ACTSWD.

The batch TPX SYSIN would be (only valid in release 5.3 and higher):

 
//SYSIN DD *
 EXTRACT GIVING(EXTFILE) ACT (VACTTBL(ACTSWD))
 REPORT GIVING(RPTFILE) USING (EXTFILE)
 ((' &ACTNAME' '  &ACTLABEL          ' '  &ACTSESS' '  &VACTTBL'))