widowweeds
Programmer
Dear Members,
Can anybody tell what is normally done when a null is retrieved by a fetch into a host variable given that a null indicator has been coded for that host variable and both the variable itself and indicator have been initialized prior to the fetch? Would you normally be content that the variable contains either spaces or zeros and continue on your way or would it be more advisable to check the null indicator for a -1 and abort?
Many thanks for any assistance given.
Can anybody tell what is normally done when a null is retrieved by a fetch into a host variable given that a null indicator has been coded for that host variable and both the variable itself and indicator have been initialized prior to the fetch? Would you normally be content that the variable contains either spaces or zeros and continue on your way or would it be more advisable to check the null indicator for a -1 and abort?
Many thanks for any assistance given.