Skip to main content

CMNEX009 EXIT Doesn't Allow you to Exclude by Application

  • November 7, 2015
  • 2 replies
  • 0 views

Has anyone modified exit 9 (CMNEX009) to exclude adding approver by application? Currently an approver is added whenever libtype equals XYZ. Working as designed. We would like to have exit 9 as I mentioned above also to exclude adding XYZ if application equals ABDC.

Any assistance would be greatly appreciated.

#ChangeManZMF

2 replies

Clark Rogers
  • New Participant
  • 3 replies
  • December 22, 2015
Has anyone modified exit 9 (CMNEX009) to exclude adding approver by application? Currently an approver is added whenever libtype equals XYZ. Working as designed. We would like to have exit 9 as I mentioned above also to exclude adding XYZ if application equals ABDC.

Any assistance would be greatly appreciated.

#ChangeManZMF
If you use this code in your exit, it should work:

CLC IXP$PROJ,=C'DEMO' is this DEMO application?
BE EXIT If DEMO, exit

  • Author
  • Rocketeer
  • 19312 replies
  • December 24, 2015
Has anyone modified exit 9 (CMNEX009) to exclude adding approver by application? Currently an approver is added whenever libtype equals XYZ. Working as designed. We would like to have exit 9 as I mentioned above also to exclude adding XYZ if application equals ABDC.

Any assistance would be greatly appreciated.

#ChangeManZMF
Hi Clark,

Thanks for the reply. When I used the code supplied then tested it out it worked for that application but it affected the other applications by excluding the approval entity.

X09@ADSC DS 0CL78 approver description table
CLC IXP$PROJ,=C'DEMO' is this DEMO application?
BE EXIT if DEMO exit
DC CL3'LD2' library type
DC CL8'CMNDEMOA' security entity name
DC CL32'Online Approver' description
DC AL2(0020) hierarchical order number
DC AL1(X09$BTCH) batch notification vehicle
DC CL32'ONLN-APPROVED@DEMO.COM' user list