Good Morning,
I am trying to use for the first time the SAS PROC S3 procedure and it is not working.
I have tryied my SAS code in SAS EG but the software keep on running for a long time.
I have tried to execute my sas code below directly on my Unix server using the command below (log file is after).
What can be done to solve this issue
%include "/.../sasprograms/awsS3bucketcredential.sas";
libname dest1 "/.../data/";
PROC S3 KEYID="&keyID" REGION="®ion" SECRET="&secret." ;
list "&s3bucketname." out=dest1.list;
run;
Partial path is use for safety purpose
nohup sas /.../sasprograms/getS3bucketfilelst.sas
1 The SAS System 10:13 Wednesday, April 24, 2024
NOTE: Copyright (c) 2023 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.4 (TS1M8)
Licensed to INTACT FINANCIAL CORP - PROD, Site 70185735.
NOTE: This session is executing on the Linux 3.10.0-1160.114.2.el7.x86_64 (LIN X64) platform.
NOTE: Analytical products:
SAS/STAT 15.3
NOTE: Additional host information:
Linux LIN X64 3.10.0-1160.114.2.el7.x86_64 #1 SMP Sun Mar 3 08:18:39 EST 2024 x86_64 Red Hat Enterprise Linux Server release 7.9
(Maipo)
You are running SAS 9. Some SAS 8 files will be automatically converted
by the V9 engine; others are incompatible. Please see
http://support.sas.com/rnd/migration/planning/platform/64bit.html
PROC MIGRATE will preserve current SAS file attributes and is
recommended for converting all your SAS libraries from any
SAS 8 release to SAS 9. For details and examples, please see
http://support.sas.com/rnd/migration/index.html
This message is contained in the SAS news file, and is presented upon
initialization. Edit the file "news" in the "misc/base" directory to
display site-specific news and information in the program log.
The command line option "-nonews" will prevent this display.
NOTE: SAS initialization used:
real time 0.01 seconds
cpu time 0.02 seconds
NOTE: AUTOEXEC processing beginning; file is ('/opt/sas94/Agent/esm-agent/sasautos/esmtags.sas'
'/opt/sas94/SASHome/SASFoundation/9.4/autoexec.sas').
SYSPROCESSPATH= /.../sasprograms/getS3bucketfilelst.sas
SYSPROCESSNAME=Program /.../sasprograms/getS3bucketfilelst.sas
SYSPROCEMODE=SAS Batch Mode
NOTE: AUTOEXEC processing completed.
1 %include "/..../sasprograms/awsS3bucketcredential.sas"
1 ! ;
WARNING: The OpenSSL 3 "legacy" provider could not be loaded. Certain functions may not work without ciphers from the "legacy"
provider.
ERROR: Secure communications error status 807ff019 description "10.128.15.239: SSL Error: Invalid subject name in partner's
certificate. Subject name must match machine name."
ERROR: Could not list bucket contents.
ERROR: SSL Error: Invalid subject name in partner's certificate. Subject name must match machine name.
WARNING: The data set DEST1.LIST may be incomplete. When this step was stopped there were 0 observations and 0 variables.
WARNING: Data set DEST1.LIST was not replaced because this step was stopped.
2 The SAS System 10:13 Wednesday, April 24, 2024
ERROR: Errors printed on page 1.
Since this appears to be a secure communications issue it may require sharing information that might not be appropriate for an open forum. I would suggest contacting SAS Tech Support where sharing such would be a bit more secure.
This warning
WARNING: The OpenSSL 3 "legacy" provider could not be loaded. Certain functions may not work without ciphers from the "legacy" provider.
appears to come from code in the included credential file. Which is likely something that should not be shared.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.