9 248 ZIP_DELETE

LANSA Technical

9.248 ZIP_DELETE

Þ Note: Built-In Function Rules.

Allows files to be deleted from a .zip file (zip -d).

Also See

ZIP Built-In Function Note

For use with

LANSA for i

NO

Visual LANSA for Windows

YES

Visual LANSA for Linux

NO

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Zip file/path name

If no path is specified, the file is assumed to be in the temporary directory.

If file name does not have an extension, .zip will be appended.

1

256

 

 

2

L

Req

Working list containing file names or specifications to delete.

Note: The list is case sensitive. If the filenames or file specifications do not exactly match, the files will not be deleted.

256

256

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return Code

OK = Zip file updated successfully

ER = An error was encountered

NR = No matching files found

2

2