Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 2 of 2

Thread: RTECALL: filecopy

  1. #1
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,271

    Default RTECALL: filecopy

    Versions
    All

    Purpose
    This function copies all of the data in a collection to another file variable. The dbdict for both the source and target files must exist. Records are added only.

    Syntax
    Code:
    $L.success.flag=rtecall("filecopy", $L.return.code, $L.dbdict.source.name, $L.dbdict.target.name, $L.count, $L.bad)
    • $L.success.flag
      true = success
      false = failure
    • $L.return.code
      returncode of the call
    • $L.dbdict.source.name
      The name of the source dbdict
    • $L.dbdict.target.name
      The name of the target dbdict
    • $L.count
      A count of the number of records successfully moved
    • $L.bad
      A count of the number of errors encountered

    Example
    Code:
    $L.dbdict.source.name="location"
    $L.dbdict.target.name="locationbak"
    $L.success.flag=rtecall("filecopy", $L.return.code, $L.dbdict.source.name, $L.dbdict.target.name, $L.count, $L.bad)
    Returns the "locationbak" file as an exact copy of the "location" file.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  2. #2
    Senior Member eisefr's Avatar
    Join Date
    Nov 2001
    Location
    Germany
    Posts
    538

    Default Re: RTECALL: filecopy

    That I could use to clone a call too I think.

    hmmm...
    Frank

    • If it happens once, it's a bug.
    • If it happens twice, it's a feature.
    • If it happens more than twice, it's a design philosophy.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts