I have a parm being passed in as binary 4,0 I want to compare the field to a fixed value. what is the easiest way in rpgiv. one of the values I am looking for is x'1803'. I have always used z-add to place a binary value into a numeric variable, but it does not seem to be working correctly in this situation TIA, Greg

Reply With Quote