BookmarkSubscribeRSS Feed
LineMoon
Lapis Lazuli | Level 10

@Kurt_Bremser

Thank you that's very kind from you

intersting, so Please :

- can we use the use command zip for all file with .zip extension  : file.zip ?

  If for some of files with extension .zip , we can not, so how can we identify, if the file was compressed by WinZip or not ?

-  "A fully qualified path name is one that starts at the root directory" as you said

I have used that for a small file, it works, but I get a strainge folder in Small_FilE

If I use this code

filename pipe "unzip /V1/V2/V3/W1/W2  SMALL_FILE -d  /V1/V2/R/L/Small_FILE";

 

I get this strainge directories :

Small_FilE//V1/V2/R/L/Small_FILE

 

 

 

 

Tom
Super User Tom
Super User

Use the -v option to ask it what version of unzip you using.  Contact your system administrator and ask them to give you access to a version that can support files larger than 2Gb.

data _null_;
   infile 'unzip -v' pipe;
   input;
   put _infile_;
run;
LineMoon
Lapis Lazuli | Level 10

@Tom :Thank you for answer.

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 17 replies
  • 3706 views
  • 6 likes
  • 5 in conversation