I want to update several ACT labels using TPX batch utility but I always get message:
TPBL1050 Mask character - found where not allowed
The labels I want to assign are in the form 'applid - some text'.
The TPX batch default masking character is a hyphen, or dash (-).
If the mask character '-' is part of the input line but you want this to be considered as a normal character you have two options:
1) *recommended* Use the MASKCHAR parameter of the SET statement to specify a different masking character:
-----------------
SET MASKCHAR '!'
UPDATE ACTAPPL (ACTPROD A01TSO
(ACTLABEL ('TSO01 - ASYS PRODUCTION TSO')))
-----------------
2) Set the MASKERLV to zero. Batch continues to process as if the error had not occurred.
You will still get the error message: TPBL1050 Mask character - found where not allowed but it is now only informal.
-----------------
SET MASKERLV '0'
UPDATE ACTAPPL (ACTPROD A01TSO
(ACTLABEL ('TSO01 - ASYS PRODUCTION TSO')))
-----------------