Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTCEE Dependency build unable to resolve a copybook found in SYSLIB but not in the workspace

Hi,

The copybook in ComponentA. is not being resolved while building source in ComponentB.

ComponentA has its own build definition and build workspace.

ComponentB has different, its own build definition and build workspace.

The SYSLIB in the translator does reference the ComponentA copybook PDS in its concatenation list. I thought that should do it. but...

How could this situation be handled ?

com.ibm.team.repository.common.TeamRepositoryException: com.ibm.team.enterprise.dependencyset.common.DependencySetException: CRJZZ0759E The file /CPYLIB_ALL/zOSsrc/CPY/TEAMA.cpy is in a component not included in the workspace.  This file provides a logical dependency required by file TEAMB.cbl.
 at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:1048)
 at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeParticipants(BuildAgentRequestService.java:1019)
 at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.runBuild(BuildAgentRequestService.java:302)
 at sun.reflect.GeneratedMethodAccessor1035.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
 at java.lang.reflect.Method.invoke(Method.java:611)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
 at com.sun.proxy.$Proxy1081.runBuild(Unknown Source)
 at com.ibm.rational.buildforge.buildagent.internal.service.RunBuildCommandTask.transactionSucceeded(RunBuildCommandTask.java:49)
 at sun.reflect.GeneratedMethodAccessor746.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
 at java.lang.reflect.Method.invoke(Method.java:611)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
 at com.sun.proxy.$Proxy1084.transactionSucceeded(Unknown Source)
 at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:997)
 at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:1006)
 at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:185)
 at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:138)
 at java.lang.Thread.run(Thread.java:773)
Caused by: java.util.concurrent.ExecutionException: com.ibm.team.enterprise.dependencyset.common.DependencySetException: CRJZZ0759E The file /CPYLIB_ALL/zOSsrc/CPY/TEAMA.cpy is in a component not included in the workspace.  This file provides a logical dependency required by file TEAMB.cbl.
 at com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(ImpersonationService.java:79)
 at sun.reflect.GeneratedMethodAccessor802.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
 at java.lang.reflect.Method.invoke(Method.java:611)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
 at com.sun.proxy.$Proxy1046.runAs(Unknown Source)
 at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:1037)
 ... 22 more
Caused by: com.ibm.team.enterprise.dependencyset.common.DependencySetException: CRJZZ0759E The file /CPYLIB_ALL/zOSsrc/CPY/TEAMA.cpy is in a component not included in the workspace.  This file provides a logical dependency required by file TEAMB.cbl.
 at com.ibm.team.enterprise.internal.dependencyset.service.utils.LogicalDependencyCalculator.getDependencies(LogicalDependencyCalculator.java:241)
 at com.ibm.team.enterprise.dependencyset.service.AbstractPhysicalDependencyCalculator.getAllPhysicalDependencies(AbstractPhysicalDependencyCalculator.java:99)
 at com.ibm.team.enterprise.dependencyset.service.DependencySetService.doBuildDependencySet(DependencySetService.java:153)
 at com.ibm.team.enterprise.dependencyset.service.DependencySetService.buildDependencySetWithLogging(DependencySetService.java:267)
 at sun.reflect.GeneratedMethodAccessor532.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
 at java.lang.reflect.Method.invoke(Method.java:611)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
 at com.sun.proxy.$Proxy1253.buildDependencySetWithLogging(Unknown Source)
 at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.createDependencySet(BuildableFilesGenerator.java:4332)
 at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.getDependencySet(BuildableFilesGenerator.java:4298)
 at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.updateBuildableFilesWithDependencyBuildData(BuildableFilesGenerator.java:4026)
 at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.fullAnalysis(BuildableFilesGenerator.java:625)
 at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.generateCmds(BuildableFilesGenerator.java:408)
 at com.ibm.team.enterprise.internal.build.preprocess.service.AntDependencyPreBuildAgentParticipant.generateCmds(AntDependencyPreBuildAgentParticipant.java:257)
 at sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
 at java.lang.reflect.Method.invoke(Method.java:611)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
 at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
 at com.sun.proxy.$Proxy2897.generateCmds(Unknown Source)
 at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService$2.run(BuildAgentRequestService.java:1039)
 at com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(ImpersonationService.java:75)
 ... 30 more

Thank you, Ravikanth Chavali

0 votes



One answer

Permanent link
The error says
The file /CPYLIB_ALL/zOSsrc/CPY/TEAMA.cpy is in a component not included in the workspace
Indeed,  your component is not in your build workspace. Therefore we won't be able to resolve it, nor load it.

I think you should add this component to your build workspace.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 562
× 69
× 7

Question asked: Nov 10 '15, 6:39 p.m.

Question was seen: 3,953 times

Last updated: Nov 12 '15, 2:48 p.m.

Confirmation Cancel Confirm