Hello Friends, Is there a way to find out information related to a catalog on "Whether it is a 32 bit catalog or 64 bit catalog"??? I have used one macro supplied by Michel Raithel to get the info. However for few of the catalogs created on AIX Operating System. It is giving the result which is not saying about number of bits. Any response will be greatly appreciated. Case 1 : Work well to say 64 bits for one catalog created on Windows version path filename os 9.0201M0AIX V:\Choudma7_view formats.sas7bcat X64_SR12R2 Case 2 : Donot work for the catalog created on AIX. As it gives the result as version path filename os 9.0201M0AIX V:\Choudma7_view\temp formats.sas7bcat 0AIX The available macro to fetch this information As of now: %macro cat; %if &SYSSCP = WIN %then %let dlm=\; %else %let dlm=/; data catver; retain flag 0; length version $120; infile "&fmt" lrecl=500 truncover; input theline $500.; version_loc = findc(theline,'.'); /*9.0401M4X64_SR12R2 avialble in catalog*/ if version_loc > 0 then do; n=anyalpha(substr(theline,version_loc)); v = substr(theline,version_loc-1); rev=reverse("&fmt"); path=reverse(substr(rev,index(rev,"&dlm")+1)); filename=scan("&fmt",-1,'\/'); if index(v,'6.') then do; pos=index(v,'CATALOG'); pos2=index(v,' '); version=substr(v,1,pos2); os=substr(v,pos+8,12); end; else do; pos=anyalpha(v); version=substr(v,1,pos+1); os=substr(v,pos+2,10); end; if version ne ' ' and flag=0 then do; output; flag=1; end; end; drop theline version_loc rev pos n v flag pos2; run; proc print data=catver; run; %mend cat; %let fmt=V:\Choudma7_view\temp\formats.sas7bcat; /* Provided Input */ %cat ; Thanks and regards, Manoj P. Choudhary
... View more