SAS EG: SAS Dataset is locked by opening it from EG. Need a resolution -
one of critical sas dataset left open sas enterprise guide, our offshore associate. depending on dataset many updates through various jobs. tried searching option various sites unlock dataset, of no use. kindly provide suggestion. thanks.
depending on of specifics of situation, option prevent anyone locking in first place using pw=
dataset option like:
data myimportanttable(pw=pass123); x=1;output; run;
then create view allows eg users click , see underlying data, not lock original dataset:
proc sql; create view myimportanttable_view select * myimportanttable(read=pass123) ;quit;
now inserts, updates etc work if view opened user in eg:
*this work if view opened in eg; proc sql; insert myimportanttable(pw=pass123) values(101) ;quit;
note not option if you've got lot of different insert/update statements spread throughout program - each of them need (pw=...)
dataset option added them in order work.
Comments
Post a Comment