FLAM Issue Tracker - FL5
View Issue Details
0001027FL52.2 Subprogram FLUC (CONV)public2022-06-08 14:312022-12-30 16:21
Elmar Klausmeier 
Falk Reichbott 
lowminorN/A
closedfixed 
X86LINUXRHEL
5.1.24 
 
0001027: Need example to unzip ZIP file with multiple files in it
I am looking for an example JCL so that I can unzip a ZIP file, which contains 10 files in it.

For example, ZIP file contains
1. File_1.txt
2. File_2.txt
...
10. File_10.txt

ZIP file is created on Linux. Host FLAM version is Build: 5.1.24-28795.

Many thanks in advance.
No tags attached.
Issue History
2022-06-08 14:31Elmar KlausmeierNew Issue
2022-06-08 14:36Falk ReichbottAssigned To => Falk Reichbott
2022-06-08 14:36Falk ReichbottStatusnew => assigned
2022-06-08 14:42Elmar KlausmeierNote Added: 0001363
2022-06-08 19:51Elmar KlausmeierNote Edited: 0001363bug_revision_view_page.php?bugnote_id=1363#r466
2022-06-08 19:52Elmar KlausmeierNote Edited: 0001363bug_revision_view_page.php?bugnote_id=1363#r467
2022-12-30 16:21Falk ReichbottStatusassigned => closed
2022-12-30 16:21Falk ReichbottResolutionopen => fixed

Notes
(0001363)
Elmar Klausmeier   
2022-06-08 14:42   
(edited on: 2022-06-08 19:52)
ZIP file is created on Linux, then transfered in binary format to mainframe using some file-transfer program (not relevant for the problem here). So JCL sees PS file and can work with the ZIP file.

I got my example. I am now using:

//FLCLCONV EXEC PGM=FLCL,REGION=0M,PARM='CONV'
//STEPLIB DD DISP=SHR,DSN=SYS3.FLAM.LOAD
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//STDENV DD *
LANG=de_DE.IBM1141
FLM_SAF_LOG=OFF
//ARCHIN DD DISP=SHR,DSN=EH2KLRQ.FLAMTST.ZIP
//FLAMPAR DD *
read.text(file=DD:ARCHIN/?*)
write.record(file='EH2KLRQ.FLAMOUT.[base]' ccsid=1141)
//

Unfortunately, I was not able to test this with the demo FLAM program 5.1 on Linux.

Please consider this issue solved.