Keep these notes in mind when using the OPSUBMIT function:
All lines and variables are either truncated or extended to a length of 80 bytes.
OPSUBMIT returns a value that reflects the number of JCL lines that were submitted.
The OPSUBMIT function cannot be used in any AOF rule. If you use OPSUBMIT in an AOF rule, the function is treated as a null operation and it returns a null string.
When used in the SUB-MSTR OSF environment, the OSFGETJOBID parameter must be set to YES to use OPSUBMIT.