Progress
Language Reference


RAW-TRANSFER Statement

Interfaces
OS
SpeedScript
All
All
Yes

Copies a record wholesale from a source to a target.

SYNTAX

RAW-TRANSFER
  {      [ BUFFER ]  buffer     TO  [ FIELD ]   raw-field
     |   [ FIELD ]   raw-field  TO  [ BUFFER ]  buffer
     |   [ BUFFER ]  buffer     TO  [ BUFFER ]  buffer 
  }
  [ NO-ERROR ] 

BUFFER

Specifies a parameter is a buffer.

buffer

A source or target database record.

NOTE: If the source buffer contains only a partial field list, RAW-TRANSFER fails.

FIELD

Specifies a parameter is a raw-field.

raw-field

A source or target data field of type RAW.

NO-ERROR

Suppresses Progress’s run-time error behavior and stores information on run-time errors, if any, in the ERROR-STATUS system handle.

EXAMPLE

The following Progress 4GL example performs a RAW-TRANSFER of a newly created Customer record to the Record field of Replication-Log table.

TRIGGER PROCEDURE FOR REPLICATION-CREATE OF Customer.
CREATE Replication-Log.
ASSIGN 
  Replication-Log.Taskid = DBTASKID(LDBNAME(BUFFER Replication-Log))
  Replication-Log.Table = ’Customer’
  Replication-Log.Action = ’CREATE’.
RAW-TRANSFER Customer TO Replication-Log.Record. 

For more information on database replication, see the Progress Database Administration Guide and Reference.

NOTES

SEE ALSO

DISABLE TRIGGERS Statement, LDBNAME Function, RECORD-LENGTH Function


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095