Service Program creation issue
Page 1 of 1
Service Program creation issue
Q: I have service programs SrvPgm1, SrvPgm2, and SrvPgm3. SrvPgm1 references procedures
in SrvPgm2 and SrvPgm3. Normally, I would create service programs SrvPgm2 and SrvPgm3
to make their procedures available and then create service program SrvPgm1. However,
in this case, SrvPgm2 and SrvPgm3 also reference procedures in SrvPgm1. Therein lies
the chicken and the egg. To create SrvPgm1, I must first create SrvPgm2 and SrvPgm3;
to create SrvPgm2 and SrvPgm3, I must first create SrvPgm1!
Please let me know so that I can get these service programs compiled?
Ans:
Here's how we can solve the issue:
1. Create SrvPgm1 with Option(*UnrslvRef).
2. Create SrvPgm2 and SrvPgm3.
3. Recreate SrvPgm1 and do not specify Option(*UnrslvRef).
Thanks to Barbara Morris
in SrvPgm2 and SrvPgm3. Normally, I would create service programs SrvPgm2 and SrvPgm3
to make their procedures available and then create service program SrvPgm1. However,
in this case, SrvPgm2 and SrvPgm3 also reference procedures in SrvPgm1. Therein lies
the chicken and the egg. To create SrvPgm1, I must first create SrvPgm2 and SrvPgm3;
to create SrvPgm2 and SrvPgm3, I must first create SrvPgm1!
Please let me know so that I can get these service programs compiled?
Ans:
Here's how we can solve the issue:
1. Create SrvPgm1 with Option(*UnrslvRef).
2. Create SrvPgm2 and SrvPgm3.
3. Recreate SrvPgm1 and do not specify Option(*UnrslvRef).
Thanks to Barbara Morris
Similar topics
» Lower level program error handled in Higher level program
» Is that valid in CL program?
» Module Vs Program
» What is the use of EXIT POINT program?
» Program Temporary Fix
» Is that valid in CL program?
» Module Vs Program
» What is the use of EXIT POINT program?
» Program Temporary Fix
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|