Re: Image Handling on AS400
It is possible to save images to a database. The proper way is to define a field as a Binary Large OBject or BLOB then you can save any binary file you like to the database. However, I don't know what an RPG program would make of it and I don't know if it's possible if you're using DDS to create your tables.
To satisfy my curiosity I did a search and found this:
Looks like it is possible using DDS after all although I wasn't aware that you had to hard-code a size for a BLOB. It looks like it's slightly different using DDS.
It is possible to save images to a database. The proper way is to define a field as a Binary Large OBject or BLOB then you can save any binary file you like to the database. However, I don't know what an RPG program would make of it and I don't know if it's possible if you're using DDS to create your tables.
To satisfy my curiosity I did a search and found this:
Looks like it is possible using DDS after all although I wasn't aware that you had to hard-code a size for a BLOB. It looks like it's slightly different using DDS.
Comment