How can I get the extraction to put the unzipped file to a specified library/object rather than the UNZIPPED object and drop the .TXT extension?
The CL routine below includes the EXDIR and CVTTYPE parameters that you will need to specify to achieve your desired results. PKUNZIP ARCHIVE(‘PKZ/SSGLTB’) TYPE(*EXTRACT) EXDIR(‘PKZ/TEMP1’) CVTTYPE(*DROP) The SSGLTB.TXT file that was within the archive was extracted without the .TXT extension (CVTTYPE parm) and was placed in the library/object that was specified (EXDIR parm).
The command below includes the EXDIR and CVTTYPE parameters that you will need to specify to achieve your desired results: PKUNZIP ARCHIVE(‘PKZ/SSGLTB’) TYPE(*EXTRACT) EXDIR(‘PKZ/TEMP1’) CVTTYPE(*DROP) The SSGLTB.TXT file that was within the archive was extracted without the .TXT extension (CVTTYPE parm) and was placed in the library/object that was specified (EXDIR parm).
Related Questions
- How can I get the extraction to put the unzipped file to a specified library/object rather than the UNZIPPED object and drop the .TXT extension?
- I unzipped the file, but it ends with a .ecm extension! What do I do with a file like that?
- What is the file extension of the code file & object repository file in QTP?