dear rick
i tried to use the following code in your book from chapter 9, modifying it for 2 variables. ; however i get an execution error stating the specified distribution is not supported (basically i am trying to simulate correlated normal and lognormal data). what am i doing wrong ? many thanks

call randseed(1);

N = 100;
A = j(N,2); y = j(N,1);
distrib = {"Lognormal" "Norma1"};
do i = 1 to 2;
call randgen (y, distrib[i]);
A[,i] = y;
end;