BookmarkSubscribeRSS Feed
MikeToole
Calcite | Level 5

Below is my code and other info,  comand works in "unzip /apps/dataflux/temp/INPUT/Prescription_8_1.zip -d" works in PUTTY.  This code owrk on the previous day but will not work today.  Anyne have any suggestions?

 

string cmdline

integer rc

 

 

//cmdline = "/bin/unzip /apps/dataflux/temp/OUTPUT/reports/vf_arcadia_prescriptions_file_20160912_082352.csv.zip -d /apps/dataflux/temp/OUTPUT/reports/ > /tmp/unzip.txt"

cmdline = "/bin/unzip /apps/dataflux/temp/INPUT/Prescription_8_1.zip -d /"

rc=execute("/usr/bin/bash", "-c", cmdline)

logmessage("### UNZIP rc =" & rc)

 

 

 

79.99 free space on folder

/dev/dataflux01lv     49.91      2.46   96%   107298    15% /apps/dataflux
/dev/dftemp01lv     99.81     79.99   20%     2208     1% /apps/dataflux/temp

 

 

LOG

Loaded job '/apps/dataflux/SASHome/DataFluxDataManagementServer/2.6/dmserver/var/batch_jobs/excellus/vendor/arcadia/unzip_execute_cmdline_input.ddf'.

2016-09-29T10:09:38,559 INFO [ROOT]New state file:(/apps/dataflux/SASHome/DataFluxDataManagementServer/2.6/dmserver/var/server_logs/20160928-13.06-pid8257554__FFCBFD6A/20160929-10.09_unzip_execute_cmdline_input.ddf_BB7AA3/57ED92717B8187A5.wfs)

2016-09-29T10:09:38,569 INFO [ROOT]Setting Execution State: RUNNING, Error message:()

2016-09-29T10:09:38,626 INFO [ROOT]Process Flow - Node DF001 started.

2016-09-29T10:09:38,792 INFO ### UNZIP rc =50

 

1 REPLY 1
andrew_s
SAS Employee

According to the man page for unzip, this is the description for error code 50: the disk is (or was) full during extraction

 

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 connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 974 views
  • 0 likes
  • 2 in conversation