Hi All, Is it possible to extract the BLOB (Binary large objects) data from database (DB2/ORACLE/POSTGRES) and convert it into the actual file either it is pdf/excel/word or jpg using SAS Code? I have tried to write the code and I am able to extract the BLOB into actual file where the BLOB length is less than 32767 however for some records the length is greater than 3L so in those cases i have created multiple variables of max length that SAS supports and concatenated these variables while writting to the output file stream. Still the file generated as corrupt. If anyone of you had faced the similar kind of issue and got the solution already please provide your inputs it will be very helpful. Thanks and Regards, Darshan Saini
... View more