Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

%UNS or %INT

Status
Not open for further replies.

thelearner

Programmer
Jan 10, 2004
153
US
Hi,

I want to convert character field that contains a date value to numeric field. Is there any advantage in using
%UNS versus %INT, or they make no different?
 
From the IBM manual:

Unsigned Format:
Integer Format:
So, if there is no possibility of your result being negative, use %UNS, otherwise, stick with %INT.


"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top