Author: balaji81_k
Subject: Low values Results from VARCHAR FORMAT
Posted: Thu Oct 20, 2016 1:18 am (GMT 5.5)
Hi Everyone,
I apologize for my last post as i didnt furnish complete Query in it , but this time i have tested SIMPLE query on VARCHAR FORMAT and i found low values
resulted from the below one
Output file with HEX ON:-
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.
Subject: Low values Results from VARCHAR FORMAT
Posted: Thu Oct 20, 2016 1:18 am (GMT 5.5)
Hi Everyone,
I apologize for my last post as i didnt furnish complete Query in it , but this time i have tested SIMPLE query on VARCHAR FORMAT and i found low values
resulted from the below one
Code: |
SELECT CAST(VARCHAR_FORMAT(CURRENT_DATE,'YYYY.MM.DD') AS CHAR(10)), '|', CAST(VARCHAR_FORMAT(CURRENT_DATE,'YYYY/MM/DD') AS CHAR(10)), '|' FROM SYSIBM.SYSDUMMY1 |
Output file with HEX ON:-
Code: |
2016.10.19..|2016/10/19..| FFFF4FF4FF004FFFF6FF6FF004 2016B10B1901F201611011901F |
_________________
dear peoples,
i want to join these this group in order to
enrich my knowledge in mainframe.