Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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).

0
10

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.