After spending some time setting up my workbench and trying out various wok commands, I tried to create my own package in CDL. I was immediately confronted with the problem of making the OCC packages accessible from my WB. I gather that the unimplemented 'pinstall' is intended for that purpose. The method that I'm using may not be optimal (there's probably an easier way), involves three steps but it does get the job done. I'll use Standard as an example:
In wok, navigate to your wb home. Isse the command:
ucreate -p Standard
Navigate to the same directory in a unix shell program and issue these commands:
ln -s $CASROOT/src/Standard
Back in woksh:
umake -e xcpp
If all goes well you can now reference Standard with the 'uses' keyword in your own cdl.
I've done this for only a selected few of the numerous packages, but it has worked well for all of them so far - though some require that prerequisites be loaded first. For instance gp requires TCollection which requires TColStd which in turn requires MMgt. If anyone knows of a better way to do this I would appreciate your enlightenment! I found it extremely convenient that the OCAF manual contains code for a transformation container. I cut and paste it, very handy.