BookmarkSubscribeRSS Feed
Aman4SAS
Obsidian | Level 7

please me read .gz file.

as per my knowledge i ahve tried to write correct code.

Please suggest me

PFA

3 REPLIES 3
MohammadFayaz
Calcite | Level 5

Why don't you convert it ?

Tom
Super User Tom
Super User

Check with the support for your local system.  Note that the zcat command is for files compressed using the compress command (those normally end with .Z) Try using gunzip with the -c option to pipe the results.

Doc_Duke
Rhodochrosite | Level 12

You appear to have a *nix compressed file (.gz extension is created by the gzip command in *nix) on a Windows system ("\" in file name).

To read this on the PC with a pipe, you will need to install a PC version of gunzip or 7zip and configure the environment variables to find the command.

If this is a one-off, it will be easier to do it interactively and store the uncompressed file.  (Of note, a Windows file compressed using the OS takes about the same space on the disk drive as a .gz or .zip file.)

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 3 replies
  • 1806 views
  • 0 likes
  • 4 in conversation