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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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