struct PM_CL_CIL
{
SRVD sd;
string RetroName<NAME_STR>;
int RetroIndex;
long AZ;
long EL;
double X;
double Y;
double Z;
};
PM_CL_CIL p;
p.sd.Name = "zy10"; // address ZY10
p.sd.ErrorMsg = null_str; // Keep XDR lib happy
p.sd.Flags = CL_CIL_BYNAME | CL_CIL_XYZ;
p.RetroName = "ZBG10"; // Name of target
p.X = 12345.67; // Use new coordinates for the
p.Y = 86400.10; // target
p.Z = 180000.00;
CL->rexec(CL_CIL_SVC, (xdrproc_t)xdr_PM_CL_CIL, (char *)&p,
(xdrproc_t)xdr_ZIYRet, (char *)&in, sizeof(ZIYRet));