| Note: Built-In Function Rules Usage Options |
Will call the OAM for the requested file and unload all its data to the flat file specified. If the flat file specified already exists it will be overwritten.
| This Built-In Function expects to be executed on the same machine as the OAM. Both the BIF and the OAM need to access the output file. If you execute the BIF from a local Function but redirect the File to SuperServer, it is your responsibility to ensure that the output filename is valid on both the client and the server. |
No. | Type | Req/Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | The LANSA File Name | 1 | 10 | ||
2 | A | Opt | Output File Path/Name Default Value = ....\X_ppp\source\<File Name>.dat | 1 | 256 | ||
3 | A | Opt | Y\N Check for OAM Default = N | 1 | 1 | ||
4 | A | Opt | Unload BLOB and CLOB fields. | 1 | 1 | ||
5 | A | Opt | Perform a Commit to release any database locks that the database may leave as part of this operation. Default = N, for backward compatibility. Sybase leaves a database table locked at the end of this operation. This blocks dropping the table. Set this value to Y to release the database table lock so that the table can be dropped, for example, by REBUILD_FILE. | 1 | 1 | ||
6 | A | Opt | CTD Location Level Default is A. | 1 | 1 |
No. | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Return Code: NO only returned when input option 3 is set to Y. | 2 | 2 | ||
2 | L | Opt | Working list of files created for unloaded BLOB and CLOB files | 256 | 256 |