ExporttoFlatFile

Export to Flat File

Minor Business Rule

Object Name: B0500025

Parent DLL: CFND

Location: Client/Server

Language: C

Functional Description
The function accepts two input parameters, the record and file name and returns status.


Purpose

To create flat file that collects records that will be later exported to another database.


Setup Notes and Prerequisites

The path for the output file must exist.


Special Logic




Technical Specification

First the file is opened in append mode or it's created if it doesn't exist. Then the record is 

written into the file, new line character will not be added automatically it has to be included in the 

record. On the end the file is closed and return status is returned.

Data Structure

D0500025 - Export to Flat File

Parameter NameData ItemData TypeReq/OptI/O/Both
szRecordVAR1charOPTINPUT

Variable length field used in Univeral File Converter Export Utility.

szPathEFRMcharREQINPUT

A narrative explanation of what special processing logic will be performed.

cStatusSTAcharOPTOUTPUT

A user defined code (05/CR) that indicates the progress that the employee has made toward a level of proficiency in a particular 
competency. For example, for certification competencies, you might define a status, Pending, to indicate that the employee has completed a 
certification test but has not yet received his or her test scores.

Related Functions

None

Related Tables

None