Hi,
I am writing a TSO Rexx Exec to Parse fields from a DCOLLECT output (VB/32756/32760).
One statement is: created=C2x(Substr(dcollect.i,105,4))
(In DCOLLECT parlance, this is DCDCREDT).
For any date greater than 2000-01-01, I get the expected result.
But, when the field contains x'1999160F' (I BROWSEd the DCOLLECT output to make sure), "created" has the value "19D9160F". I'm stumped.  (The third character in the result is "D" (as in "Dog"), instead of "9").
I'm using PCOMM (in case that matters.)
Please help.

Thank you in advance.

Regards,
David






----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to