Author: balaji81_k
Posted: Thu Oct 20, 2016 3:01 am (GMT 5.5)
Hi Enrico,
I am trying to print 10 along with the SQL query but i am able to see its equivalent only by giving HEX on , can you please advise how to tune this query to print this 10 using DIGITS function?
OUTPUT WITH HEXON:-
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.
Posted: Thu Oct 20, 2016 3:01 am (GMT 5.5)
Hi Enrico,
I am trying to print 10 along with the SQL query but i am able to see its equivalent only by giving HEX on , can you please advise how to tune this query to print this 10 using DIGITS function?
Code: |
SELECT CAST(VARCHAR_FORMAT(CURRENT_DATE,'YYYY.MM.DD') AS CHAR(10)), SUBSTR('|',1,1), CAST(VARCHAR_FORMAT(CURRENT_DATE,'YYYY/MM/DD') AS CHAR(10)), SUBSTR('|',1,1), 10, SUBSTR('|',1,1) FROM SYSIBM.SYSDUMMY1 |
OUTPUT WITH HEXON:-
Code: |
2016.10.19..|2016/10/19..|....| FFFF4FF4FF004FFFF6FF6FF00400004 2016B10B1901F201611011901F000AF |
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.