Question:
Is it possible to use the CA-Spool API from CA-IDMS?
Answer:
Yes however, special consideration must be taken regarding the involved programs.
Instructions:
The CA-Spool interface programs are assembler routines which make SVC calls.
As such, they must not be invoked from a program running inside a CA-IDMS address space with a
Cobol CALL. Doing so will result in T0BE abends (invalid SVC 190). A CA-IDMS TRANSFER CONTROL must be used. The invoked programs must be defined to the CA-IDMS System Generation, and they must have the SAVEAREA attribute.
Additional Information:
https://docops.ca.com/ca-idms-ref/19/en/dml-reference-for-assembler/considerations-for-assembler-programs-in-a-dc-ucf-online-system
https://docops.ca.com/ca-idms-ref/19/en/dml-reference-for-cobol/cobol-data-manipulation-language-dml-statements/transfer-control-cobol
https://docops.ca.com/ca-idms/19/en/using/using-system-generation/system-generation-statements/program-statement-defines-and-associates-a-program
https://docops.ca.com/ca-spool/12-0/en/programming