MAINFRAME - TIP OF THE DAY :
Q. If there is a situation, where we need to code more than 255 steps in a JOB?
A. We need to split jcl into two jcls , at the end of the first jcl check the condition code and initiate the second jcl.
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Joined: 27 Mar 2007 Posts: 65 Location: Troy, MI USA
Posted: Wed Oct 24, 2007 9:27 pm Post subject: Cast function
I haven't had to do your requirement before, but I played around with it a little and this seems to work. There may be easier ways to accomplish the same thing. Maybe someone else will chime in with a different way.
HEX(SUBSTR(ORE_RECORD_DATE,5,5) = HEX(CAST(5000 AS DEC(9)))
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum