diff --git a/all.sas b/all.sas index ca9f62c..abb49dd 100644 --- a/all.sas +++ b/all.sas @@ -11331,8 +11331,8 @@ run; @param path= The full path of the folder to be created @param access_token_var= The global macro variable to contain the access token - @param grant_type= valid values are "password" or "authorization_code" (unquoted). - The default is authorization_code. + @param grant_type= (authorization_code) Valid values are "password" or + "authorization_code" (unquoted). @version VIYA V.03.04 @@ -11361,7 +11361,6 @@ run; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services ) @@ -11407,12 +11406,15 @@ options noquotelenmax; %local libref1; %let libref1=%mf_getuniquelibref(); libname &libref1 JSON fileref=&fname1; - %mp_abort(iftrue=(&SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 404) + %mp_abort( + iftrue=( + &SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 404 + ) ,mac=&sysmacroname ,msg=%str(&SYS_PROCHTTP_STATUS_CODE &SYS_PROCHTTP_STATUS_PHRASE) ) %if &SYS_PROCHTTP_STATUS_CODE=200 %then %do; - %put &sysmacroname &newpath exists so grab the follow on link ; + %*put &sysmacroname &newpath exists so grab the follow on link ; data _null_; set &libref1..links; if rel='createChild' then @@ -11544,7 +11546,6 @@ https://go.documentation.sas.com/?docsetId=calcontexts&docsetTarget=n1hjn8eobk5p %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; /* initial validation checking */ %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password @@ -11863,7 +11864,6 @@ https://go.documentation.sas.com/?docsetId=calcontexts&docsetTarget=n1hjn8eobk5p %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; /* initial validation checking */ %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password @@ -12647,7 +12647,7 @@ libname &libref1a clear; %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; + %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services ) @@ -12789,7 +12789,7 @@ libname &libref1a clear; %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; + %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services ) @@ -13215,7 +13215,7 @@ libname &libref1 clear; %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; + %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services ) diff --git a/viya/mv_createfolder.sas b/viya/mv_createfolder.sas index 582ac66..2af60f0 100644 --- a/viya/mv_createfolder.sas +++ b/viya/mv_createfolder.sas @@ -9,8 +9,8 @@ @param path= The full path of the folder to be created @param access_token_var= The global macro variable to contain the access token - @param grant_type= valid values are "password" or "authorization_code" (unquoted). - The default is authorization_code. + @param grant_type= (authorization_code) Valid values are "password" or + "authorization_code" (unquoted). @version VIYA V.03.04 @@ -39,7 +39,6 @@ %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services ) @@ -85,12 +84,15 @@ options noquotelenmax; %local libref1; %let libref1=%mf_getuniquelibref(); libname &libref1 JSON fileref=&fname1; - %mp_abort(iftrue=(&SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 404) + %mp_abort( + iftrue=( + &SYS_PROCHTTP_STATUS_CODE ne 200 and &SYS_PROCHTTP_STATUS_CODE ne 404 + ) ,mac=&sysmacroname ,msg=%str(&SYS_PROCHTTP_STATUS_CODE &SYS_PROCHTTP_STATUS_PHRASE) ) %if &SYS_PROCHTTP_STATUS_CODE=200 %then %do; - %put &sysmacroname &newpath exists so grab the follow on link ; + %*put &sysmacroname &newpath exists so grab the follow on link ; data _null_; set &libref1..links; if rel='createChild' then diff --git a/viya/mv_createjob.sas b/viya/mv_createjob.sas index 2411526..4186cff 100644 --- a/viya/mv_createjob.sas +++ b/viya/mv_createjob.sas @@ -72,7 +72,6 @@ https://go.documentation.sas.com/?docsetId=calcontexts&docsetTarget=n1hjn8eobk5p %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; /* initial validation checking */ %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password diff --git a/viya/mv_createwebservice.sas b/viya/mv_createwebservice.sas index 770dec4..7e5f712 100644 --- a/viya/mv_createwebservice.sas +++ b/viya/mv_createwebservice.sas @@ -83,7 +83,6 @@ https://go.documentation.sas.com/?docsetId=calcontexts&docsetTarget=n1hjn8eobk5p %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; /* initial validation checking */ %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password diff --git a/viya/mv_deletejes.sas b/viya/mv_deletejes.sas index 3759d8f..a4a5138 100644 --- a/viya/mv_deletejes.sas +++ b/viya/mv_deletejes.sas @@ -44,7 +44,7 @@ %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; + %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services ) diff --git a/viya/mv_deleteviyafolder.sas b/viya/mv_deleteviyafolder.sas index 2b5e640..e700b68 100644 --- a/viya/mv_deleteviyafolder.sas +++ b/viya/mv_deleteviyafolder.sas @@ -39,7 +39,7 @@ %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; + %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services ) diff --git a/viya/mv_getgroupmembers.sas b/viya/mv_getgroupmembers.sas index d715b8c..302319e 100644 --- a/viya/mv_getgroupmembers.sas +++ b/viya/mv_getgroupmembers.sas @@ -54,7 +54,7 @@ %let oauth_bearer=oauth_bearer=sas_services; %let &access_token_var=; %end; -%put &sysmacroname: grant_type=&grant_type; + %mp_abort(iftrue=(&grant_type ne authorization_code and &grant_type ne password and &grant_type ne sas_services )