ZIP stream file(s) (ZIP)

Type choices, press Enter.

 

Archive path . . . . . . . . . . ARCHIVE

_______________________________

__________________

 

Create / Add to archive . . . . CREATE

*CREATE *CREATE, *ADD

Current directory . . . . . . . CURDIR

_______________________________

_________________

 

From stream file . . . . . . . . FROMSTMF

_______________________________

_______________________________________________________________________________

_______________________________________________________________________________

________________________________________________________________

Work dir, if FROMSTMF is /QDLS

WORKDIR

_______________________________

__________________

 

 

 

 

 

 

 

Bottom

F3=Exit F4=Prompt F5=Refresh

F12=Cancel

F13=How to use this display

F24=More keys

 

 

 

 

 

Archive path This is the path and name of the archive (the zipped file). This must have the extension ‘.zip’.

Create / Add This specifies if you want to add files to the archive. If you select *CREATE the file will be replaced if it already archived.

Current

directory This directory will be added in front of the path stated in ‘From stream file’. This command:

APF3812/ZIP ARCHIVE(‘/ZIPDIR/ARCH1.ZIP’) +

CURDIR(‘/MYDIR’) FROMSTMF(‘/STATEMENT/*’)

This will zip all files in the directory ‘/MYDIR/STATEMENT’ and in the archive the files will be named ‘/STATEMENT/file.ext’.

From stream

fileThis is the path and name of the file(s) to be zipped. If you are zipping file(s) in the folder system (QDLS) this can only hold the file name, the path should be stated in ‘current directory’. Generic names can be used e.g. ‘*’ and ‘A*.*’.

Work

directory If you want to archive files placed in the folder system (QDLS) you need to state a work directory. InterForm400® will create a temporary subdirectory in the work directory called ZIP_nnnnnn, where nnnnnn is the jobnumber, which is removed before the command ends.

Other Utility Commands

The Edit Print Command

The APF3812/APFEDTPRT command makes it possible to edit a spool entry before merging with an overlay.

User’s Manual for InterForm400® 413

Page 413
Image 413
Intermate iSeries, i5, AS/400 manual Other Utility Commands, Edit Print Command, Current, From stream, Work