How to access the first leg of a FX Swap

  • Reto
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 3 months ago #6217 by Reto
Hi All,

How can I access the first leg of a Fx Swap during Input of the 2nd leg?
Or asked differently where is the information of the first leg stored befor the second leg is committed?

Many thanks & Regards

Reto

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #6218 by salah
YOU CAN GET FIRST LEG REFERENCE FROM SWAP.REF.NO FIELD.

Please Log in or Create an account to join the conversation.

  • Reto
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 3 months ago #6226 by Reto
Hi Salah,

I fully agree that I get the ID from the field SWAP.REF.NO, but where can i find the record.
When the 2nd leg of the swap is not committed the first leg is not yet written to the FX$NAU file.
I assume it is stored in the cash, but I was actualy hoping that I will find it somewhere else too.

cheers

Reto

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #6231 by salah
Hi,

You can access this 1st leg reference number form R.NEW<FX.SWAP.REF.NO> record set of 2nd leg ref. If this will not helpful then second solution is you can use last 5 digit of forex id which is sequence no, sequence no in the 2nd leg reference number will always be the next number of 1st leg reference. Subtract one from the sequence no of 2nd leg reference you get the 1st leg reference.

Regards

Salah

Please Log in or Create an account to join the conversation.

  • Reto
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 3 months ago #6232 by Reto

Hi,

You can access this 1st leg reference number form R.NEW<FX.SWAP.REF.NO> record set of 2nd leg ref. If this will not helpful then second solution is you can use last 5 digit of forex id which is sequence no, sequence no in the 2nd leg reference number will always be the next number of 1st leg reference. Subtract one from the sequence no of 2nd leg reference you get the 1st leg reference.

Regards

Salah


Hi Salah,
Thanks, but I know how to get the ID of the first leg, my problem is where to read the record from, then as long the 2nd leg is not committed the first leg is not written to the forex file. so where will i find the record information of the first leg.
Regards
Reto

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #6233 by salah
Reto,

The first leg record become lock until before 2nd leg comit.

Regards

Salah

Please Log in or Create an account to join the conversation.

  • Reto
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 3 months ago #6234 by Reto

Reto,

The first leg record become lock until before 2nd leg comit.

Regards

Salah


agreed, but how can I access the information of the first leg

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #6235 by salah
Dear Reto,

In lock situation you can not access the record.

Regards

Salah

Please Log in or Create an account to join the conversation.

  • Reto
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 3 months ago - 13 years 3 months ago #6236 by Reto

Dear Reto,

In lock situation you can not access the record.

Regards

Salah


so you say that its only available in cash?
then I will need to do a cash read.. :-(
any better ideas are more than welcome..

Thanks
Last edit: 13 years 3 months ago by Reto.

Please Log in or Create an account to join the conversation.

Time to create page: 0.132 seconds