Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: Convert current to hex value

$
0
0
Author: gopurs
Subject: Convert current to hex value
Posted: Wed Feb 15, 2017 5:40 am (GMT 5.5)

I want to convert the below input file record at position 68 (date field) with current date in the same format

Input
-------
Position 68
ø
00711
2103C

Output (for todays date -02/14/2017)

ø
00724
2101C

I am not sure what to do with my overlay. I want current date in position 68. The output should be like the above if I run it today.

SORT FIELDS=COPY
INREC IFTHEN=(WHEN=(43,02,CH,EQ,C'05',AND,45,04,BI,EQ,X'000C'),
OVERLAY=(68:DATE1 ???))
END


Viewing all articles
Browse latest Browse all 8500

Trending Articles