------------------------SDT2 ExportLeg--------------------------------------------------------------------------------------------------------------------------------------------------------ObjectName----------------------------------------ObjectType----------------------------------------!%&()LinkEndpoints--------------------------------!%()HeadingText----------------------------------- ExportLeg------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 6--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------()[8(!3 ;FPAR LegId LegType; RETURNS Leg ExportLegType;)]}]}-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------I()[8(!2 Procedure <> ExportLeg)]}----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------H()[(! l! 22!(C)[h(! l)[k(! 6)[n(! 6d! )]][ q(! 6)][&t(! 6! d)[8(! )][z!%()HeadingText-----------------------------------!%()PageOrder-------------------------------------1---------------------------------------------------------------------------------------------------- ------------!%()HeaderText--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------(!RR,!"R,R)[ (! 6,! d)[8(! legID = controllingLegID)][(!^&^&!"&^)[8(!  6?! true)][6(! 6! d)[8(! leg!sigconID := cp!sigConID)][(!"&X&RR!"R&X)[(! 6R!)][ (! 6! d!)[8(! ExportLegReq (legID) to ssf)][(!RxR!"RRx)[(! 6R!Z)][3(! 6! d)[8 (! WaitForSSF)][(!RR@!"R@R)[(! 6@! d!)[8(! ExportLegResp (leg!ssfLegData))][(!RR!"R R)['(! 6! d)[8(! )]]]]][(!"RR'L'L@!"L@R)[+(! 6@! d)[8(! *)]]]]]]]]] [(!RR!"RR)[8(! 6k! false)][ (! 6! d)[8(! call GetLegStatus (legID))][(!&&X!"X&)[8(! 6 ! else)][(! 6~X! d!)[8(!% BCSMStop to call GetLeg_ Ptr(legID))][(!"RRR!"RR)[(! 6R!)][6w(! 6R! d)[8(!) leg!csLegData := cp!passiveLegs (legID))][(!RR!"RR)[6}(! 6! d)[8(!& cp!passiveLegs (legID)!used := false)][(!RLR~!"R~RL)[6(! 6~! d)[8(!: leg!controllingLegStatus := cp!controllingLeg! legStatus)][(!RR!"RR)[)()]]]]]]]]]][(!RXRR!"RRRX)[8(! 6kq! joined)][)w()]]]]]]]]]}(!4!5!7)[!(! 1!!3)]}--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------P()[w(!GSDL)]}-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------