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
According to the man page for unzip, this is the description for error code 50: the disk is (or was) full during extraction
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.