FLAM® Issue Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001027FL52.2 Subprogram FLUC (CONV)public2022-06-08 14:312022-12-30 16:21
ReporterElmar Klausmeier 
Assigned ToFalk Reichbott 
PrioritylowSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformX86OSLINUXOS VersionRHEL
Product Version5.1.24 
Target VersionFixed in Version 
Summary0001027: Need example to unzip ZIP file with multiple files in it
DescriptionI 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001363)
Elmar Klausmeier (reporter)
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.


- Issue History
Date Modified Username Field Change
2022-06-08 14:31 Elmar Klausmeier New Issue
2022-06-08 14:36 Falk Reichbott Assigned To => Falk Reichbott
2022-06-08 14:36 Falk Reichbott Status new => assigned
2022-06-08 14:42 Elmar Klausmeier Note Added: 0001363
2022-06-08 19:51 Elmar Klausmeier Note Edited: 0001363 View Revisions
2022-06-08 19:52 Elmar Klausmeier Note Edited: 0001363 View Revisions
2022-12-30 16:21 Falk Reichbott Status assigned => closed
2022-12-30 16:21 Falk Reichbott Resolution open => fixed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker