There's a thing called DCOLREXX here - 
https://www.ibm.com/docs/en/zos/2.4.0?topic=tools-arctools-job-sample-tool-members
Don't know if it'll meet your exact needs, but REXX parsers for DCOL data are 
already out there.

- KB

------- Original Message -------
On Monday, April 24th, 2023 at 8:40 PM, David Spiegel 
<00000468385049d1-dmarc-requ...@listserv.ua.edu> wrote:


> 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

----------------------------------------------------------------------
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