mirror of
https://github.com/sasjs/core.git
synced 2026-01-18 05:50:06 +00:00
fix: composite PK
This commit is contained in:
5
all.sas
5
all.sas
@@ -2940,7 +2940,10 @@ run;
|
|||||||
data &pkds.4;
|
data &pkds.4;
|
||||||
file &outref mod;
|
file &outref mod;
|
||||||
set &pkds.2(where=(cols="&pkcols" and curds not in (&curdslist)));
|
set &pkds.2(where=(cols="&pkcols" and curds not in (&curdslist)));
|
||||||
line='Ref: "'!!"&curds"!!cats('".(',cols,')')!!' - '!!cats(quote(trim(curds)),'.(',cols,')');
|
line='Ref: "'!!"&curds"
|
||||||
|
!!cats('".(',"%mf_getquotedstr(&pkcols,dlm=%str(,),quote=%str( ))",')')
|
||||||
|
!!' - '
|
||||||
|
!!cats(quote(trim(curds)),'.(',"%mf_getquotedstr(&pkcols,dlm=%str(,),quote=%str( ))",')');
|
||||||
put line;
|
put line;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
|
|||||||
@@ -256,7 +256,10 @@ run;
|
|||||||
data &pkds.4;
|
data &pkds.4;
|
||||||
file &outref mod;
|
file &outref mod;
|
||||||
set &pkds.2(where=(cols="&pkcols" and curds not in (&curdslist)));
|
set &pkds.2(where=(cols="&pkcols" and curds not in (&curdslist)));
|
||||||
line='Ref: "'!!"&curds"!!cats('".(',cols,')')!!' - '!!cats(quote(trim(curds)),'.(',cols,')');
|
line='Ref: "'!!"&curds"
|
||||||
|
!!cats('".(',"%mf_getquotedstr(&pkcols,dlm=%str(,),quote=%str( ))",')')
|
||||||
|
!!' - '
|
||||||
|
!!cats(quote(trim(curds)),'.(',"%mf_getquotedstr(&pkcols,dlm=%str(,),quote=%str( ))",')');
|
||||||
put line;
|
put line;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user