Write directly a record in a table

Posted by

WRITE “R.RECORD” TO “F.TABLE.NAME”, “RECORD.KEY”

Example :

  FN.DX.MARKET.PRICE = "F.DX.MARKET.PRICE"
  F.DX.MARKET.PRICE = ""
  CALL OPF(FN.DX.MARKET.PRICE, F.DX.MARKET.PRICE)  
(...)
  WRITE R.DX.MKT.PRICE TO F.DX.MARKET.PRICE, DX.MARKET.PRICE.KEY ON ERROR 
  PRINT "ERROR, COULD NOT WRITE"
  END

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.