Write properly a record in a table (CALL F.WRITE)

Posted by

CALL F.WRITE (FN.TABLE.NAME, RECORD.ID, R.RECORD)

Example :

  FN.FILENAME = 'F.FILENAME' ; 
  FV.FILENAME = ''
  CALL OPF(FN.FILENAME, FV.FILENAME)

     R.RECORD<DX.CM.FIELD1> = 'TOTO'
     R.RECORD<DX.CM.FIELD2> = 'TUTU'
     R.RECORD<DX.CM.FIELD3> = 'TITI'

 CALL F.WRITE(FN.FILENAME, RECORD.ID, R.RECORD)
 CALL JOURNAL.UPDATE(RECORD.ID)

Leave a Reply

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