Replacing transaction names
Sample statements to replace a transaction name
In Assembler:
MVI CUEXCNTL,C'N' Indicate you want to replace a transaction
MVC CUEXDATA,transactionname Give it your user data
LA R1,CUEXCNTL Pass parameters to CMRCUEX
L R15,=V(CMRCUEX) Get addr of CMRCUEX from linkage editor
BALR R14,R15 Transfer control to CMRCUEX
In COBOL:
MOVE 'N' TO CUEX-INIT-TERM-OR-USER-CALL
MOVE tranid TO CUEX-USER-DATA
CALL 'CMRCCUEX' USING CMRCUEX-PARAMETERS.
MVI CUEXCNTL,C'N' Indicate you want to replace a transaction
MVC CUEXDATA,transactionname Give it your user data
LA R1,CUEXCNTL Pass parameters to CMRCUEX
L R15,=V(CMRCUEX) Get addr of CMRCUEX from linkage editor
BALR R14,R15 Transfer control to CMRCUEX
In COBOL:
MOVE 'N' TO CUEX-INIT-TERM-OR-USER-CALL
MOVE tranid TO CUEX-USER-DATA
CALL 'CMRCCUEX' USING CMRCUEX-PARAMETERS.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*