1.Functional Description
1.1Purpose
This business function closes a flat (text) file that has been opened by Flat File Operations Open
File (in the same source).
2.Technical Specifications
2.4Processing
1.Retrieve the file pointer using jdeRetrieveDataPtr with the idFilePtr as input.
2.Close the file
^
D34A1010C - Flat File Operations - Close File
Data Item Data Structure Description I/O Required Notes
SUPPS cSuppressErrorMessage I Input '1' if you don't want the
business function to set any errors
ERRC cErrorCode O '1' if there are errors, '0' otherwise
DTAI szErrorMessageId O Error code to be set, if any
GENLNG idFilePtr I Y ID of the stored file pointer.
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cSuppressErrorMessage | SUPPS | char | OPT | INPUT |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
cErrorCode | ERRC | char | OPT | OUTPUT |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMessageId | DTAI | char | OPT | OUTPUT |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
idFilePtr | GENLNG | ID | REQ | INPUT |
General purpose ID variable. |
None |
None |