9.220 UNLOAD_FILE_DATA
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.
Arguments
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 |
Return Values
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 |