When you want to add an application to a ACT table you can use TPXBATCH to automate this task. You use the statement
ADD ACTAPPL (act applid)
to add an Applid to a specific ACT. The specific parameters like Label, Start ACL, Type of ACB, End-to-End Option are added via "UPDATE ACTAPPL" statements as shown here for Applid TSOPROD in ACT-Table ACTTEST:
ADD ACTAPPL (ACTTEST TSOPROD)
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTLABEL('TSO P9')))
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTSESS(TSOP9)))
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTTYPE(UNQ)))
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTSTUB(TSP9)))
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTINQ(Y)))
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTACL(TSOSTART)))
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTETEC(BB)))
Be aware of the following when you use this feature:
- When using a blank in a value you need to put the whole string in single quotes.
- Use one UPDATE ACTAPPL statement for one Value for a better overview. You might specify two or three values in one statement as long as the length of one line is not exceeded. In that case a statement looks like
UPDATE ACTAPPL (ACTTEST TSOPROD (ACTSTUB(TSP9) ACTINQ(Y))) - Take care of the correct number of opening and closing brackets!
- A list of all Application Variables is documented on page 132pp of the TPX 5.4 Batch Administration Guide.