On an EXEC statement that calls a procedure

If an EXEC statement calls a cataloged or in-stream procedure, the ACCT parameter overrides the ACCT parameter on or is added to:
  • The EXEC statement named in the procstepname qualifier. The information applies only to the named procedure step. The EXEC statement can have as many ACCT.procstepname parameters as the procedure has steps; each ACCT parameter must specify a unique procstepname.
  • All EXEC statements in the procedure if procstepname is not coded. Then the information applies to all steps in the called procedure.